@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
@@ -1,4086 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum AddonIssueCode {
4
- ACCESS_DENIED = "AccessDenied",
5
- ADMISSION_REQUEST_DENIED = "AdmissionRequestDenied",
6
- CLUSTER_UNREACHABLE = "ClusterUnreachable",
7
- CONFIGURATION_CONFLICT = "ConfigurationConflict",
8
- INSUFFICIENT_NUMBER_OF_REPLICAS = "InsufficientNumberOfReplicas",
9
- INTERNAL_FAILURE = "InternalFailure",
10
- K8S_RESOURCE_NOT_FOUND = "K8sResourceNotFound",
11
- UNSUPPORTED_ADDON_MODIFICATION = "UnsupportedAddonModification",
12
- }
13
-
14
- /**
15
- * <p>An issue related to an add-on.</p>
16
- */
17
- export interface AddonIssue {
18
- /**
19
- * <p>A code that describes the type of issue.</p>
20
- */
21
- code?: AddonIssueCode | string;
22
-
23
- /**
24
- * <p>A message that provides details about the issue and what might cause it.</p>
25
- */
26
- message?: string;
27
-
28
- /**
29
- * <p>The resource IDs of the issue.</p>
30
- */
31
- resourceIds?: string[];
32
- }
33
-
34
- export namespace AddonIssue {
35
- /**
36
- * @internal
37
- */
38
- export const filterSensitiveLog = (obj: AddonIssue): any => ({
39
- ...obj,
40
- });
41
- }
42
-
43
- /**
44
- * <p>The health of the add-on.</p>
45
- */
46
- export interface AddonHealth {
47
- /**
48
- * <p>An object that represents the add-on's health issues.</p>
49
- */
50
- issues?: AddonIssue[];
51
- }
52
-
53
- export namespace AddonHealth {
54
- /**
55
- * @internal
56
- */
57
- export const filterSensitiveLog = (obj: AddonHealth): any => ({
58
- ...obj,
59
- });
60
- }
61
-
62
- export type AddonStatus =
63
- | "ACTIVE"
64
- | "CREATE_FAILED"
65
- | "CREATING"
66
- | "DEGRADED"
67
- | "DELETE_FAILED"
68
- | "DELETING"
69
- | "UPDATING";
70
-
71
- /**
72
- * <p>An Amazon EKS add-on.</p>
73
- */
74
- export interface Addon {
75
- /**
76
- * <p>The name of the add-on.</p>
77
- */
78
- addonName?: string;
79
-
80
- /**
81
- * <p>The name of the cluster.</p>
82
- */
83
- clusterName?: string;
84
-
85
- /**
86
- * <p>The status of the add-on.</p>
87
- */
88
- status?: AddonStatus | string;
89
-
90
- /**
91
- * <p>The version of the add-on.</p>
92
- */
93
- addonVersion?: string;
94
-
95
- /**
96
- * <p>An object that represents the health of the add-on.</p>
97
- */
98
- health?: AddonHealth;
99
-
100
- /**
101
- * <p>The Amazon Resource Name (ARN) of the add-on.</p>
102
- */
103
- addonArn?: string;
104
-
105
- /**
106
- * <p>The date and time that the add-on was created.</p>
107
- */
108
- createdAt?: Date;
109
-
110
- /**
111
- * <p>The date and time that the add-on was last modified.</p>
112
- */
113
- modifiedAt?: Date;
114
-
115
- /**
116
- * <p>The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes service account used
117
- * by the add-on.</p>
118
- */
119
- serviceAccountRoleArn?: string;
120
-
121
- /**
122
- * <p>The metadata that you apply to the add-on to assist with categorization and
123
- * organization. Each tag consists of a key and an optional value, both of which you
124
- * define. Add-on tags do not propagate to any other resources associated with the cluster.
125
- * </p>
126
- */
127
- tags?: { [key: string]: string };
128
- }
129
-
130
- export namespace Addon {
131
- /**
132
- * @internal
133
- */
134
- export const filterSensitiveLog = (obj: Addon): any => ({
135
- ...obj,
136
- });
137
- }
138
-
139
- /**
140
- * <p>Compatibility information.</p>
141
- */
142
- export interface Compatibility {
143
- /**
144
- * <p>The supported Kubernetes version of the cluster.</p>
145
- */
146
- clusterVersion?: string;
147
-
148
- /**
149
- * <p>The supported compute platform.</p>
150
- */
151
- platformVersions?: string[];
152
-
153
- /**
154
- * <p>The supported default version.</p>
155
- */
156
- defaultVersion?: boolean;
157
- }
158
-
159
- export namespace Compatibility {
160
- /**
161
- * @internal
162
- */
163
- export const filterSensitiveLog = (obj: Compatibility): any => ({
164
- ...obj,
165
- });
166
- }
167
-
168
- /**
169
- * <p>Information about an add-on version.</p>
170
- */
171
- export interface AddonVersionInfo {
172
- /**
173
- * <p>The version of the add-on.</p>
174
- */
175
- addonVersion?: string;
176
-
177
- /**
178
- * <p>The architectures that the version supports.</p>
179
- */
180
- architecture?: string[];
181
-
182
- /**
183
- * <p>An object that represents the compatibilities of a version.</p>
184
- */
185
- compatibilities?: Compatibility[];
186
- }
187
-
188
- export namespace AddonVersionInfo {
189
- /**
190
- * @internal
191
- */
192
- export const filterSensitiveLog = (obj: AddonVersionInfo): any => ({
193
- ...obj,
194
- });
195
- }
196
-
197
- /**
198
- * <p>Information about an add-on.</p>
199
- */
200
- export interface AddonInfo {
201
- /**
202
- * <p>The name of the add-on.</p>
203
- */
204
- addonName?: string;
205
-
206
- /**
207
- * <p>The type of the add-on.</p>
208
- */
209
- type?: string;
210
-
211
- /**
212
- * <p>An object that represents information about available add-on versions and compatible
213
- * Kubernetes versions.</p>
214
- */
215
- addonVersions?: AddonVersionInfo[];
216
- }
217
-
218
- export namespace AddonInfo {
219
- /**
220
- * @internal
221
- */
222
- export const filterSensitiveLog = (obj: AddonInfo): any => ({
223
- ...obj,
224
- });
225
- }
226
-
227
- export type AMITypes = "AL2_ARM_64" | "AL2_x86_64" | "AL2_x86_64_GPU" | "CUSTOM";
228
-
229
- /**
230
- * <p>Identifies the Key Management Service (KMS) key used to encrypt the secrets.</p>
231
- */
232
- export interface Provider {
233
- /**
234
- * <p>Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, created in the same
235
- * region as the cluster, and if the KMS key was created in a different account, the user
236
- * must have access to the KMS key. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html">Allowing
237
- * Users in Other Accounts to Use a KMS key</a> in the <i>Key Management Service
238
- * Developer Guide</i>.</p>
239
- */
240
- keyArn?: string;
241
- }
242
-
243
- export namespace Provider {
244
- /**
245
- * @internal
246
- */
247
- export const filterSensitiveLog = (obj: Provider): any => ({
248
- ...obj,
249
- });
250
- }
251
-
252
- /**
253
- * <p>The encryption configuration for the cluster.</p>
254
- */
255
- export interface EncryptionConfig {
256
- /**
257
- * <p>Specifies the resources to be encrypted. The only supported value is "secrets".</p>
258
- */
259
- resources?: string[];
260
-
261
- /**
262
- * <p>Key Management Service (KMS) key. Either the ARN or the alias can be used.</p>
263
- */
264
- provider?: Provider;
265
- }
266
-
267
- export namespace EncryptionConfig {
268
- /**
269
- * @internal
270
- */
271
- export const filterSensitiveLog = (obj: EncryptionConfig): any => ({
272
- ...obj,
273
- });
274
- }
275
-
276
- export interface AssociateEncryptionConfigRequest {
277
- /**
278
- * <p>The name of the cluster that you are associating with encryption configuration.</p>
279
- */
280
- clusterName: string | undefined;
281
-
282
- /**
283
- * <p>The configuration you are using for encryption.</p>
284
- */
285
- encryptionConfig: EncryptionConfig[] | undefined;
286
-
287
- /**
288
- * <p>The client request token you are using with the encryption configuration.</p>
289
- */
290
- clientRequestToken?: string;
291
- }
292
-
293
- export namespace AssociateEncryptionConfigRequest {
294
- /**
295
- * @internal
296
- */
297
- export const filterSensitiveLog = (obj: AssociateEncryptionConfigRequest): any => ({
298
- ...obj,
299
- });
300
- }
301
-
302
- export enum ErrorCode {
303
- ACCESS_DENIED = "AccessDenied",
304
- ADMISSION_REQUEST_DENIED = "AdmissionRequestDenied",
305
- CLUSTER_UNREACHABLE = "ClusterUnreachable",
306
- CONFIGURATION_CONFLICT = "ConfigurationConflict",
307
- ENI_LIMIT_REACHED = "EniLimitReached",
308
- INSUFFICIENT_FREE_ADDRESSES = "InsufficientFreeAddresses",
309
- INSUFFICIENT_NUMBER_OF_REPLICAS = "InsufficientNumberOfReplicas",
310
- IP_NOT_AVAILABLE = "IpNotAvailable",
311
- K8S_RESOURCE_NOT_FOUND = "K8sResourceNotFound",
312
- NODE_CREATION_FAILURE = "NodeCreationFailure",
313
- OPERATION_NOT_PERMITTED = "OperationNotPermitted",
314
- POD_EVICTION_FAILURE = "PodEvictionFailure",
315
- SECURITY_GROUP_NOT_FOUND = "SecurityGroupNotFound",
316
- SUBNET_NOT_FOUND = "SubnetNotFound",
317
- UNKNOWN = "Unknown",
318
- UNSUPPORTED_ADDON_MODIFICATION = "UnsupportedAddonModification",
319
- VPC_ID_NOT_FOUND = "VpcIdNotFound",
320
- }
321
-
322
- /**
323
- * <p>An object representing an error when an asynchronous operation fails.</p>
324
- */
325
- export interface ErrorDetail {
326
- /**
327
- * <p>A brief description of the error. </p>
328
- * <ul>
329
- * <li>
330
- * <p>
331
- * <b>SubnetNotFound</b>: We couldn't find one of the
332
- * subnets associated with the cluster.</p>
333
- * </li>
334
- * <li>
335
- * <p>
336
- * <b>SecurityGroupNotFound</b>: We couldn't find one
337
- * of the security groups associated with the cluster.</p>
338
- * </li>
339
- * <li>
340
- * <p>
341
- * <b>EniLimitReached</b>: You have reached the elastic
342
- * network interface limit for your account.</p>
343
- * </li>
344
- * <li>
345
- * <p>
346
- * <b>IpNotAvailable</b>: A subnet associated with the
347
- * cluster doesn't have any free IP addresses.</p>
348
- * </li>
349
- * <li>
350
- * <p>
351
- * <b>AccessDenied</b>: You don't have permissions to
352
- * perform the specified operation.</p>
353
- * </li>
354
- * <li>
355
- * <p>
356
- * <b>OperationNotPermitted</b>: The service role
357
- * associated with the cluster doesn't have the required access permissions for
358
- * Amazon EKS.</p>
359
- * </li>
360
- * <li>
361
- * <p>
362
- * <b>VpcIdNotFound</b>: We couldn't find the VPC
363
- * associated with the cluster.</p>
364
- * </li>
365
- * </ul>
366
- */
367
- errorCode?: ErrorCode | string;
368
-
369
- /**
370
- * <p>A more complete description of the error.</p>
371
- */
372
- errorMessage?: string;
373
-
374
- /**
375
- * <p>An optional field that contains the resource IDs associated with the error.</p>
376
- */
377
- resourceIds?: string[];
378
- }
379
-
380
- export namespace ErrorDetail {
381
- /**
382
- * @internal
383
- */
384
- export const filterSensitiveLog = (obj: ErrorDetail): any => ({
385
- ...obj,
386
- });
387
- }
388
-
389
- export enum UpdateParamType {
390
- ADDON_VERSION = "AddonVersion",
391
- CLUSTER_LOGGING = "ClusterLogging",
392
- DESIRED_SIZE = "DesiredSize",
393
- ENCRYPTION_CONFIG = "EncryptionConfig",
394
- ENDPOINT_PRIVATE_ACCESS = "EndpointPrivateAccess",
395
- ENDPOINT_PUBLIC_ACCESS = "EndpointPublicAccess",
396
- IDENTITY_PROVIDER_CONFIG = "IdentityProviderConfig",
397
- LABELS_TO_ADD = "LabelsToAdd",
398
- LABELS_TO_REMOVE = "LabelsToRemove",
399
- LAUNCH_TEMPLATE_NAME = "LaunchTemplateName",
400
- LAUNCH_TEMPLATE_VERSION = "LaunchTemplateVersion",
401
- MAX_SIZE = "MaxSize",
402
- MAX_UNAVAILABLE = "MaxUnavailable",
403
- MAX_UNAVAILABLE_PERCENTAGE = "MaxUnavailablePercentage",
404
- MIN_SIZE = "MinSize",
405
- PLATFORM_VERSION = "PlatformVersion",
406
- PUBLIC_ACCESS_CIDRS = "PublicAccessCidrs",
407
- RELEASE_VERSION = "ReleaseVersion",
408
- RESOLVE_CONFLICTS = "ResolveConflicts",
409
- SERVICE_ACCOUNT_ROLE_ARN = "ServiceAccountRoleArn",
410
- TAINTS_TO_ADD = "TaintsToAdd",
411
- TAINTS_TO_REMOVE = "TaintsToRemove",
412
- VERSION = "Version",
413
- }
414
-
415
- /**
416
- * <p>An object representing the details of an update request.</p>
417
- */
418
- export interface UpdateParam {
419
- /**
420
- * <p>The keys associated with an update request.</p>
421
- */
422
- type?: UpdateParamType | string;
423
-
424
- /**
425
- * <p>The value of the keys submitted as part of an update request.</p>
426
- */
427
- value?: string;
428
- }
429
-
430
- export namespace UpdateParam {
431
- /**
432
- * @internal
433
- */
434
- export const filterSensitiveLog = (obj: UpdateParam): any => ({
435
- ...obj,
436
- });
437
- }
438
-
439
- export enum UpdateStatus {
440
- CANCELLED = "Cancelled",
441
- FAILED = "Failed",
442
- IN_PROGRESS = "InProgress",
443
- SUCCESSFUL = "Successful",
444
- }
445
-
446
- export enum UpdateType {
447
- ADDON_UPDATE = "AddonUpdate",
448
- ASSOCIATE_ENCRYPTION_CONFIG = "AssociateEncryptionConfig",
449
- ASSOCIATE_IDENTITY_PROVIDER_CONFIG = "AssociateIdentityProviderConfig",
450
- CONFIG_UPDATE = "ConfigUpdate",
451
- DISASSOCIATE_IDENTITY_PROVIDER_CONFIG = "DisassociateIdentityProviderConfig",
452
- ENDPOINT_ACCESS_UPDATE = "EndpointAccessUpdate",
453
- LOGGING_UPDATE = "LoggingUpdate",
454
- VERSION_UPDATE = "VersionUpdate",
455
- }
456
-
457
- /**
458
- * <p>An object representing an asynchronous update.</p>
459
- */
460
- export interface Update {
461
- /**
462
- * <p>A UUID that is used to track the update.</p>
463
- */
464
- id?: string;
465
-
466
- /**
467
- * <p>The current status of the update.</p>
468
- */
469
- status?: UpdateStatus | string;
470
-
471
- /**
472
- * <p>The type of the update.</p>
473
- */
474
- type?: UpdateType | string;
475
-
476
- /**
477
- * <p>A key-value map that contains the parameters associated with the update.</p>
478
- */
479
- params?: UpdateParam[];
480
-
481
- /**
482
- * <p>The Unix epoch timestamp in seconds for when the update was created.</p>
483
- */
484
- createdAt?: Date;
485
-
486
- /**
487
- * <p>Any errors associated with a <code>Failed</code> update.</p>
488
- */
489
- errors?: ErrorDetail[];
490
- }
491
-
492
- export namespace Update {
493
- /**
494
- * @internal
495
- */
496
- export const filterSensitiveLog = (obj: Update): any => ({
497
- ...obj,
498
- });
499
- }
500
-
501
- export interface AssociateEncryptionConfigResponse {
502
- /**
503
- * <p>An object representing an asynchronous update.</p>
504
- */
505
- update?: Update;
506
- }
507
-
508
- export namespace AssociateEncryptionConfigResponse {
509
- /**
510
- * @internal
511
- */
512
- export const filterSensitiveLog = (obj: AssociateEncryptionConfigResponse): any => ({
513
- ...obj,
514
- });
515
- }
516
-
517
- /**
518
- * <p>These errors are usually caused by a client action. Actions can include using an
519
- * action or resource on behalf of a user that doesn't have permissions to use the action
520
- * or resource or specifying an identifier that is not valid.</p>
521
- */
522
- export interface ClientException extends __SmithyException, $MetadataBearer {
523
- name: "ClientException";
524
- $fault: "client";
525
- /**
526
- * <p>The Amazon EKS cluster associated with the exception.</p>
527
- */
528
- clusterName?: string;
529
-
530
- /**
531
- * <p>The Amazon EKS managed node group associated with the exception.</p>
532
- */
533
- nodegroupName?: string;
534
-
535
- addonName?: string;
536
- message?: string;
537
- }
538
-
539
- export namespace ClientException {
540
- /**
541
- * @internal
542
- */
543
- export const filterSensitiveLog = (obj: ClientException): any => ({
544
- ...obj,
545
- });
546
- }
547
-
548
- /**
549
- * <p>The specified parameter is invalid. Review the available parameters for the API
550
- * request.</p>
551
- */
552
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
553
- name: "InvalidParameterException";
554
- $fault: "client";
555
- /**
556
- * <p>The Amazon EKS cluster associated with the exception.</p>
557
- */
558
- clusterName?: string;
559
-
560
- /**
561
- * <p>The Amazon EKS managed node group associated with the exception.</p>
562
- */
563
- nodegroupName?: string;
564
-
565
- /**
566
- * <p>The Fargate profile associated with the exception.</p>
567
- */
568
- fargateProfileName?: string;
569
-
570
- addonName?: string;
571
- message?: string;
572
- }
573
-
574
- export namespace InvalidParameterException {
575
- /**
576
- * @internal
577
- */
578
- export const filterSensitiveLog = (obj: InvalidParameterException): any => ({
579
- ...obj,
580
- });
581
- }
582
-
583
- /**
584
- * <p>The request is invalid given the state of the cluster. Check the state of the cluster
585
- * and the associated operations.</p>
586
- */
587
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
588
- name: "InvalidRequestException";
589
- $fault: "client";
590
- /**
591
- * <p>The Amazon EKS cluster associated with the exception.</p>
592
- */
593
- clusterName?: string;
594
-
595
- /**
596
- * <p>The Amazon EKS managed node group associated with the exception.</p>
597
- */
598
- nodegroupName?: string;
599
-
600
- addonName?: string;
601
- message?: string;
602
- }
603
-
604
- export namespace InvalidRequestException {
605
- /**
606
- * @internal
607
- */
608
- export const filterSensitiveLog = (obj: InvalidRequestException): any => ({
609
- ...obj,
610
- });
611
- }
612
-
613
- /**
614
- * <p>The specified resource is in use.</p>
615
- */
616
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
617
- name: "ResourceInUseException";
618
- $fault: "client";
619
- /**
620
- * <p>The Amazon EKS cluster associated with the exception.</p>
621
- */
622
- clusterName?: string;
623
-
624
- /**
625
- * <p>The Amazon EKS managed node group associated with the exception.</p>
626
- */
627
- nodegroupName?: string;
628
-
629
- addonName?: string;
630
- message?: string;
631
- }
632
-
633
- export namespace ResourceInUseException {
634
- /**
635
- * @internal
636
- */
637
- export const filterSensitiveLog = (obj: ResourceInUseException): any => ({
638
- ...obj,
639
- });
640
- }
641
-
642
- /**
643
- * <p>The specified resource could not be found. You can view your available clusters with
644
- * <a>ListClusters</a>. You can view your available managed node groups with
645
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
646
- * Region-specific.</p>
647
- */
648
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
649
- name: "ResourceNotFoundException";
650
- $fault: "client";
651
- /**
652
- * <p>The Amazon EKS cluster associated with the exception.</p>
653
- */
654
- clusterName?: string;
655
-
656
- /**
657
- * <p>The Amazon EKS managed node group associated with the exception.</p>
658
- */
659
- nodegroupName?: string;
660
-
661
- /**
662
- * <p>The Fargate profile associated with the exception.</p>
663
- */
664
- fargateProfileName?: string;
665
-
666
- addonName?: string;
667
- message?: string;
668
- }
669
-
670
- export namespace ResourceNotFoundException {
671
- /**
672
- * @internal
673
- */
674
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
675
- ...obj,
676
- });
677
- }
678
-
679
- /**
680
- * <p>These errors are usually caused by a server-side issue.</p>
681
- */
682
- export interface ServerException extends __SmithyException, $MetadataBearer {
683
- name: "ServerException";
684
- $fault: "server";
685
- /**
686
- * <p>The Amazon EKS cluster associated with the exception.</p>
687
- */
688
- clusterName?: string;
689
-
690
- /**
691
- * <p>The Amazon EKS managed node group associated with the exception.</p>
692
- */
693
- nodegroupName?: string;
694
-
695
- addonName?: string;
696
- message?: string;
697
- }
698
-
699
- export namespace ServerException {
700
- /**
701
- * @internal
702
- */
703
- export const filterSensitiveLog = (obj: ServerException): any => ({
704
- ...obj,
705
- });
706
- }
707
-
708
- /**
709
- * <p>An object representing an OpenID Connect (OIDC) configuration. Before associating an
710
- * OIDC identity provider to your cluster, review the considerations in <a href="https://docs.aws.amazon.com/eks/latest/userguide/authenticate-oidc-identity-provider.html">Authenticating
711
- * users for your cluster from an OpenID Connect identity provider</a> in the
712
- * <i>Amazon EKS User Guide</i>.</p>
713
- */
714
- export interface OidcIdentityProviderConfigRequest {
715
- /**
716
- * <p>The name of the OIDC provider configuration.</p>
717
- */
718
- identityProviderConfigName: string | undefined;
719
-
720
- /**
721
- * <p>The URL of the OpenID identity provider that allows the API server to discover public
722
- * signing keys for verifying tokens. The URL must begin with <code>https://</code> and
723
- * should correspond to the <code>iss</code> claim in the provider's OIDC ID tokens. Per
724
- * the OIDC standard, path components are allowed but query parameters are not. Typically
725
- * the URL consists of only a hostname, like <code>https://server.example.org</code> or
726
- * <code>https://example.com</code>. This URL should point to the level below
727
- * <code>.well-known/openid-configuration</code> and must be publicly accessible over
728
- * the internet.</p>
729
- */
730
- issuerUrl: string | undefined;
731
-
732
- /**
733
- * <p>This is also known as <i>audience</i>. The ID for the client application
734
- * that makes authentication requests to the OpenID identity provider.</p>
735
- */
736
- clientId: string | undefined;
737
-
738
- /**
739
- * <p>The JSON Web Token (JWT) claim to use as the username. The default is
740
- * <code>sub</code>, which is expected to be a unique identifier of the end user. You can
741
- * choose other claims, such as <code>email</code> or <code>name</code>, depending on the
742
- * OpenID identity provider. Claims other than <code>email</code> are prefixed with the
743
- * issuer URL to prevent naming clashes with other plug-ins.</p>
744
- */
745
- usernameClaim?: string;
746
-
747
- /**
748
- * <p>The prefix that is prepended to username claims to prevent clashes with existing
749
- * names. If you do not provide this field, and <code>username</code> is a value other than
750
- * <code>email</code>, the prefix defaults to <code>issuerurl#</code>. You can use the
751
- * value <code>-</code> to disable all prefixing.</p>
752
- */
753
- usernamePrefix?: string;
754
-
755
- /**
756
- * <p>The JWT claim that the provider uses to return your groups.</p>
757
- */
758
- groupsClaim?: string;
759
-
760
- /**
761
- * <p>The prefix that is prepended to group claims to prevent clashes with existing names
762
- * (such as <code>system:</code> groups). For example, the value<code> oidc:</code> will
763
- * create group names like <code>oidc:engineering</code> and
764
- * <code>oidc:infra</code>.</p>
765
- */
766
- groupsPrefix?: string;
767
-
768
- /**
769
- * <p>The key value pairs that describe required claims in the identity token. If set, each
770
- * claim is verified to be present in the token with a matching value. For the maximum
771
- * number of claims that you can require, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html">Amazon EKS service quotas</a> in the
772
- * <i>Amazon EKS User Guide</i>.</p>
773
- */
774
- requiredClaims?: { [key: string]: string };
775
- }
776
-
777
- export namespace OidcIdentityProviderConfigRequest {
778
- /**
779
- * @internal
780
- */
781
- export const filterSensitiveLog = (obj: OidcIdentityProviderConfigRequest): any => ({
782
- ...obj,
783
- });
784
- }
785
-
786
- export interface AssociateIdentityProviderConfigRequest {
787
- /**
788
- * <p>The name of the cluster to associate the configuration to.</p>
789
- */
790
- clusterName: string | undefined;
791
-
792
- /**
793
- * <p>An object that represents an OpenID Connect (OIDC) identity provider
794
- * configuration.</p>
795
- */
796
- oidc: OidcIdentityProviderConfigRequest | undefined;
797
-
798
- /**
799
- * <p>The metadata to apply to the configuration to assist with categorization and
800
- * organization. Each tag consists of a key and an optional value, both of which you
801
- * define.</p>
802
- */
803
- tags?: { [key: string]: string };
804
-
805
- /**
806
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
807
- * request.</p>
808
- */
809
- clientRequestToken?: string;
810
- }
811
-
812
- export namespace AssociateIdentityProviderConfigRequest {
813
- /**
814
- * @internal
815
- */
816
- export const filterSensitiveLog = (obj: AssociateIdentityProviderConfigRequest): any => ({
817
- ...obj,
818
- });
819
- }
820
-
821
- export interface AssociateIdentityProviderConfigResponse {
822
- /**
823
- * <p>An object representing an asynchronous update.</p>
824
- */
825
- update?: Update;
826
-
827
- /**
828
- * <p>The tags for the resource.</p>
829
- */
830
- tags?: { [key: string]: string };
831
- }
832
-
833
- export namespace AssociateIdentityProviderConfigResponse {
834
- /**
835
- * @internal
836
- */
837
- export const filterSensitiveLog = (obj: AssociateIdentityProviderConfigResponse): any => ({
838
- ...obj,
839
- });
840
- }
841
-
842
- /**
843
- * <p>An Auto Scaling group that is associated with an Amazon EKS managed node group.</p>
844
- */
845
- export interface AutoScalingGroup {
846
- /**
847
- * <p>The name of the Auto Scaling group associated with an Amazon EKS managed node group.</p>
848
- */
849
- name?: string;
850
- }
851
-
852
- export namespace AutoScalingGroup {
853
- /**
854
- * @internal
855
- */
856
- export const filterSensitiveLog = (obj: AutoScalingGroup): any => ({
857
- ...obj,
858
- });
859
- }
860
-
861
- export type ResolveConflicts = "NONE" | "OVERWRITE";
862
-
863
- export interface CreateAddonRequest {
864
- /**
865
- * <p>The name of the cluster to create the add-on for.</p>
866
- */
867
- clusterName: string | undefined;
868
-
869
- /**
870
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
871
- * <code>DescribeAddonVersions</code>
872
- * </a>.</p>
873
- */
874
- addonName: string | undefined;
875
-
876
- /**
877
- * <p>The version of the add-on. The version must match one of the versions returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
878
- * <code>DescribeAddonVersions</code>
879
- * </a>.</p>
880
- */
881
- addonVersion?: string;
882
-
883
- /**
884
- * <p>The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the
885
- * permissions assigned to the node IAM role. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">Amazon EKS node IAM role</a> in the <i>Amazon EKS User Guide</i>.</p>
886
- * <note>
887
- * <p>To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for
888
- * your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html">Enabling
889
- * IAM roles for service accounts on your cluster</a> in the
890
- * <i>Amazon EKS User Guide</i>.</p>
891
- * </note>
892
- */
893
- serviceAccountRoleArn?: string;
894
-
895
- /**
896
- * <p>How to resolve parameter value conflicts when migrating an existing add-on to an Amazon EKS
897
- * add-on.</p>
898
- */
899
- resolveConflicts?: ResolveConflicts | string;
900
-
901
- /**
902
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
903
- * request.</p>
904
- */
905
- clientRequestToken?: string;
906
-
907
- /**
908
- * <p>The metadata to apply to the cluster to assist with categorization and organization.
909
- * Each tag consists of a key and an optional value, both of which you define. </p>
910
- */
911
- tags?: { [key: string]: string };
912
- }
913
-
914
- export namespace CreateAddonRequest {
915
- /**
916
- * @internal
917
- */
918
- export const filterSensitiveLog = (obj: CreateAddonRequest): any => ({
919
- ...obj,
920
- });
921
- }
922
-
923
- export interface CreateAddonResponse {
924
- /**
925
- * <p>An Amazon EKS add-on.</p>
926
- */
927
- addon?: Addon;
928
- }
929
-
930
- export namespace CreateAddonResponse {
931
- /**
932
- * @internal
933
- */
934
- export const filterSensitiveLog = (obj: CreateAddonResponse): any => ({
935
- ...obj,
936
- });
937
- }
938
-
939
- /**
940
- * <p>The Kubernetes network configuration for the cluster.</p>
941
- */
942
- export interface KubernetesNetworkConfigRequest {
943
- /**
944
- * <p>The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a
945
- * block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR
946
- * blocks. We recommend that you specify a block that does not overlap with resources in
947
- * other networks that are peered or connected to your VPC. The block must meet the
948
- * following requirements:</p>
949
- * <ul>
950
- * <li>
951
- * <p>Within one of the following private IP address blocks: 10.0.0.0/8,
952
- * 172.16.0.0.0/12, or 192.168.0.0/16.</p>
953
- * </li>
954
- * <li>
955
- * <p>Doesn't overlap with any CIDR block assigned to the VPC that you selected for
956
- * VPC.</p>
957
- * </li>
958
- * <li>
959
- * <p>Between /24 and /12.</p>
960
- * </li>
961
- * </ul>
962
- * <important>
963
- * <p>You can only specify a custom CIDR block when you create a cluster and can't
964
- * change this value once the cluster is created.</p>
965
- * </important>
966
- */
967
- serviceIpv4Cidr?: string;
968
- }
969
-
970
- export namespace KubernetesNetworkConfigRequest {
971
- /**
972
- * @internal
973
- */
974
- export const filterSensitiveLog = (obj: KubernetesNetworkConfigRequest): any => ({
975
- ...obj,
976
- });
977
- }
978
-
979
- export enum LogType {
980
- API = "api",
981
- AUDIT = "audit",
982
- AUTHENTICATOR = "authenticator",
983
- CONTROLLER_MANAGER = "controllerManager",
984
- SCHEDULER = "scheduler",
985
- }
986
-
987
- /**
988
- * <p>An object representing the enabled or disabled Kubernetes control plane logs for your
989
- * cluster.</p>
990
- */
991
- export interface LogSetup {
992
- /**
993
- * <p>The available cluster control plane log types.</p>
994
- */
995
- types?: (LogType | string)[];
996
-
997
- /**
998
- * <p>If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a
999
- * log type isn't enabled, that log type doesn't export its control plane logs. Each
1000
- * individual log type can be enabled or disabled independently.</p>
1001
- */
1002
- enabled?: boolean;
1003
- }
1004
-
1005
- export namespace LogSetup {
1006
- /**
1007
- * @internal
1008
- */
1009
- export const filterSensitiveLog = (obj: LogSetup): any => ({
1010
- ...obj,
1011
- });
1012
- }
1013
-
1014
- /**
1015
- * <p>An object representing the logging configuration for resources in your cluster.</p>
1016
- */
1017
- export interface Logging {
1018
- /**
1019
- * <p>The cluster control plane logging configuration for your cluster.</p>
1020
- */
1021
- clusterLogging?: LogSetup[];
1022
- }
1023
-
1024
- export namespace Logging {
1025
- /**
1026
- * @internal
1027
- */
1028
- export const filterSensitiveLog = (obj: Logging): any => ({
1029
- ...obj,
1030
- });
1031
- }
1032
-
1033
- /**
1034
- * <p>An object representing the VPC configuration to use for an Amazon EKS cluster.</p>
1035
- */
1036
- export interface VpcConfigRequest {
1037
- /**
1038
- * <p>Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account elastic network
1039
- * interfaces in these subnets to allow communication between your nodes and the Kubernetes
1040
- * control plane.</p>
1041
- */
1042
- subnetIds?: string[];
1043
-
1044
- /**
1045
- * <p>Specify one or more security groups for the cross-account elastic network interfaces
1046
- * that Amazon EKS creates to use that allow communication between your nodes and the Kubernetes
1047
- * control plane. If you don't specify any security groups, then familiarize yourself with
1048
- * the difference between Amazon EKS defaults for clusters deployed with Kubernetes:</p>
1049
- * <ul>
1050
- * <li>
1051
- * <p>1.14 Amazon EKS platform version <code>eks.2</code> and earlier</p>
1052
- * </li>
1053
- * <li>
1054
- * <p>1.14 Amazon EKS platform version <code>eks.3</code> and later </p>
1055
- * </li>
1056
- * </ul>
1057
- * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Amazon EKS security group
1058
- * considerations</a> in the <i>
1059
- * <i>Amazon EKS User Guide</i>
1060
- * </i>.</p>
1061
- */
1062
- securityGroupIds?: string[];
1063
-
1064
- /**
1065
- * <p>Set this value to <code>false</code> to disable public access to your cluster's
1066
- * Kubernetes API server endpoint. If you disable public access, your cluster's Kubernetes
1067
- * API server can only receive requests from within the cluster VPC. The default value for
1068
- * this parameter is <code>true</code>, which enables public access for your Kubernetes API
1069
- * server. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1070
- * endpoint access control</a> in the <i>
1071
- * <i>Amazon EKS User Guide</i>
1072
- * </i>.</p>
1073
- */
1074
- endpointPublicAccess?: boolean;
1075
-
1076
- /**
1077
- * <p>Set this value to <code>true</code> to enable private access for your cluster's
1078
- * Kubernetes API server endpoint. If you enable private access, Kubernetes API requests
1079
- * from within your cluster's VPC use the private VPC endpoint. The default value for this
1080
- * parameter is <code>false</code>, which disables private access for your Kubernetes API
1081
- * server. If you disable private access and you have nodes or Fargate pods in the
1082
- * cluster, then ensure that <code>publicAccessCidrs</code> includes the necessary CIDR
1083
- * blocks for communication with the nodes or Fargate pods. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1084
- * endpoint access control</a> in the <i>
1085
- * <i>Amazon EKS User Guide</i>
1086
- * </i>.</p>
1087
- */
1088
- endpointPrivateAccess?: boolean;
1089
-
1090
- /**
1091
- * <p>The CIDR blocks that are allowed access to your cluster's public Kubernetes API server
1092
- * endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that
1093
- * you specify is denied. The default value is <code>0.0.0.0/0</code>. If you've disabled
1094
- * private endpoint access and you have nodes or Fargate pods in the cluster, then ensure
1095
- * that you specify the necessary CIDR blocks. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1096
- * endpoint access control</a> in the <i>
1097
- * <i>Amazon EKS User Guide</i>
1098
- * </i>.</p>
1099
- */
1100
- publicAccessCidrs?: string[];
1101
- }
1102
-
1103
- export namespace VpcConfigRequest {
1104
- /**
1105
- * @internal
1106
- */
1107
- export const filterSensitiveLog = (obj: VpcConfigRequest): any => ({
1108
- ...obj,
1109
- });
1110
- }
1111
-
1112
- export interface CreateClusterRequest {
1113
- /**
1114
- * <p>The unique name to give to your cluster.</p>
1115
- */
1116
- name: string | undefined;
1117
-
1118
- /**
1119
- * <p>The desired Kubernetes version for your cluster. If you don't specify a value here,
1120
- * the latest version available in Amazon EKS is used.</p>
1121
- */
1122
- version?: string;
1123
-
1124
- /**
1125
- * <p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control
1126
- * plane to make calls to Amazon Web Services API operations on your behalf. For more information, see
1127
- * <a href="https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html">Amazon EKS
1128
- * Service IAM Role</a> in the <i>
1129
- * <i>Amazon EKS User Guide</i>
1130
- * </i>.</p>
1131
- */
1132
- roleArn: string | undefined;
1133
-
1134
- /**
1135
- * <p>The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have
1136
- * specific requirements to work properly with Kubernetes. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">Cluster VPC
1137
- * Considerations</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Cluster Security Group Considerations</a> in the
1138
- * <i>Amazon EKS User Guide</i>. You must specify at least two subnets. You can specify up to five
1139
- * security groups, but we recommend that you use a dedicated security group for your
1140
- * cluster control plane.</p>
1141
- */
1142
- resourcesVpcConfig: VpcConfigRequest | undefined;
1143
-
1144
- /**
1145
- * <p>The Kubernetes network configuration for the cluster.</p>
1146
- */
1147
- kubernetesNetworkConfig?: KubernetesNetworkConfigRequest;
1148
-
1149
- /**
1150
- * <p>Enable or disable exporting the Kubernetes control plane logs for your cluster to
1151
- * CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more
1152
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS Cluster control plane logs</a> in the
1153
- * <i>
1154
- * <i>Amazon EKS User Guide</i>
1155
- * </i>.</p>
1156
- * <note>
1157
- * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
1158
- * control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
1159
- * </note>
1160
- */
1161
- logging?: Logging;
1162
-
1163
- /**
1164
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1165
- * request.</p>
1166
- */
1167
- clientRequestToken?: string;
1168
-
1169
- /**
1170
- * <p>The metadata to apply to the cluster to assist with categorization and organization.
1171
- * Each tag consists of a key and an optional value, both of which you define.</p>
1172
- */
1173
- tags?: { [key: string]: string };
1174
-
1175
- /**
1176
- * <p>The encryption configuration for the cluster.</p>
1177
- */
1178
- encryptionConfig?: EncryptionConfig[];
1179
- }
1180
-
1181
- export namespace CreateClusterRequest {
1182
- /**
1183
- * @internal
1184
- */
1185
- export const filterSensitiveLog = (obj: CreateClusterRequest): any => ({
1186
- ...obj,
1187
- });
1188
- }
1189
-
1190
- /**
1191
- * <p>An object representing the <code>certificate-authority-data</code> for your
1192
- * cluster.</p>
1193
- */
1194
- export interface Certificate {
1195
- /**
1196
- * <p>The Base64-encoded certificate data required to communicate with your cluster. Add
1197
- * this to the <code>certificate-authority-data</code> section of the
1198
- * <code>kubeconfig</code> file for your cluster.</p>
1199
- */
1200
- data?: string;
1201
- }
1202
-
1203
- export namespace Certificate {
1204
- /**
1205
- * @internal
1206
- */
1207
- export const filterSensitiveLog = (obj: Certificate): any => ({
1208
- ...obj,
1209
- });
1210
- }
1211
-
1212
- /**
1213
- * <p>The full description of your connected cluster.</p>
1214
- */
1215
- export interface ConnectorConfigResponse {
1216
- /**
1217
- * <p>A unique ID associated with the cluster for registration purposes.</p>
1218
- */
1219
- activationId?: string;
1220
-
1221
- /**
1222
- * <p>A unique code associated with the cluster for registration purposes.</p>
1223
- */
1224
- activationCode?: string;
1225
-
1226
- /**
1227
- * <p>The expiration time of the connected cluster. The cluster's YAML file must be applied through the native
1228
- * provider.</p>
1229
- */
1230
- activationExpiry?: Date;
1231
-
1232
- /**
1233
- * <p>The cluster's cloud service provider.</p>
1234
- */
1235
- provider?: string;
1236
-
1237
- /**
1238
- * <p>The Amazon Resource Name (ARN) of the role that is used by the EKS connector to communicate with AWS services from the connected Kubernetes cluster.</p>
1239
- */
1240
- roleArn?: string;
1241
- }
1242
-
1243
- export namespace ConnectorConfigResponse {
1244
- /**
1245
- * @internal
1246
- */
1247
- export const filterSensitiveLog = (obj: ConnectorConfigResponse): any => ({
1248
- ...obj,
1249
- });
1250
- }
1251
-
1252
- /**
1253
- * <p>An object representing the <a href="https://openid.net/connect/">OpenID
1254
- * Connect</a> (OIDC) identity provider information for the cluster.</p>
1255
- */
1256
- export interface OIDC {
1257
- /**
1258
- * <p>The issuer URL for the OIDC identity provider.</p>
1259
- */
1260
- issuer?: string;
1261
- }
1262
-
1263
- export namespace OIDC {
1264
- /**
1265
- * @internal
1266
- */
1267
- export const filterSensitiveLog = (obj: OIDC): any => ({
1268
- ...obj,
1269
- });
1270
- }
1271
-
1272
- /**
1273
- * <p>An object representing an identity provider.</p>
1274
- */
1275
- export interface Identity {
1276
- /**
1277
- * <p>An object representing the <a href="https://openid.net/connect/">OpenID
1278
- * Connect</a> identity provider information.</p>
1279
- */
1280
- oidc?: OIDC;
1281
- }
1282
-
1283
- export namespace Identity {
1284
- /**
1285
- * @internal
1286
- */
1287
- export const filterSensitiveLog = (obj: Identity): any => ({
1288
- ...obj,
1289
- });
1290
- }
1291
-
1292
- /**
1293
- * <p>The Kubernetes network configuration for the cluster.</p>
1294
- */
1295
- export interface KubernetesNetworkConfigResponse {
1296
- /**
1297
- * <p>The CIDR block that Kubernetes service IP addresses are assigned from. If you didn't
1298
- * specify a CIDR block when you created the cluster, then Kubernetes assigns addresses
1299
- * from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. If this was specified, then
1300
- * it was specified when the cluster was created and it cannot be changed.</p>
1301
- */
1302
- serviceIpv4Cidr?: string;
1303
- }
1304
-
1305
- export namespace KubernetesNetworkConfigResponse {
1306
- /**
1307
- * @internal
1308
- */
1309
- export const filterSensitiveLog = (obj: KubernetesNetworkConfigResponse): any => ({
1310
- ...obj,
1311
- });
1312
- }
1313
-
1314
- /**
1315
- * <p>An object representing an Amazon EKS cluster VPC configuration response.</p>
1316
- */
1317
- export interface VpcConfigResponse {
1318
- /**
1319
- * <p>The subnets associated with your cluster.</p>
1320
- */
1321
- subnetIds?: string[];
1322
-
1323
- /**
1324
- * <p>The security groups associated with the cross-account elastic network interfaces that
1325
- * are used to allow communication between your nodes and the Kubernetes control
1326
- * plane.</p>
1327
- */
1328
- securityGroupIds?: string[];
1329
-
1330
- /**
1331
- * <p>The cluster security group that was created by Amazon EKS for the cluster. Managed node
1332
- * groups use this security group for control-plane-to-data-plane communication.</p>
1333
- */
1334
- clusterSecurityGroupId?: string;
1335
-
1336
- /**
1337
- * <p>The VPC associated with your cluster.</p>
1338
- */
1339
- vpcId?: string;
1340
-
1341
- /**
1342
- * <p>This parameter indicates whether the Amazon EKS public API server endpoint is enabled. If
1343
- * the Amazon EKS public API server endpoint is disabled, your cluster's Kubernetes API server
1344
- * can only receive requests that originate from within the cluster VPC.</p>
1345
- */
1346
- endpointPublicAccess?: boolean;
1347
-
1348
- /**
1349
- * <p>This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If
1350
- * the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate
1351
- * from within your cluster's VPC use the private VPC endpoint instead of traversing the
1352
- * internet. If this value is disabled and you have nodes or Fargate pods in the cluster,
1353
- * then ensure that <code>publicAccessCidrs</code> includes the necessary CIDR blocks for
1354
- * communication with the nodes or Fargate pods. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1355
- * endpoint access control</a> in the <i>
1356
- * <i>Amazon EKS User Guide</i>
1357
- * </i>.</p>
1358
- */
1359
- endpointPrivateAccess?: boolean;
1360
-
1361
- /**
1362
- * <p>The CIDR blocks that are allowed access to your cluster's public Kubernetes API server
1363
- * endpoint. Communication to the endpoint from addresses outside of the listed CIDR blocks
1364
- * is denied. The default value is <code>0.0.0.0/0</code>. If you've disabled private
1365
- * endpoint access and you have nodes or Fargate pods in the cluster, then ensure that the
1366
- * necessary CIDR blocks are listed. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
1367
- * endpoint access control</a> in the <i>
1368
- * <i>Amazon EKS User Guide</i>
1369
- * </i>.</p>
1370
- */
1371
- publicAccessCidrs?: string[];
1372
- }
1373
-
1374
- export namespace VpcConfigResponse {
1375
- /**
1376
- * @internal
1377
- */
1378
- export const filterSensitiveLog = (obj: VpcConfigResponse): any => ({
1379
- ...obj,
1380
- });
1381
- }
1382
-
1383
- export type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "PENDING" | "UPDATING";
1384
-
1385
- /**
1386
- * <p>An object representing an Amazon EKS cluster.</p>
1387
- */
1388
- export interface Cluster {
1389
- /**
1390
- * <p>The name of the cluster.</p>
1391
- */
1392
- name?: string;
1393
-
1394
- /**
1395
- * <p>The Amazon Resource Name (ARN) of the cluster.</p>
1396
- */
1397
- arn?: string;
1398
-
1399
- /**
1400
- * <p>The Unix epoch timestamp in seconds for when the cluster was created.</p>
1401
- */
1402
- createdAt?: Date;
1403
-
1404
- /**
1405
- * <p>The Kubernetes server version for the cluster.</p>
1406
- */
1407
- version?: string;
1408
-
1409
- /**
1410
- * <p>The endpoint for your Kubernetes API server.</p>
1411
- */
1412
- endpoint?: string;
1413
-
1414
- /**
1415
- * <p>The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control
1416
- * plane to make calls to Amazon Web Services API operations on your behalf.</p>
1417
- */
1418
- roleArn?: string;
1419
-
1420
- /**
1421
- * <p>The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have
1422
- * specific requirements to work properly with Kubernetes. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">Cluster VPC
1423
- * Considerations</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Cluster Security Group Considerations</a> in the
1424
- * <i>Amazon EKS User Guide</i>.</p>
1425
- */
1426
- resourcesVpcConfig?: VpcConfigResponse;
1427
-
1428
- /**
1429
- * <p>The Kubernetes network configuration for the cluster.</p>
1430
- */
1431
- kubernetesNetworkConfig?: KubernetesNetworkConfigResponse;
1432
-
1433
- /**
1434
- * <p>The logging configuration for your cluster.</p>
1435
- */
1436
- logging?: Logging;
1437
-
1438
- /**
1439
- * <p>The identity provider information for the cluster.</p>
1440
- */
1441
- identity?: Identity;
1442
-
1443
- /**
1444
- * <p>The current status of the cluster.</p>
1445
- */
1446
- status?: ClusterStatus | string;
1447
-
1448
- /**
1449
- * <p>The <code>certificate-authority-data</code> for your cluster.</p>
1450
- */
1451
- certificateAuthority?: Certificate;
1452
-
1453
- /**
1454
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1455
- * request.</p>
1456
- */
1457
- clientRequestToken?: string;
1458
-
1459
- /**
1460
- * <p>The platform version of your Amazon EKS cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html">Platform
1461
- * Versions</a> in the <i>
1462
- * <i>Amazon EKS User Guide</i>
1463
- * </i>.</p>
1464
- */
1465
- platformVersion?: string;
1466
-
1467
- /**
1468
- * <p>The metadata that you apply to the cluster to assist with categorization and
1469
- * organization. Each tag consists of a key and an optional value, both of which you
1470
- * define. Cluster tags do not propagate to any other resources associated with the
1471
- * cluster.</p>
1472
- */
1473
- tags?: { [key: string]: string };
1474
-
1475
- /**
1476
- * <p>The encryption configuration for the cluster.</p>
1477
- */
1478
- encryptionConfig?: EncryptionConfig[];
1479
-
1480
- /**
1481
- * <p>The configuration used to connect to a cluster for registration.</p>
1482
- */
1483
- connectorConfig?: ConnectorConfigResponse;
1484
- }
1485
-
1486
- export namespace Cluster {
1487
- /**
1488
- * @internal
1489
- */
1490
- export const filterSensitiveLog = (obj: Cluster): any => ({
1491
- ...obj,
1492
- });
1493
- }
1494
-
1495
- export interface CreateClusterResponse {
1496
- /**
1497
- * <p>The full description of your new cluster.</p>
1498
- */
1499
- cluster?: Cluster;
1500
- }
1501
-
1502
- export namespace CreateClusterResponse {
1503
- /**
1504
- * @internal
1505
- */
1506
- export const filterSensitiveLog = (obj: CreateClusterResponse): any => ({
1507
- ...obj,
1508
- });
1509
- }
1510
-
1511
- /**
1512
- * <p>You have encountered a service limit on the specified resource.</p>
1513
- */
1514
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
1515
- name: "ResourceLimitExceededException";
1516
- $fault: "client";
1517
- /**
1518
- * <p>The Amazon EKS cluster associated with the exception.</p>
1519
- */
1520
- clusterName?: string;
1521
-
1522
- /**
1523
- * <p>The Amazon EKS managed node group associated with the exception.</p>
1524
- */
1525
- nodegroupName?: string;
1526
-
1527
- message?: string;
1528
- }
1529
-
1530
- export namespace ResourceLimitExceededException {
1531
- /**
1532
- * @internal
1533
- */
1534
- export const filterSensitiveLog = (obj: ResourceLimitExceededException): any => ({
1535
- ...obj,
1536
- });
1537
- }
1538
-
1539
- /**
1540
- * <p>The service is unavailable. Back off and retry the operation.</p>
1541
- */
1542
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1543
- name: "ServiceUnavailableException";
1544
- $fault: "server";
1545
- message?: string;
1546
- }
1547
-
1548
- export namespace ServiceUnavailableException {
1549
- /**
1550
- * @internal
1551
- */
1552
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
1553
- ...obj,
1554
- });
1555
- }
1556
-
1557
- /**
1558
- * <p>At least one of your specified cluster subnets is in an Availability Zone that does
1559
- * not support Amazon EKS. The exception output specifies the supported Availability Zones for
1560
- * your account, from which you can choose subnets for your cluster.</p>
1561
- */
1562
- export interface UnsupportedAvailabilityZoneException extends __SmithyException, $MetadataBearer {
1563
- name: "UnsupportedAvailabilityZoneException";
1564
- $fault: "client";
1565
- message?: string;
1566
- /**
1567
- * <p>The Amazon EKS cluster associated with the exception.</p>
1568
- */
1569
- clusterName?: string;
1570
-
1571
- /**
1572
- * <p>The Amazon EKS managed node group associated with the exception.</p>
1573
- */
1574
- nodegroupName?: string;
1575
-
1576
- /**
1577
- * <p>The supported Availability Zones for your account. Choose subnets in these
1578
- * Availability Zones for your cluster.</p>
1579
- */
1580
- validZones?: string[];
1581
- }
1582
-
1583
- export namespace UnsupportedAvailabilityZoneException {
1584
- /**
1585
- * @internal
1586
- */
1587
- export const filterSensitiveLog = (obj: UnsupportedAvailabilityZoneException): any => ({
1588
- ...obj,
1589
- });
1590
- }
1591
-
1592
- /**
1593
- * <p>An object representing an Fargate profile selector.</p>
1594
- */
1595
- export interface FargateProfileSelector {
1596
- /**
1597
- * <p>The Kubernetes namespace that the selector should match.</p>
1598
- */
1599
- namespace?: string;
1600
-
1601
- /**
1602
- * <p>The Kubernetes labels that the selector should match. A pod must contain all of the
1603
- * labels that are specified in the selector for it to be considered a match.</p>
1604
- */
1605
- labels?: { [key: string]: string };
1606
- }
1607
-
1608
- export namespace FargateProfileSelector {
1609
- /**
1610
- * @internal
1611
- */
1612
- export const filterSensitiveLog = (obj: FargateProfileSelector): any => ({
1613
- ...obj,
1614
- });
1615
- }
1616
-
1617
- export interface CreateFargateProfileRequest {
1618
- /**
1619
- * <p>The name of the Fargate profile.</p>
1620
- */
1621
- fargateProfileName: string | undefined;
1622
-
1623
- /**
1624
- * <p>The name of the Amazon EKS cluster to apply the Fargate profile to.</p>
1625
- */
1626
- clusterName: string | undefined;
1627
-
1628
- /**
1629
- * <p>The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in
1630
- * the Fargate profile. The pod execution role allows Fargate infrastructure to register with
1631
- * your cluster as a node, and it provides read access to Amazon ECR image repositories. For
1632
- * more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the
1633
- * <i>Amazon EKS User Guide</i>.</p>
1634
- */
1635
- podExecutionRoleArn: string | undefined;
1636
-
1637
- /**
1638
- * <p>The IDs of subnets to launch your pods into. At this time, pods running on Fargate are
1639
- * not assigned public IP addresses, so only private subnets (with no direct route to an
1640
- * Internet Gateway) are accepted for this parameter.</p>
1641
- */
1642
- subnets?: string[];
1643
-
1644
- /**
1645
- * <p>The selectors to match for pods to use this Fargate profile. Each selector must have an
1646
- * associated namespace. Optionally, you can also specify labels for a namespace. You may
1647
- * specify up to five selectors in a Fargate profile.</p>
1648
- */
1649
- selectors?: FargateProfileSelector[];
1650
-
1651
- /**
1652
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
1653
- * request.</p>
1654
- */
1655
- clientRequestToken?: string;
1656
-
1657
- /**
1658
- * <p>The metadata to apply to the Fargate profile to assist with categorization and
1659
- * organization. Each tag consists of a key and an optional value, both of which you
1660
- * define. Fargate profile tags do not propagate to any other resources associated with the
1661
- * Fargate profile, such as the pods that are scheduled with it.</p>
1662
- */
1663
- tags?: { [key: string]: string };
1664
- }
1665
-
1666
- export namespace CreateFargateProfileRequest {
1667
- /**
1668
- * @internal
1669
- */
1670
- export const filterSensitiveLog = (obj: CreateFargateProfileRequest): any => ({
1671
- ...obj,
1672
- });
1673
- }
1674
-
1675
- export type FargateProfileStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DELETE_FAILED" | "DELETING";
1676
-
1677
- /**
1678
- * <p>An object representing an Fargate profile.</p>
1679
- */
1680
- export interface FargateProfile {
1681
- /**
1682
- * <p>The name of the Fargate profile.</p>
1683
- */
1684
- fargateProfileName?: string;
1685
-
1686
- /**
1687
- * <p>The full Amazon Resource Name (ARN) of the Fargate profile.</p>
1688
- */
1689
- fargateProfileArn?: string;
1690
-
1691
- /**
1692
- * <p>The name of the Amazon EKS cluster that the Fargate profile belongs to.</p>
1693
- */
1694
- clusterName?: string;
1695
-
1696
- /**
1697
- * <p>The Unix epoch timestamp in seconds for when the Fargate profile was created.</p>
1698
- */
1699
- createdAt?: Date;
1700
-
1701
- /**
1702
- * <p>The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in
1703
- * the Fargate profile. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod
1704
- * Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
1705
- */
1706
- podExecutionRoleArn?: string;
1707
-
1708
- /**
1709
- * <p>The IDs of subnets to launch pods into.</p>
1710
- */
1711
- subnets?: string[];
1712
-
1713
- /**
1714
- * <p>The selectors to match for pods to use this Fargate profile.</p>
1715
- */
1716
- selectors?: FargateProfileSelector[];
1717
-
1718
- /**
1719
- * <p>The current status of the Fargate profile.</p>
1720
- */
1721
- status?: FargateProfileStatus | string;
1722
-
1723
- /**
1724
- * <p>The metadata applied to the Fargate profile to assist with categorization and
1725
- * organization. Each tag consists of a key and an optional value, both of which you
1726
- * define. Fargate profile tags do not propagate to any other resources associated with the
1727
- * Fargate profile, such as the pods that are scheduled with it.</p>
1728
- */
1729
- tags?: { [key: string]: string };
1730
- }
1731
-
1732
- export namespace FargateProfile {
1733
- /**
1734
- * @internal
1735
- */
1736
- export const filterSensitiveLog = (obj: FargateProfile): any => ({
1737
- ...obj,
1738
- });
1739
- }
1740
-
1741
- export interface CreateFargateProfileResponse {
1742
- /**
1743
- * <p>The full description of your new Fargate profile.</p>
1744
- */
1745
- fargateProfile?: FargateProfile;
1746
- }
1747
-
1748
- export namespace CreateFargateProfileResponse {
1749
- /**
1750
- * @internal
1751
- */
1752
- export const filterSensitiveLog = (obj: CreateFargateProfileResponse): any => ({
1753
- ...obj,
1754
- });
1755
- }
1756
-
1757
- export type CapacityTypes = "ON_DEMAND" | "SPOT";
1758
-
1759
- /**
1760
- * <p>An object representing a node group launch template specification. The launch template
1761
- * cannot include <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html">
1762
- * <code>SubnetId</code>
1763
- * </a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html">
1764
- * <code>IamInstanceProfile</code>
1765
- * </a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">
1766
- * <code>RequestSpotInstances</code>
1767
- * </a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html">
1768
- * <code>HibernationOptions</code>
1769
- * </a>, or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html">
1770
- * <code>TerminateInstances</code>
1771
- * </a>, or the node group deployment or
1772
- * update will fail. For more information about launch templates, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">
1773
- * <code>CreateLaunchTemplate</code>
1774
- * </a> in the Amazon EC2 API Reference.
1775
- * For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
1776
- * <p>Specify either <code>name</code> or <code>id</code>, but not both.</p>
1777
- */
1778
- export interface LaunchTemplateSpecification {
1779
- /**
1780
- * <p>The name of the launch template.</p>
1781
- */
1782
- name?: string;
1783
-
1784
- /**
1785
- * <p>The version of the launch template to use. If no version is specified, then the
1786
- * template's default version is used.</p>
1787
- */
1788
- version?: string;
1789
-
1790
- /**
1791
- * <p>The ID of the launch template.</p>
1792
- */
1793
- id?: string;
1794
- }
1795
-
1796
- export namespace LaunchTemplateSpecification {
1797
- /**
1798
- * @internal
1799
- */
1800
- export const filterSensitiveLog = (obj: LaunchTemplateSpecification): any => ({
1801
- ...obj,
1802
- });
1803
- }
1804
-
1805
- /**
1806
- * <p>An object representing the remote access configuration for the managed node
1807
- * group.</p>
1808
- */
1809
- export interface RemoteAccessConfig {
1810
- /**
1811
- * <p>The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the
1812
- * managed node group. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key
1813
- * pairs and Linux instances</a> in the <i>Amazon Elastic Compute Cloud User Guide for Linux Instances</i>.</p>
1814
- */
1815
- ec2SshKey?: string;
1816
-
1817
- /**
1818
- * <p>The security groups that are allowed SSH access (port 22) to the nodes. If you specify
1819
- * an Amazon EC2 SSH key but do not specify a source security group when you create a managed
1820
- * node group, then port 22 on the nodes is opened to the internet (0.0.0.0/0). For more
1821
- * information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html">Security Groups for Your VPC</a> in the
1822
- * <i>Amazon Virtual Private Cloud User Guide</i>.</p>
1823
- */
1824
- sourceSecurityGroups?: string[];
1825
- }
1826
-
1827
- export namespace RemoteAccessConfig {
1828
- /**
1829
- * @internal
1830
- */
1831
- export const filterSensitiveLog = (obj: RemoteAccessConfig): any => ({
1832
- ...obj,
1833
- });
1834
- }
1835
-
1836
- /**
1837
- * <p>An object representing the scaling configuration details for the Auto Scaling group
1838
- * that is associated with your node group. When creating a node group, you must specify
1839
- * all or none of the properties. When updating a node group, you can specify any or none
1840
- * of the properties.</p>
1841
- */
1842
- export interface NodegroupScalingConfig {
1843
- /**
1844
- * <p>The minimum number of nodes that the managed node group can scale in to.</p>
1845
- */
1846
- minSize?: number;
1847
-
1848
- /**
1849
- * <p>The maximum number of nodes that the managed node group can scale out to. For
1850
- * information about the maximum number that you can specify, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html">Amazon EKS service
1851
- * quotas</a> in the <i>Amazon EKS User Guide</i>.</p>
1852
- */
1853
- maxSize?: number;
1854
-
1855
- /**
1856
- * <p>The current number of nodes that the managed node group should maintain.</p>
1857
- */
1858
- desiredSize?: number;
1859
- }
1860
-
1861
- export namespace NodegroupScalingConfig {
1862
- /**
1863
- * @internal
1864
- */
1865
- export const filterSensitiveLog = (obj: NodegroupScalingConfig): any => ({
1866
- ...obj,
1867
- });
1868
- }
1869
-
1870
- export enum TaintEffect {
1871
- NO_EXECUTE = "NO_EXECUTE",
1872
- NO_SCHEDULE = "NO_SCHEDULE",
1873
- PREFER_NO_SCHEDULE = "PREFER_NO_SCHEDULE",
1874
- }
1875
-
1876
- /**
1877
- * <p>A property that allows a node to repel a set of pods.</p>
1878
- */
1879
- export interface Taint {
1880
- /**
1881
- * <p>The key of the taint.</p>
1882
- */
1883
- key?: string;
1884
-
1885
- /**
1886
- * <p>The value of the taint.</p>
1887
- */
1888
- value?: string;
1889
-
1890
- /**
1891
- * <p>The effect of the taint.</p>
1892
- */
1893
- effect?: TaintEffect | string;
1894
- }
1895
-
1896
- export namespace Taint {
1897
- /**
1898
- * @internal
1899
- */
1900
- export const filterSensitiveLog = (obj: Taint): any => ({
1901
- ...obj,
1902
- });
1903
- }
1904
-
1905
- /**
1906
- * <p>The node group update configuration.</p>
1907
- */
1908
- export interface NodegroupUpdateConfig {
1909
- /**
1910
- * <p>The maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel.
1911
- * This value or <code>maxUnavailablePercentage</code> is required to have a value.The maximum number
1912
- * is 100.</p>
1913
- */
1914
- maxUnavailable?: number;
1915
-
1916
- /**
1917
- * <p>The maximum percentage of nodes unavailable during a version update. This percentage of nodes will be
1918
- * updated in parallel, up to 100 nodes at once. This value or <code>maxUnavailable</code> is required to have a value.</p>
1919
- */
1920
- maxUnavailablePercentage?: number;
1921
- }
1922
-
1923
- export namespace NodegroupUpdateConfig {
1924
- /**
1925
- * @internal
1926
- */
1927
- export const filterSensitiveLog = (obj: NodegroupUpdateConfig): any => ({
1928
- ...obj,
1929
- });
1930
- }
1931
-
1932
- export interface CreateNodegroupRequest {
1933
- /**
1934
- * <p>The name of the cluster to create the node group in.</p>
1935
- */
1936
- clusterName: string | undefined;
1937
-
1938
- /**
1939
- * <p>The unique name to give your node group.</p>
1940
- */
1941
- nodegroupName: string | undefined;
1942
-
1943
- /**
1944
- * <p>The scaling configuration details for the Auto Scaling group that is created for your
1945
- * node group.</p>
1946
- */
1947
- scalingConfig?: NodegroupScalingConfig;
1948
-
1949
- /**
1950
- * <p>The root device disk size (in GiB) for your node group instances. The default disk
1951
- * size is 20 GiB. If you specify <code>launchTemplate</code>, then don't specify <code>diskSize</code>,
1952
- * or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
1953
- */
1954
- diskSize?: number;
1955
-
1956
- /**
1957
- * <p>The subnets to use for the Auto Scaling group that is created for your node group.
1958
- * If you specify <code>launchTemplate</code>, then don't specify <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html">
1959
- * <code>SubnetId</code>
1960
- * </a> in your launch template, or the node group
1961
- * deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
1962
- */
1963
- subnets: string[] | undefined;
1964
-
1965
- /**
1966
- * <p>Specify the instance types for a node group. If you specify a GPU instance type, be
1967
- * sure to specify <code>AL2_x86_64_GPU</code> with the <code>amiType</code> parameter. If
1968
- * you specify <code>launchTemplate</code>, then you can specify zero or one instance type
1969
- * in your launch template <i>or</i> you can specify 0-20 instance types for
1970
- * <code>instanceTypes</code>. If however, you specify an instance type in your launch
1971
- * template <i>and</i> specify any <code>instanceTypes</code>, the node group
1972
- * deployment will fail. If you don't specify an instance type in a launch template or for
1973
- * <code>instanceTypes</code>, then <code>t3.medium</code> is used, by default. If you
1974
- * specify <code>Spot</code> for <code>capacityType</code>, then we recommend specifying
1975
- * multiple values for <code>instanceTypes</code>. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types">Managed node group capacity types</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in
1976
- * the <i>Amazon EKS User Guide</i>.</p>
1977
- */
1978
- instanceTypes?: string[];
1979
-
1980
- /**
1981
- * <p>The AMI type for your node group. GPU instance types should use the
1982
- * <code>AL2_x86_64_GPU</code> AMI type. Non-GPU instances should use the
1983
- * <code>AL2_x86_64</code> AMI type. Arm instances should use the
1984
- * <code>AL2_ARM_64</code> AMI type. All types use the Amazon EKS optimized Amazon Linux 2 AMI.
1985
- * If you specify <code>launchTemplate</code>, and your launch template uses a custom AMI, then don't specify <code>amiType</code>,
1986
- * or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
1987
- */
1988
- amiType?: AMITypes | string;
1989
-
1990
- /**
1991
- * <p>The remote access (SSH) configuration to use with your node group. If you specify <code>launchTemplate</code>,
1992
- * then don't specify <code>remoteAccess</code>, or the node group deployment
1993
- * will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
1994
- */
1995
- remoteAccess?: RemoteAccessConfig;
1996
-
1997
- /**
1998
- * <p>The Amazon Resource Name (ARN) of the IAM role to associate with your node group. The Amazon EKS worker
1999
- * node <code>kubelet</code> daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive
2000
- * permissions for these API calls through an IAM instance profile and associated
2001
- * policies. Before you can launch nodes and register them into a cluster, you must create
2002
- * an IAM role for those nodes to use when they are launched. For more information, see
2003
- * <a href="https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html">Amazon EKS node IAM role</a> in the <i>
2004
- * <i>Amazon EKS User Guide</i>
2005
- * </i>.
2006
- * If you specify <code>launchTemplate</code>, then don't specify <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html">
2007
- * <code>IamInstanceProfile</code>
2008
- * </a> in your launch template,
2009
- * or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
2010
- */
2011
- nodeRole: string | undefined;
2012
-
2013
- /**
2014
- * <p>The Kubernetes labels to be applied to the nodes in the node group when they are
2015
- * created.</p>
2016
- */
2017
- labels?: { [key: string]: string };
2018
-
2019
- /**
2020
- * <p>The Kubernetes taints to be applied to the nodes in the node group.</p>
2021
- */
2022
- taints?: Taint[];
2023
-
2024
- /**
2025
- * <p>The metadata to apply to the node group to assist with categorization and
2026
- * organization. Each tag consists of a key and an optional value, both of which you
2027
- * define. Node group tags do not propagate to any other resources associated with the node
2028
- * group, such as the Amazon EC2 instances or subnets.</p>
2029
- */
2030
- tags?: { [key: string]: string };
2031
-
2032
- /**
2033
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
2034
- * request.</p>
2035
- */
2036
- clientRequestToken?: string;
2037
-
2038
- /**
2039
- * <p>An object representing a node group's launch template specification. If specified,
2040
- * then do not specify <code>instanceTypes</code>, <code>diskSize</code>, or
2041
- * <code>remoteAccess</code> and make sure that the launch template meets the
2042
- * requirements in <code>launchTemplateSpecification</code>.</p>
2043
- */
2044
- launchTemplate?: LaunchTemplateSpecification;
2045
-
2046
- /**
2047
- * <p>The node group update configuration.</p>
2048
- */
2049
- updateConfig?: NodegroupUpdateConfig;
2050
-
2051
- /**
2052
- * <p>The capacity type for your node group.</p>
2053
- */
2054
- capacityType?: CapacityTypes | string;
2055
-
2056
- /**
2057
- * <p>The Kubernetes version to use for your managed nodes. By default, the Kubernetes
2058
- * version of the cluster is used, and this is the only accepted specified value.
2059
- * If you specify <code>launchTemplate</code>, and your launch template uses a custom AMI, then don't specify <code>version</code>,
2060
- * or the node group deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
2061
- */
2062
- version?: string;
2063
-
2064
- /**
2065
- * <p>The AMI version of the Amazon EKS optimized AMI to use with your node group. By default,
2066
- * the latest available AMI version for the node group's current Kubernetes version is
2067
- * used. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
2068
- * optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>. If you specify <code>launchTemplate</code>,
2069
- * and your launch template uses a custom AMI, then don't specify <code>releaseVersion</code>, or the node group
2070
- * deployment will fail. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
2071
- */
2072
- releaseVersion?: string;
2073
- }
2074
-
2075
- export namespace CreateNodegroupRequest {
2076
- /**
2077
- * @internal
2078
- */
2079
- export const filterSensitiveLog = (obj: CreateNodegroupRequest): any => ({
2080
- ...obj,
2081
- });
2082
- }
2083
-
2084
- export enum NodegroupIssueCode {
2085
- ACCESS_DENIED = "AccessDenied",
2086
- ASG_INSTANCE_LAUNCH_FAILURES = "AsgInstanceLaunchFailures",
2087
- AUTO_SCALING_GROUP_INVALID_CONFIGURATION = "AutoScalingGroupInvalidConfiguration",
2088
- AUTO_SCALING_GROUP_NOT_FOUND = "AutoScalingGroupNotFound",
2089
- CLUSTER_UNREACHABLE = "ClusterUnreachable",
2090
- EC2_LAUNCH_TEMPLATE_NOT_FOUND = "Ec2LaunchTemplateNotFound",
2091
- EC2_LAUNCH_TEMPLATE_VERSION_MISMATCH = "Ec2LaunchTemplateVersionMismatch",
2092
- EC2_SECURITY_GROUP_DELETION_FAILURE = "Ec2SecurityGroupDeletionFailure",
2093
- EC2_SECURITY_GROUP_NOT_FOUND = "Ec2SecurityGroupNotFound",
2094
- EC2_SUBNET_INVALID_CONFIGURATION = "Ec2SubnetInvalidConfiguration",
2095
- EC2_SUBNET_NOT_FOUND = "Ec2SubnetNotFound",
2096
- IAM_INSTANCE_PROFILE_NOT_FOUND = "IamInstanceProfileNotFound",
2097
- IAM_LIMIT_EXCEEDED = "IamLimitExceeded",
2098
- IAM_NODE_ROLE_NOT_FOUND = "IamNodeRoleNotFound",
2099
- INSTANCE_LIMIT_EXCEEDED = "InstanceLimitExceeded",
2100
- INSUFFICIENT_FREE_ADDRESSES = "InsufficientFreeAddresses",
2101
- INTERNAL_FAILURE = "InternalFailure",
2102
- NODE_CREATION_FAILURE = "NodeCreationFailure",
2103
- }
2104
-
2105
- /**
2106
- * <p>An object representing an issue with an Amazon EKS resource.</p>
2107
- */
2108
- export interface Issue {
2109
- /**
2110
- * <p>A brief description of the error.</p>
2111
- * <ul>
2112
- * <li>
2113
- * <p>
2114
- * <b>AccessDenied</b>: Amazon EKS or one or more of your
2115
- * managed nodes is failing to authenticate or authorize with your Kubernetes
2116
- * cluster API server.</p>
2117
- * </li>
2118
- * <li>
2119
- * <p>
2120
- * <b>AsgInstanceLaunchFailures</b>: Your Auto Scaling group is
2121
- * experiencing failures while attempting to launch instances.</p>
2122
- * </li>
2123
- * <li>
2124
- * <p>
2125
- * <b>AutoScalingGroupNotFound</b>: We couldn't find
2126
- * the Auto Scaling group associated with the managed node group. You may be able to
2127
- * recreate an Auto Scaling group with the same settings to recover.</p>
2128
- * </li>
2129
- * <li>
2130
- * <p>
2131
- * <b>ClusterUnreachable</b>: Amazon EKS or one or more of
2132
- * your managed nodes is unable to to communicate with your Kubernetes cluster API
2133
- * server. This can happen if there are network disruptions or if API servers are
2134
- * timing out processing requests. </p>
2135
- * </li>
2136
- * <li>
2137
- * <p>
2138
- * <b>Ec2LaunchTemplateNotFound</b>: We couldn't find
2139
- * the Amazon EC2 launch template for your managed node group. You may be able to
2140
- * recreate a launch template with the same settings to recover.</p>
2141
- * </li>
2142
- * <li>
2143
- * <p>
2144
- * <b>Ec2LaunchTemplateVersionMismatch</b>: The Amazon EC2
2145
- * launch template version for your managed node group does not match the version
2146
- * that Amazon EKS created. You may be able to revert to the version that Amazon EKS created
2147
- * to recover.</p>
2148
- * </li>
2149
- * <li>
2150
- * <p>
2151
- * <b>Ec2SecurityGroupDeletionFailure</b>: We could not
2152
- * delete the remote access security group for your managed node group. Remove any
2153
- * dependencies from the security group.</p>
2154
- * </li>
2155
- * <li>
2156
- * <p>
2157
- * <b>Ec2SecurityGroupNotFound</b>: We couldn't find
2158
- * the cluster security group for the cluster. You must recreate your
2159
- * cluster.</p>
2160
- * </li>
2161
- * <li>
2162
- * <p>
2163
- * <b>Ec2SubnetInvalidConfiguration</b>: One or more
2164
- * Amazon EC2 subnets specified for a node group do not automatically assign public IP
2165
- * addresses to instances launched into it. If you want your instances to be
2166
- * assigned a public IP address, then you need to enable the <code>auto-assign
2167
- * public IP address</code> setting for the subnet. See <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip">Modifying
2168
- * the public IPv4 addressing attribute for your subnet</a> in the Amazon
2169
- * VPC User Guide.</p>
2170
- * </li>
2171
- * <li>
2172
- * <p>
2173
- * <b>IamInstanceProfileNotFound</b>: We couldn't find
2174
- * the IAM instance profile for your managed node group. You may be able to
2175
- * recreate an instance profile with the same settings to recover.</p>
2176
- * </li>
2177
- * <li>
2178
- * <p>
2179
- * <b>IamNodeRoleNotFound</b>: We couldn't find the
2180
- * IAM role for your managed node group. You may be able to recreate an IAM role
2181
- * with the same settings to recover.</p>
2182
- * </li>
2183
- * <li>
2184
- * <p>
2185
- * <b>InstanceLimitExceeded</b>: Your Amazon Web Services account is
2186
- * unable to launch any more instances of the specified instance type. You may be
2187
- * able to request an Amazon EC2 instance limit increase to recover.</p>
2188
- * </li>
2189
- * <li>
2190
- * <p>
2191
- * <b>InsufficientFreeAddresses</b>: One or more of the
2192
- * subnets associated with your managed node group does not have enough available
2193
- * IP addresses for new nodes.</p>
2194
- * </li>
2195
- * <li>
2196
- * <p>
2197
- * <b>InternalFailure</b>: These errors are usually
2198
- * caused by an Amazon EKS server-side issue.</p>
2199
- * </li>
2200
- * <li>
2201
- * <p>
2202
- * <b>NodeCreationFailure</b>: Your launched instances
2203
- * are unable to register with your Amazon EKS cluster. Common causes of this failure
2204
- * are insufficient <a href="https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html">node IAM role</a>
2205
- * permissions or lack of outbound internet access for the nodes. </p>
2206
- * </li>
2207
- * </ul>
2208
- */
2209
- code?: NodegroupIssueCode | string;
2210
-
2211
- /**
2212
- * <p>The error message associated with the issue.</p>
2213
- */
2214
- message?: string;
2215
-
2216
- /**
2217
- * <p>The Amazon Web Services resources that are afflicted by this issue.</p>
2218
- */
2219
- resourceIds?: string[];
2220
- }
2221
-
2222
- export namespace Issue {
2223
- /**
2224
- * @internal
2225
- */
2226
- export const filterSensitiveLog = (obj: Issue): any => ({
2227
- ...obj,
2228
- });
2229
- }
2230
-
2231
- /**
2232
- * <p>An object representing the health status of the node group.</p>
2233
- */
2234
- export interface NodegroupHealth {
2235
- /**
2236
- * <p>Any issues that are associated with the node group. </p>
2237
- */
2238
- issues?: Issue[];
2239
- }
2240
-
2241
- export namespace NodegroupHealth {
2242
- /**
2243
- * @internal
2244
- */
2245
- export const filterSensitiveLog = (obj: NodegroupHealth): any => ({
2246
- ...obj,
2247
- });
2248
- }
2249
-
2250
- /**
2251
- * <p>An object representing the resources associated with the node group, such as Auto
2252
- * Scaling groups and security groups for remote access.</p>
2253
- */
2254
- export interface NodegroupResources {
2255
- /**
2256
- * <p>The Auto Scaling groups associated with the node group.</p>
2257
- */
2258
- autoScalingGroups?: AutoScalingGroup[];
2259
-
2260
- /**
2261
- * <p>The remote access security group associated with the node group. This security group
2262
- * controls SSH access to the nodes.</p>
2263
- */
2264
- remoteAccessSecurityGroup?: string;
2265
- }
2266
-
2267
- export namespace NodegroupResources {
2268
- /**
2269
- * @internal
2270
- */
2271
- export const filterSensitiveLog = (obj: NodegroupResources): any => ({
2272
- ...obj,
2273
- });
2274
- }
2275
-
2276
- export type NodegroupStatus =
2277
- | "ACTIVE"
2278
- | "CREATE_FAILED"
2279
- | "CREATING"
2280
- | "DEGRADED"
2281
- | "DELETE_FAILED"
2282
- | "DELETING"
2283
- | "UPDATING";
2284
-
2285
- /**
2286
- * <p>An object representing an Amazon EKS managed node group.</p>
2287
- */
2288
- export interface Nodegroup {
2289
- /**
2290
- * <p>The name associated with an Amazon EKS managed node group.</p>
2291
- */
2292
- nodegroupName?: string;
2293
-
2294
- /**
2295
- * <p>The Amazon Resource Name (ARN) associated with the managed node group.</p>
2296
- */
2297
- nodegroupArn?: string;
2298
-
2299
- /**
2300
- * <p>The name of the cluster that the managed node group resides in.</p>
2301
- */
2302
- clusterName?: string;
2303
-
2304
- /**
2305
- * <p>The Kubernetes version of the managed node group.</p>
2306
- */
2307
- version?: string;
2308
-
2309
- /**
2310
- * <p>If the node group was deployed using a launch template with a custom AMI, then this is
2311
- * the AMI ID that was specified in the launch template. For node groups that weren't
2312
- * deployed using a launch template, this is the version of the Amazon EKS optimized AMI that
2313
- * the node group was deployed with.</p>
2314
- */
2315
- releaseVersion?: string;
2316
-
2317
- /**
2318
- * <p>The Unix epoch timestamp in seconds for when the managed node group was
2319
- * created.</p>
2320
- */
2321
- createdAt?: Date;
2322
-
2323
- /**
2324
- * <p>The Unix epoch timestamp in seconds for when the managed node group was last
2325
- * modified.</p>
2326
- */
2327
- modifiedAt?: Date;
2328
-
2329
- /**
2330
- * <p>The current status of the managed node group.</p>
2331
- */
2332
- status?: NodegroupStatus | string;
2333
-
2334
- /**
2335
- * <p>The capacity type of your managed node group.</p>
2336
- */
2337
- capacityType?: CapacityTypes | string;
2338
-
2339
- /**
2340
- * <p>The scaling configuration details for the Auto Scaling group that is associated with
2341
- * your node group.</p>
2342
- */
2343
- scalingConfig?: NodegroupScalingConfig;
2344
-
2345
- /**
2346
- * <p>If the node group wasn't deployed with a launch template, then this is the instance
2347
- * type that is associated with the node group. If the node group was deployed with a
2348
- * launch template, then this is <code>null</code>.</p>
2349
- */
2350
- instanceTypes?: string[];
2351
-
2352
- /**
2353
- * <p>The subnets that were specified for the Auto Scaling group that is associated with
2354
- * your node group.</p>
2355
- */
2356
- subnets?: string[];
2357
-
2358
- /**
2359
- * <p>If the node group wasn't deployed with a launch template, then this is the remote
2360
- * access configuration that is associated with the node group. If the node group was
2361
- * deployed with a launch template, then this is <code>null</code>.</p>
2362
- */
2363
- remoteAccess?: RemoteAccessConfig;
2364
-
2365
- /**
2366
- * <p>If the node group was deployed using a launch template with a custom AMI, then this is
2367
- * <code>CUSTOM</code>. For node groups that weren't deployed using a launch template,
2368
- * this is the AMI type that was specified in the node group configuration.</p>
2369
- */
2370
- amiType?: AMITypes | string;
2371
-
2372
- /**
2373
- * <p>The IAM role associated with your node group. The Amazon EKS node <code>kubelet</code>
2374
- * daemon makes calls to Amazon Web Services APIs on your behalf. Nodes receive permissions for these API
2375
- * calls through an IAM instance profile and associated policies.</p>
2376
- */
2377
- nodeRole?: string;
2378
-
2379
- /**
2380
- * <p>The Kubernetes labels applied to the nodes in the node group.</p>
2381
- * <note>
2382
- * <p>Only labels that are applied with the Amazon EKS API are shown here. There may be other
2383
- * Kubernetes labels applied to the nodes in this group.</p>
2384
- * </note>
2385
- */
2386
- labels?: { [key: string]: string };
2387
-
2388
- /**
2389
- * <p>The Kubernetes taints to be applied to the nodes in the node group when they are
2390
- * created. Effect is one of <code>No_Schedule</code>, <code>Prefer_No_Schedule</code>, or <code>No_Execute</code>. Kubernetes taints
2391
- * can be used together with tolerations to control how workloads are scheduled to your
2392
- * nodes.</p>
2393
- */
2394
- taints?: Taint[];
2395
-
2396
- /**
2397
- * <p>The resources associated with the node group, such as Auto Scaling groups and security
2398
- * groups for remote access.</p>
2399
- */
2400
- resources?: NodegroupResources;
2401
-
2402
- /**
2403
- * <p>If the node group wasn't deployed with a launch template, then this is the disk size
2404
- * in the node group configuration. If the node group was deployed with a launch template,
2405
- * then this is <code>null</code>.</p>
2406
- */
2407
- diskSize?: number;
2408
-
2409
- /**
2410
- * <p>The health status of the node group. If there are issues with your node group's
2411
- * health, they are listed here.</p>
2412
- */
2413
- health?: NodegroupHealth;
2414
-
2415
- /**
2416
- * <p>The node group update configuration.</p>
2417
- */
2418
- updateConfig?: NodegroupUpdateConfig;
2419
-
2420
- /**
2421
- * <p>If a launch template was used to create the node group, then this is the launch
2422
- * template that was used.</p>
2423
- */
2424
- launchTemplate?: LaunchTemplateSpecification;
2425
-
2426
- /**
2427
- * <p>The metadata applied to the node group to assist with categorization and organization.
2428
- * Each tag consists of a key and an optional value, both of which you define. Node group
2429
- * tags do not propagate to any other resources associated with the node group, such as the
2430
- * Amazon EC2 instances or subnets. </p>
2431
- */
2432
- tags?: { [key: string]: string };
2433
- }
2434
-
2435
- export namespace Nodegroup {
2436
- /**
2437
- * @internal
2438
- */
2439
- export const filterSensitiveLog = (obj: Nodegroup): any => ({
2440
- ...obj,
2441
- });
2442
- }
2443
-
2444
- export interface CreateNodegroupResponse {
2445
- /**
2446
- * <p>The full description of your new node group.</p>
2447
- */
2448
- nodegroup?: Nodegroup;
2449
- }
2450
-
2451
- export namespace CreateNodegroupResponse {
2452
- /**
2453
- * @internal
2454
- */
2455
- export const filterSensitiveLog = (obj: CreateNodegroupResponse): any => ({
2456
- ...obj,
2457
- });
2458
- }
2459
-
2460
- export interface DeleteAddonRequest {
2461
- /**
2462
- * <p>The name of the cluster to delete the add-on from.</p>
2463
- */
2464
- clusterName: string | undefined;
2465
-
2466
- /**
2467
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html">
2468
- * <code>ListAddons</code>
2469
- * </a>.</p>
2470
- */
2471
- addonName: string | undefined;
2472
-
2473
- /**
2474
- * <p>Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it is not removed.</p>
2475
- */
2476
- preserve?: boolean;
2477
- }
2478
-
2479
- export namespace DeleteAddonRequest {
2480
- /**
2481
- * @internal
2482
- */
2483
- export const filterSensitiveLog = (obj: DeleteAddonRequest): any => ({
2484
- ...obj,
2485
- });
2486
- }
2487
-
2488
- export interface DeleteAddonResponse {
2489
- /**
2490
- * <p>An Amazon EKS add-on.</p>
2491
- */
2492
- addon?: Addon;
2493
- }
2494
-
2495
- export namespace DeleteAddonResponse {
2496
- /**
2497
- * @internal
2498
- */
2499
- export const filterSensitiveLog = (obj: DeleteAddonResponse): any => ({
2500
- ...obj,
2501
- });
2502
- }
2503
-
2504
- export interface DeleteClusterRequest {
2505
- /**
2506
- * <p>The name of the cluster to delete.</p>
2507
- */
2508
- name: string | undefined;
2509
- }
2510
-
2511
- export namespace DeleteClusterRequest {
2512
- /**
2513
- * @internal
2514
- */
2515
- export const filterSensitiveLog = (obj: DeleteClusterRequest): any => ({
2516
- ...obj,
2517
- });
2518
- }
2519
-
2520
- export interface DeleteClusterResponse {
2521
- /**
2522
- * <p>The full description of the cluster to delete.</p>
2523
- */
2524
- cluster?: Cluster;
2525
- }
2526
-
2527
- export namespace DeleteClusterResponse {
2528
- /**
2529
- * @internal
2530
- */
2531
- export const filterSensitiveLog = (obj: DeleteClusterResponse): any => ({
2532
- ...obj,
2533
- });
2534
- }
2535
-
2536
- export interface DeleteFargateProfileRequest {
2537
- /**
2538
- * <p>The name of the Amazon EKS cluster associated with the Fargate profile to delete.</p>
2539
- */
2540
- clusterName: string | undefined;
2541
-
2542
- /**
2543
- * <p>The name of the Fargate profile to delete.</p>
2544
- */
2545
- fargateProfileName: string | undefined;
2546
- }
2547
-
2548
- export namespace DeleteFargateProfileRequest {
2549
- /**
2550
- * @internal
2551
- */
2552
- export const filterSensitiveLog = (obj: DeleteFargateProfileRequest): any => ({
2553
- ...obj,
2554
- });
2555
- }
2556
-
2557
- export interface DeleteFargateProfileResponse {
2558
- /**
2559
- * <p>The deleted Fargate profile.</p>
2560
- */
2561
- fargateProfile?: FargateProfile;
2562
- }
2563
-
2564
- export namespace DeleteFargateProfileResponse {
2565
- /**
2566
- * @internal
2567
- */
2568
- export const filterSensitiveLog = (obj: DeleteFargateProfileResponse): any => ({
2569
- ...obj,
2570
- });
2571
- }
2572
-
2573
- export interface DeleteNodegroupRequest {
2574
- /**
2575
- * <p>The name of the Amazon EKS cluster that is associated with your node group.</p>
2576
- */
2577
- clusterName: string | undefined;
2578
-
2579
- /**
2580
- * <p>The name of the node group to delete.</p>
2581
- */
2582
- nodegroupName: string | undefined;
2583
- }
2584
-
2585
- export namespace DeleteNodegroupRequest {
2586
- /**
2587
- * @internal
2588
- */
2589
- export const filterSensitiveLog = (obj: DeleteNodegroupRequest): any => ({
2590
- ...obj,
2591
- });
2592
- }
2593
-
2594
- export interface DeleteNodegroupResponse {
2595
- /**
2596
- * <p>The full description of your deleted node group.</p>
2597
- */
2598
- nodegroup?: Nodegroup;
2599
- }
2600
-
2601
- export namespace DeleteNodegroupResponse {
2602
- /**
2603
- * @internal
2604
- */
2605
- export const filterSensitiveLog = (obj: DeleteNodegroupResponse): any => ({
2606
- ...obj,
2607
- });
2608
- }
2609
-
2610
- export interface DeregisterClusterRequest {
2611
- /**
2612
- * <p>The name of the connected cluster to deregister.</p>
2613
- */
2614
- name: string | undefined;
2615
- }
2616
-
2617
- export namespace DeregisterClusterRequest {
2618
- /**
2619
- * @internal
2620
- */
2621
- export const filterSensitiveLog = (obj: DeregisterClusterRequest): any => ({
2622
- ...obj,
2623
- });
2624
- }
2625
-
2626
- export interface DeregisterClusterResponse {
2627
- /**
2628
- * <p>An object representing an Amazon EKS cluster.</p>
2629
- */
2630
- cluster?: Cluster;
2631
- }
2632
-
2633
- export namespace DeregisterClusterResponse {
2634
- /**
2635
- * @internal
2636
- */
2637
- export const filterSensitiveLog = (obj: DeregisterClusterResponse): any => ({
2638
- ...obj,
2639
- });
2640
- }
2641
-
2642
- export interface DescribeAddonRequest {
2643
- /**
2644
- * <p>The name of the cluster.</p>
2645
- */
2646
- clusterName: string | undefined;
2647
-
2648
- /**
2649
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html">
2650
- * <code>ListAddons</code>
2651
- * </a>.</p>
2652
- */
2653
- addonName: string | undefined;
2654
- }
2655
-
2656
- export namespace DescribeAddonRequest {
2657
- /**
2658
- * @internal
2659
- */
2660
- export const filterSensitiveLog = (obj: DescribeAddonRequest): any => ({
2661
- ...obj,
2662
- });
2663
- }
2664
-
2665
- export interface DescribeAddonResponse {
2666
- /**
2667
- * <p>An Amazon EKS add-on.</p>
2668
- */
2669
- addon?: Addon;
2670
- }
2671
-
2672
- export namespace DescribeAddonResponse {
2673
- /**
2674
- * @internal
2675
- */
2676
- export const filterSensitiveLog = (obj: DescribeAddonResponse): any => ({
2677
- ...obj,
2678
- });
2679
- }
2680
-
2681
- export interface DescribeAddonVersionsRequest {
2682
- /**
2683
- * <p>The Kubernetes versions that the add-on can be used with.</p>
2684
- */
2685
- kubernetesVersion?: string;
2686
-
2687
- /**
2688
- * <p>The maximum number of results to return.</p>
2689
- */
2690
- maxResults?: number;
2691
-
2692
- /**
2693
- * <p>The <code>nextToken</code> value returned from a previous paginated
2694
- * <code>DescribeAddonVersionsRequest</code> where <code>maxResults</code> was used and
2695
- * the results exceeded the value of that parameter. Pagination continues from the end of
2696
- * the previous results that returned the <code>nextToken</code> value.</p>
2697
- * <note>
2698
- * <p>This token should be treated as an opaque identifier that is used only to
2699
- * retrieve the next items in a list and not for other programmatic purposes.</p>
2700
- * </note>
2701
- */
2702
- nextToken?: string;
2703
-
2704
- /**
2705
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html">
2706
- * <code>ListAddons</code>
2707
- * </a>.</p>
2708
- */
2709
- addonName?: string;
2710
- }
2711
-
2712
- export namespace DescribeAddonVersionsRequest {
2713
- /**
2714
- * @internal
2715
- */
2716
- export const filterSensitiveLog = (obj: DescribeAddonVersionsRequest): any => ({
2717
- ...obj,
2718
- });
2719
- }
2720
-
2721
- export interface DescribeAddonVersionsResponse {
2722
- /**
2723
- * <p>The list of available versions with Kubernetes version compatibility.</p>
2724
- */
2725
- addons?: AddonInfo[];
2726
-
2727
- /**
2728
- * <p>The <code>nextToken</code> value returned from a previous paginated
2729
- * <code>DescribeAddonVersionsResponse</code> where <code>maxResults</code> was used
2730
- * and the results exceeded the value of that parameter. Pagination continues from the end
2731
- * of the previous results that returned the <code>nextToken</code> value.</p>
2732
- * <note>
2733
- * <p>This token should be treated as an opaque identifier that is used only to
2734
- * retrieve the next items in a list and not for other programmatic purposes.</p>
2735
- * </note>
2736
- */
2737
- nextToken?: string;
2738
- }
2739
-
2740
- export namespace DescribeAddonVersionsResponse {
2741
- /**
2742
- * @internal
2743
- */
2744
- export const filterSensitiveLog = (obj: DescribeAddonVersionsResponse): any => ({
2745
- ...obj,
2746
- });
2747
- }
2748
-
2749
- export interface DescribeClusterRequest {
2750
- /**
2751
- * <p>The name of the cluster to describe.</p>
2752
- */
2753
- name: string | undefined;
2754
- }
2755
-
2756
- export namespace DescribeClusterRequest {
2757
- /**
2758
- * @internal
2759
- */
2760
- export const filterSensitiveLog = (obj: DescribeClusterRequest): any => ({
2761
- ...obj,
2762
- });
2763
- }
2764
-
2765
- export interface DescribeClusterResponse {
2766
- /**
2767
- * <p>The full description of your specified cluster.</p>
2768
- */
2769
- cluster?: Cluster;
2770
- }
2771
-
2772
- export namespace DescribeClusterResponse {
2773
- /**
2774
- * @internal
2775
- */
2776
- export const filterSensitiveLog = (obj: DescribeClusterResponse): any => ({
2777
- ...obj,
2778
- });
2779
- }
2780
-
2781
- export interface DescribeFargateProfileRequest {
2782
- /**
2783
- * <p>The name of the Amazon EKS cluster associated with the Fargate profile.</p>
2784
- */
2785
- clusterName: string | undefined;
2786
-
2787
- /**
2788
- * <p>The name of the Fargate profile to describe.</p>
2789
- */
2790
- fargateProfileName: string | undefined;
2791
- }
2792
-
2793
- export namespace DescribeFargateProfileRequest {
2794
- /**
2795
- * @internal
2796
- */
2797
- export const filterSensitiveLog = (obj: DescribeFargateProfileRequest): any => ({
2798
- ...obj,
2799
- });
2800
- }
2801
-
2802
- export interface DescribeFargateProfileResponse {
2803
- /**
2804
- * <p>The full description of your Fargate profile.</p>
2805
- */
2806
- fargateProfile?: FargateProfile;
2807
- }
2808
-
2809
- export namespace DescribeFargateProfileResponse {
2810
- /**
2811
- * @internal
2812
- */
2813
- export const filterSensitiveLog = (obj: DescribeFargateProfileResponse): any => ({
2814
- ...obj,
2815
- });
2816
- }
2817
-
2818
- /**
2819
- * <p>An object representing an identity provider configuration.</p>
2820
- */
2821
- export interface IdentityProviderConfig {
2822
- /**
2823
- * <p>The type of the identity provider configuration.</p>
2824
- */
2825
- type: string | undefined;
2826
-
2827
- /**
2828
- * <p>The name of the identity provider configuration.</p>
2829
- */
2830
- name: string | undefined;
2831
- }
2832
-
2833
- export namespace IdentityProviderConfig {
2834
- /**
2835
- * @internal
2836
- */
2837
- export const filterSensitiveLog = (obj: IdentityProviderConfig): any => ({
2838
- ...obj,
2839
- });
2840
- }
2841
-
2842
- export interface DescribeIdentityProviderConfigRequest {
2843
- /**
2844
- * <p>The cluster name that the identity provider configuration is associated to.</p>
2845
- */
2846
- clusterName: string | undefined;
2847
-
2848
- /**
2849
- * <p>An object that represents an identity provider configuration.</p>
2850
- */
2851
- identityProviderConfig: IdentityProviderConfig | undefined;
2852
- }
2853
-
2854
- export namespace DescribeIdentityProviderConfigRequest {
2855
- /**
2856
- * @internal
2857
- */
2858
- export const filterSensitiveLog = (obj: DescribeIdentityProviderConfigRequest): any => ({
2859
- ...obj,
2860
- });
2861
- }
2862
-
2863
- export enum ConfigStatus {
2864
- ACTIVE = "ACTIVE",
2865
- CREATING = "CREATING",
2866
- DELETING = "DELETING",
2867
- }
2868
-
2869
- /**
2870
- * <p>An object that represents the configuration for an OpenID Connect (OIDC) identity
2871
- * provider. </p>
2872
- */
2873
- export interface OidcIdentityProviderConfig {
2874
- /**
2875
- * <p>The name of the configuration.</p>
2876
- */
2877
- identityProviderConfigName?: string;
2878
-
2879
- /**
2880
- * <p>The ARN of the configuration.</p>
2881
- */
2882
- identityProviderConfigArn?: string;
2883
-
2884
- /**
2885
- * <p>The cluster that the configuration is associated to.</p>
2886
- */
2887
- clusterName?: string;
2888
-
2889
- /**
2890
- * <p>The URL of the OIDC identity provider that allows the API server to discover public
2891
- * signing keys for verifying tokens.</p>
2892
- */
2893
- issuerUrl?: string;
2894
-
2895
- /**
2896
- * <p>This is also known as <i>audience</i>. The ID of the client application
2897
- * that makes authentication requests to the OIDC identity provider.</p>
2898
- */
2899
- clientId?: string;
2900
-
2901
- /**
2902
- * <p>The JSON Web token (JWT) claim that is used as the username.</p>
2903
- */
2904
- usernameClaim?: string;
2905
-
2906
- /**
2907
- * <p>The prefix that is prepended to username claims to prevent clashes with existing
2908
- * names. The prefix can't contain <code>system:</code>
2909
- * </p>
2910
- */
2911
- usernamePrefix?: string;
2912
-
2913
- /**
2914
- * <p>The JSON web token (JWT) claim that the provider uses to return your groups.</p>
2915
- */
2916
- groupsClaim?: string;
2917
-
2918
- /**
2919
- * <p>The prefix that is prepended to group claims to prevent clashes with existing names
2920
- * (such as <code>system:</code> groups). For example, the value<code> oidc:</code> creates
2921
- * group names like <code>oidc:engineering</code> and <code>oidc:infra</code>. The prefix
2922
- * can't contain <code>system:</code>
2923
- * </p>
2924
- */
2925
- groupsPrefix?: string;
2926
-
2927
- /**
2928
- * <p>The key-value pairs that describe required claims in the identity token. If set, each
2929
- * claim is verified to be present in the token with a matching value.</p>
2930
- */
2931
- requiredClaims?: { [key: string]: string };
2932
-
2933
- /**
2934
- * <p>The metadata to apply to the provider configuration to assist with categorization and
2935
- * organization. Each tag consists of a key and an optional value, both of which you
2936
- * defined.</p>
2937
- */
2938
- tags?: { [key: string]: string };
2939
-
2940
- /**
2941
- * <p>The status of the OIDC identity provider.</p>
2942
- */
2943
- status?: ConfigStatus | string;
2944
- }
2945
-
2946
- export namespace OidcIdentityProviderConfig {
2947
- /**
2948
- * @internal
2949
- */
2950
- export const filterSensitiveLog = (obj: OidcIdentityProviderConfig): any => ({
2951
- ...obj,
2952
- });
2953
- }
2954
-
2955
- /**
2956
- * <p>The full description of your identity configuration.</p>
2957
- */
2958
- export interface IdentityProviderConfigResponse {
2959
- /**
2960
- * <p>An object that represents an OpenID Connect (OIDC) identity provider
2961
- * configuration.</p>
2962
- */
2963
- oidc?: OidcIdentityProviderConfig;
2964
- }
2965
-
2966
- export namespace IdentityProviderConfigResponse {
2967
- /**
2968
- * @internal
2969
- */
2970
- export const filterSensitiveLog = (obj: IdentityProviderConfigResponse): any => ({
2971
- ...obj,
2972
- });
2973
- }
2974
-
2975
- export interface DescribeIdentityProviderConfigResponse {
2976
- /**
2977
- * <p>The object that represents an OpenID Connect (OIDC) identity provider
2978
- * configuration.</p>
2979
- */
2980
- identityProviderConfig?: IdentityProviderConfigResponse;
2981
- }
2982
-
2983
- export namespace DescribeIdentityProviderConfigResponse {
2984
- /**
2985
- * @internal
2986
- */
2987
- export const filterSensitiveLog = (obj: DescribeIdentityProviderConfigResponse): any => ({
2988
- ...obj,
2989
- });
2990
- }
2991
-
2992
- export interface DescribeNodegroupRequest {
2993
- /**
2994
- * <p>The name of the Amazon EKS cluster associated with the node group.</p>
2995
- */
2996
- clusterName: string | undefined;
2997
-
2998
- /**
2999
- * <p>The name of the node group to describe.</p>
3000
- */
3001
- nodegroupName: string | undefined;
3002
- }
3003
-
3004
- export namespace DescribeNodegroupRequest {
3005
- /**
3006
- * @internal
3007
- */
3008
- export const filterSensitiveLog = (obj: DescribeNodegroupRequest): any => ({
3009
- ...obj,
3010
- });
3011
- }
3012
-
3013
- export interface DescribeNodegroupResponse {
3014
- /**
3015
- * <p>The full description of your node group.</p>
3016
- */
3017
- nodegroup?: Nodegroup;
3018
- }
3019
-
3020
- export namespace DescribeNodegroupResponse {
3021
- /**
3022
- * @internal
3023
- */
3024
- export const filterSensitiveLog = (obj: DescribeNodegroupResponse): any => ({
3025
- ...obj,
3026
- });
3027
- }
3028
-
3029
- export interface DescribeUpdateRequest {
3030
- /**
3031
- * <p>The name of the Amazon EKS cluster associated with the update.</p>
3032
- */
3033
- name: string | undefined;
3034
-
3035
- /**
3036
- * <p>The ID of the update to describe.</p>
3037
- */
3038
- updateId: string | undefined;
3039
-
3040
- /**
3041
- * <p>The name of the Amazon EKS node group associated with the update.</p>
3042
- */
3043
- nodegroupName?: string;
3044
-
3045
- /**
3046
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html">
3047
- * <code>ListAddons</code>
3048
- * </a>.</p>
3049
- */
3050
- addonName?: string;
3051
- }
3052
-
3053
- export namespace DescribeUpdateRequest {
3054
- /**
3055
- * @internal
3056
- */
3057
- export const filterSensitiveLog = (obj: DescribeUpdateRequest): any => ({
3058
- ...obj,
3059
- });
3060
- }
3061
-
3062
- export interface DescribeUpdateResponse {
3063
- /**
3064
- * <p>The full description of the specified update.</p>
3065
- */
3066
- update?: Update;
3067
- }
3068
-
3069
- export namespace DescribeUpdateResponse {
3070
- /**
3071
- * @internal
3072
- */
3073
- export const filterSensitiveLog = (obj: DescribeUpdateResponse): any => ({
3074
- ...obj,
3075
- });
3076
- }
3077
-
3078
- export interface DisassociateIdentityProviderConfigRequest {
3079
- /**
3080
- * <p>The name of the cluster to disassociate an identity provider from.</p>
3081
- */
3082
- clusterName: string | undefined;
3083
-
3084
- /**
3085
- * <p>An object that represents an identity provider configuration.</p>
3086
- */
3087
- identityProviderConfig: IdentityProviderConfig | undefined;
3088
-
3089
- /**
3090
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
3091
- * request.</p>
3092
- */
3093
- clientRequestToken?: string;
3094
- }
3095
-
3096
- export namespace DisassociateIdentityProviderConfigRequest {
3097
- /**
3098
- * @internal
3099
- */
3100
- export const filterSensitiveLog = (obj: DisassociateIdentityProviderConfigRequest): any => ({
3101
- ...obj,
3102
- });
3103
- }
3104
-
3105
- export interface DisassociateIdentityProviderConfigResponse {
3106
- /**
3107
- * <p>An object representing an asynchronous update.</p>
3108
- */
3109
- update?: Update;
3110
- }
3111
-
3112
- export namespace DisassociateIdentityProviderConfigResponse {
3113
- /**
3114
- * @internal
3115
- */
3116
- export const filterSensitiveLog = (obj: DisassociateIdentityProviderConfigResponse): any => ({
3117
- ...obj,
3118
- });
3119
- }
3120
-
3121
- export interface ListAddonsRequest {
3122
- /**
3123
- * <p>The name of the cluster.</p>
3124
- */
3125
- clusterName: string | undefined;
3126
-
3127
- /**
3128
- * <p>The maximum number of add-on results returned by <code>ListAddonsRequest</code> in
3129
- * paginated output. When you use this parameter, <code>ListAddonsRequest</code> returns
3130
- * only <code>maxResults</code> results in a single page along with a
3131
- * <code>nextToken</code> response element. You can see the remaining results of the
3132
- * initial request by sending another <code>ListAddonsRequest</code> request with the
3133
- * returned <code>nextToken</code> value. This value can be between 1 and
3134
- * 100. If you don't use this parameter, <code>ListAddonsRequest</code>
3135
- * returns up to 100 results and a <code>nextToken</code> value, if
3136
- * applicable.</p>
3137
- */
3138
- maxResults?: number;
3139
-
3140
- /**
3141
- * <p>The <code>nextToken</code> value returned from a previous paginated
3142
- * <code>ListAddonsRequest</code> where <code>maxResults</code> was used and the
3143
- * results exceeded the value of that parameter. Pagination continues from the end of the
3144
- * previous results that returned the <code>nextToken</code> value.</p>
3145
- * <note>
3146
- * <p>This token should be treated as an opaque identifier that is used only to
3147
- * retrieve the next items in a list and not for other programmatic purposes.</p>
3148
- * </note>
3149
- */
3150
- nextToken?: string;
3151
- }
3152
-
3153
- export namespace ListAddonsRequest {
3154
- /**
3155
- * @internal
3156
- */
3157
- export const filterSensitiveLog = (obj: ListAddonsRequest): any => ({
3158
- ...obj,
3159
- });
3160
- }
3161
-
3162
- export interface ListAddonsResponse {
3163
- /**
3164
- * <p>A list of available add-ons.</p>
3165
- */
3166
- addons?: string[];
3167
-
3168
- /**
3169
- * <p>The <code>nextToken</code> value returned from a previous paginated
3170
- * <code>ListAddonsResponse</code> where <code>maxResults</code> was used and the
3171
- * results exceeded the value of that parameter. Pagination continues from the end of the
3172
- * previous results that returned the <code>nextToken</code> value.</p>
3173
- * <note>
3174
- * <p>This token should be treated as an opaque identifier that is used only to
3175
- * retrieve the next items in a list and not for other programmatic purposes.</p>
3176
- * </note>
3177
- */
3178
- nextToken?: string;
3179
- }
3180
-
3181
- export namespace ListAddonsResponse {
3182
- /**
3183
- * @internal
3184
- */
3185
- export const filterSensitiveLog = (obj: ListAddonsResponse): any => ({
3186
- ...obj,
3187
- });
3188
- }
3189
-
3190
- export interface ListClustersRequest {
3191
- /**
3192
- * <p>The maximum number of cluster results returned by <code>ListClusters</code> in
3193
- * paginated output. When you use this parameter, <code>ListClusters</code> returns only
3194
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
3195
- * response element. You can see the remaining results of the initial request by sending
3196
- * another <code>ListClusters</code> request with the returned <code>nextToken</code>
3197
- * value. This value can be between 1 and 100. If you don't
3198
- * use this parameter, <code>ListClusters</code> returns up to 100
3199
- * results and a <code>nextToken</code> value if applicable.</p>
3200
- */
3201
- maxResults?: number;
3202
-
3203
- /**
3204
- * <p>The <code>nextToken</code> value returned from a previous paginated
3205
- * <code>ListClusters</code> request where <code>maxResults</code> was used and the
3206
- * results exceeded the value of that parameter. Pagination continues from the end of the
3207
- * previous results that returned the <code>nextToken</code> value.</p>
3208
- * <note>
3209
- * <p>This token should be treated as an opaque identifier that is used only to
3210
- * retrieve the next items in a list and not for other programmatic purposes.</p>
3211
- * </note>
3212
- */
3213
- nextToken?: string;
3214
-
3215
- /**
3216
- * <p>Indicates whether connected clusters are included in the returned list. Default value is 'ALL'.</p>
3217
- */
3218
- include?: string[];
3219
- }
3220
-
3221
- export namespace ListClustersRequest {
3222
- /**
3223
- * @internal
3224
- */
3225
- export const filterSensitiveLog = (obj: ListClustersRequest): any => ({
3226
- ...obj,
3227
- });
3228
- }
3229
-
3230
- export interface ListClustersResponse {
3231
- /**
3232
- * <p>A list of all of the clusters for your account in the specified Region.</p>
3233
- */
3234
- clusters?: string[];
3235
-
3236
- /**
3237
- * <p>The <code>nextToken</code> value to include in a future <code>ListClusters</code>
3238
- * request. When the results of a <code>ListClusters</code> request exceed
3239
- * <code>maxResults</code>, you can use this value to retrieve the next page of
3240
- * results. This value is <code>null</code> when there are no more results to
3241
- * return.</p>
3242
- */
3243
- nextToken?: string;
3244
- }
3245
-
3246
- export namespace ListClustersResponse {
3247
- /**
3248
- * @internal
3249
- */
3250
- export const filterSensitiveLog = (obj: ListClustersResponse): any => ({
3251
- ...obj,
3252
- });
3253
- }
3254
-
3255
- export interface ListFargateProfilesRequest {
3256
- /**
3257
- * <p>The name of the Amazon EKS cluster that you would like to list Fargate profiles in.</p>
3258
- */
3259
- clusterName: string | undefined;
3260
-
3261
- /**
3262
- * <p>The maximum number of Fargate profile results returned by
3263
- * <code>ListFargateProfiles</code> in paginated output. When you use this parameter,
3264
- * <code>ListFargateProfiles</code> returns only <code>maxResults</code> results in a
3265
- * single page along with a <code>nextToken</code> response element. You can see the
3266
- * remaining results of the initial request by sending another
3267
- * <code>ListFargateProfiles</code> request with the returned <code>nextToken</code>
3268
- * value. This value can be between 1 and 100. If you don't
3269
- * use this parameter, <code>ListFargateProfiles</code> returns up to 100
3270
- * results and a <code>nextToken</code> value if applicable.</p>
3271
- */
3272
- maxResults?: number;
3273
-
3274
- /**
3275
- * <p>The <code>nextToken</code> value returned from a previous paginated
3276
- * <code>ListFargateProfiles</code> request where <code>maxResults</code> was used and
3277
- * the results exceeded the value of that parameter. Pagination continues from the end of
3278
- * the previous results that returned the <code>nextToken</code> value.</p>
3279
- */
3280
- nextToken?: string;
3281
- }
3282
-
3283
- export namespace ListFargateProfilesRequest {
3284
- /**
3285
- * @internal
3286
- */
3287
- export const filterSensitiveLog = (obj: ListFargateProfilesRequest): any => ({
3288
- ...obj,
3289
- });
3290
- }
3291
-
3292
- export interface ListFargateProfilesResponse {
3293
- /**
3294
- * <p>A list of all of the Fargate profiles associated with the specified cluster.</p>
3295
- */
3296
- fargateProfileNames?: string[];
3297
-
3298
- /**
3299
- * <p>The <code>nextToken</code> value to include in a future
3300
- * <code>ListFargateProfiles</code> request. When the results of a
3301
- * <code>ListFargateProfiles</code> request exceed <code>maxResults</code>, you can use
3302
- * this value to retrieve the next page of results. This value is <code>null</code> when
3303
- * there are no more results to return.</p>
3304
- */
3305
- nextToken?: string;
3306
- }
3307
-
3308
- export namespace ListFargateProfilesResponse {
3309
- /**
3310
- * @internal
3311
- */
3312
- export const filterSensitiveLog = (obj: ListFargateProfilesResponse): any => ({
3313
- ...obj,
3314
- });
3315
- }
3316
-
3317
- export interface ListIdentityProviderConfigsRequest {
3318
- /**
3319
- * <p>The cluster name that you want to list identity provider configurations for.</p>
3320
- */
3321
- clusterName: string | undefined;
3322
-
3323
- /**
3324
- * <p>The maximum number of identity provider configurations returned by
3325
- * <code>ListIdentityProviderConfigs</code> in paginated output. When you use this
3326
- * parameter, <code>ListIdentityProviderConfigs</code> returns only <code>maxResults</code>
3327
- * results in a single page along with a <code>nextToken</code> response element. You can
3328
- * see the remaining results of the initial request by sending another
3329
- * <code>ListIdentityProviderConfigs</code> request with the returned
3330
- * <code>nextToken</code> value. This value can be between 1 and
3331
- * 100. If you don't use this parameter,
3332
- * <code>ListIdentityProviderConfigs</code> returns up to 100 results
3333
- * and a <code>nextToken</code> value, if applicable.</p>
3334
- */
3335
- maxResults?: number;
3336
-
3337
- /**
3338
- * <p>The <code>nextToken</code> value returned from a previous paginated
3339
- * <code>IdentityProviderConfigsRequest</code> where <code>maxResults</code> was used
3340
- * and the results exceeded the value of that parameter. Pagination continues from the end
3341
- * of the previous results that returned the <code>nextToken</code> value.</p>
3342
- */
3343
- nextToken?: string;
3344
- }
3345
-
3346
- export namespace ListIdentityProviderConfigsRequest {
3347
- /**
3348
- * @internal
3349
- */
3350
- export const filterSensitiveLog = (obj: ListIdentityProviderConfigsRequest): any => ({
3351
- ...obj,
3352
- });
3353
- }
3354
-
3355
- export interface ListIdentityProviderConfigsResponse {
3356
- /**
3357
- * <p>The identity provider configurations for the cluster.</p>
3358
- */
3359
- identityProviderConfigs?: IdentityProviderConfig[];
3360
-
3361
- /**
3362
- * <p>The <code>nextToken</code> value returned from a previous paginated
3363
- * <code>ListIdentityProviderConfigsResponse</code> where <code>maxResults</code> was
3364
- * used and the results exceeded the value of that parameter. Pagination continues from the
3365
- * end of the previous results that returned the <code>nextToken</code> value.</p>
3366
- */
3367
- nextToken?: string;
3368
- }
3369
-
3370
- export namespace ListIdentityProviderConfigsResponse {
3371
- /**
3372
- * @internal
3373
- */
3374
- export const filterSensitiveLog = (obj: ListIdentityProviderConfigsResponse): any => ({
3375
- ...obj,
3376
- });
3377
- }
3378
-
3379
- export interface ListNodegroupsRequest {
3380
- /**
3381
- * <p>The name of the Amazon EKS cluster that you would like to list node groups in.</p>
3382
- */
3383
- clusterName: string | undefined;
3384
-
3385
- /**
3386
- * <p>The maximum number of node group results returned by <code>ListNodegroups</code> in
3387
- * paginated output. When you use this parameter, <code>ListNodegroups</code> returns only
3388
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
3389
- * response element. You can see the remaining results of the initial request by sending
3390
- * another <code>ListNodegroups</code> request with the returned <code>nextToken</code>
3391
- * value. This value can be between 1 and 100. If you don't
3392
- * use this parameter, <code>ListNodegroups</code> returns up to 100
3393
- * results and a <code>nextToken</code> value if applicable.</p>
3394
- */
3395
- maxResults?: number;
3396
-
3397
- /**
3398
- * <p>The <code>nextToken</code> value returned from a previous paginated
3399
- * <code>ListNodegroups</code> request where <code>maxResults</code> was used and the
3400
- * results exceeded the value of that parameter. Pagination continues from the end of the
3401
- * previous results that returned the <code>nextToken</code> value.</p>
3402
- */
3403
- nextToken?: string;
3404
- }
3405
-
3406
- export namespace ListNodegroupsRequest {
3407
- /**
3408
- * @internal
3409
- */
3410
- export const filterSensitiveLog = (obj: ListNodegroupsRequest): any => ({
3411
- ...obj,
3412
- });
3413
- }
3414
-
3415
- export interface ListNodegroupsResponse {
3416
- /**
3417
- * <p>A list of all of the node groups associated with the specified cluster.</p>
3418
- */
3419
- nodegroups?: string[];
3420
-
3421
- /**
3422
- * <p>The <code>nextToken</code> value to include in a future <code>ListNodegroups</code>
3423
- * request. When the results of a <code>ListNodegroups</code> request exceed
3424
- * <code>maxResults</code>, you can use this value to retrieve the next page of
3425
- * results. This value is <code>null</code> when there are no more results to
3426
- * return.</p>
3427
- */
3428
- nextToken?: string;
3429
- }
3430
-
3431
- export namespace ListNodegroupsResponse {
3432
- /**
3433
- * @internal
3434
- */
3435
- export const filterSensitiveLog = (obj: ListNodegroupsResponse): any => ({
3436
- ...obj,
3437
- });
3438
- }
3439
-
3440
- /**
3441
- * <p>This exception is thrown if the request contains a semantic error. The precise meaning
3442
- * will depend on the API, and will be documented in the error message.</p>
3443
- */
3444
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
3445
- name: "BadRequestException";
3446
- $fault: "client";
3447
- message?: string;
3448
- }
3449
-
3450
- export namespace BadRequestException {
3451
- /**
3452
- * @internal
3453
- */
3454
- export const filterSensitiveLog = (obj: BadRequestException): any => ({
3455
- ...obj,
3456
- });
3457
- }
3458
-
3459
- export interface ListTagsForResourceRequest {
3460
- /**
3461
- * <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
3462
- * supported resources are Amazon EKS clusters and managed node groups.</p>
3463
- */
3464
- resourceArn: string | undefined;
3465
- }
3466
-
3467
- export namespace ListTagsForResourceRequest {
3468
- /**
3469
- * @internal
3470
- */
3471
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
3472
- ...obj,
3473
- });
3474
- }
3475
-
3476
- export interface ListTagsForResourceResponse {
3477
- /**
3478
- * <p>The tags for the resource.</p>
3479
- */
3480
- tags?: { [key: string]: string };
3481
- }
3482
-
3483
- export namespace ListTagsForResourceResponse {
3484
- /**
3485
- * @internal
3486
- */
3487
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
3488
- ...obj,
3489
- });
3490
- }
3491
-
3492
- /**
3493
- * <p>A service resource associated with the request could not be found. Clients should not
3494
- * retry such requests.</p>
3495
- */
3496
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
3497
- name: "NotFoundException";
3498
- $fault: "client";
3499
- message?: string;
3500
- }
3501
-
3502
- export namespace NotFoundException {
3503
- /**
3504
- * @internal
3505
- */
3506
- export const filterSensitiveLog = (obj: NotFoundException): any => ({
3507
- ...obj,
3508
- });
3509
- }
3510
-
3511
- export interface ListUpdatesRequest {
3512
- /**
3513
- * <p>The name of the Amazon EKS cluster to list updates for.</p>
3514
- */
3515
- name: string | undefined;
3516
-
3517
- /**
3518
- * <p>The name of the Amazon EKS managed node group to list updates for.</p>
3519
- */
3520
- nodegroupName?: string;
3521
-
3522
- /**
3523
- * <p>The names of the installed add-ons that have available updates.</p>
3524
- */
3525
- addonName?: string;
3526
-
3527
- /**
3528
- * <p>The <code>nextToken</code> value returned from a previous paginated
3529
- * <code>ListUpdates</code> request where <code>maxResults</code> was used and the
3530
- * results exceeded the value of that parameter. Pagination continues from the end of the
3531
- * previous results that returned the <code>nextToken</code> value.</p>
3532
- */
3533
- nextToken?: string;
3534
-
3535
- /**
3536
- * <p>The maximum number of update results returned by <code>ListUpdates</code> in paginated
3537
- * output. When you use this parameter, <code>ListUpdates</code> returns only
3538
- * <code>maxResults</code> results in a single page along with a <code>nextToken</code>
3539
- * response element. You can see the remaining results of the initial request by sending
3540
- * another <code>ListUpdates</code> request with the returned <code>nextToken</code> value.
3541
- * This value can be between 1 and 100. If you don't use this
3542
- * parameter, <code>ListUpdates</code> returns up to 100 results and a
3543
- * <code>nextToken</code> value if applicable.</p>
3544
- */
3545
- maxResults?: number;
3546
- }
3547
-
3548
- export namespace ListUpdatesRequest {
3549
- /**
3550
- * @internal
3551
- */
3552
- export const filterSensitiveLog = (obj: ListUpdatesRequest): any => ({
3553
- ...obj,
3554
- });
3555
- }
3556
-
3557
- export interface ListUpdatesResponse {
3558
- /**
3559
- * <p>A list of all the updates for the specified cluster and Region.</p>
3560
- */
3561
- updateIds?: string[];
3562
-
3563
- /**
3564
- * <p>The <code>nextToken</code> value to include in a future <code>ListUpdates</code>
3565
- * request. When the results of a <code>ListUpdates</code> request exceed
3566
- * <code>maxResults</code>, you can use this value to retrieve the next page of
3567
- * results. This value is <code>null</code> when there are no more results to
3568
- * return.</p>
3569
- */
3570
- nextToken?: string;
3571
- }
3572
-
3573
- export namespace ListUpdatesResponse {
3574
- /**
3575
- * @internal
3576
- */
3577
- export const filterSensitiveLog = (obj: ListUpdatesResponse): any => ({
3578
- ...obj,
3579
- });
3580
- }
3581
-
3582
- export enum ConnectorConfigProvider {
3583
- AKS = "AKS",
3584
- ANTHOS = "ANTHOS",
3585
- EC2 = "EC2",
3586
- EKS_ANYWHERE = "EKS_ANYWHERE",
3587
- GKE = "GKE",
3588
- OPENSHIFT = "OPENSHIFT",
3589
- OTHER = "OTHER",
3590
- RANCHER = "RANCHER",
3591
- TANZU = "TANZU",
3592
- }
3593
-
3594
- /**
3595
- * <p>The configuration sent to a cluster for configuration.</p>
3596
- */
3597
- export interface ConnectorConfigRequest {
3598
- /**
3599
- * <p>The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.</p>
3600
- */
3601
- roleArn: string | undefined;
3602
-
3603
- /**
3604
- * <p>The cloud provider for the target cluster to connect.</p>
3605
- */
3606
- provider: ConnectorConfigProvider | string | undefined;
3607
- }
3608
-
3609
- export namespace ConnectorConfigRequest {
3610
- /**
3611
- * @internal
3612
- */
3613
- export const filterSensitiveLog = (obj: ConnectorConfigRequest): any => ({
3614
- ...obj,
3615
- });
3616
- }
3617
-
3618
- export interface RegisterClusterRequest {
3619
- /**
3620
- * <p>Define a unique name for this cluster within your AWS account.</p>
3621
- */
3622
- name: string | undefined;
3623
-
3624
- /**
3625
- * <p>The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.</p>
3626
- */
3627
- connectorConfig: ConnectorConfigRequest | undefined;
3628
-
3629
- /**
3630
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
3631
- */
3632
- clientRequestToken?: string;
3633
- }
3634
-
3635
- export namespace RegisterClusterRequest {
3636
- /**
3637
- * @internal
3638
- */
3639
- export const filterSensitiveLog = (obj: RegisterClusterRequest): any => ({
3640
- ...obj,
3641
- });
3642
- }
3643
-
3644
- export interface RegisterClusterResponse {
3645
- /**
3646
- * <p>An object representing an Amazon EKS cluster.</p>
3647
- */
3648
- cluster?: Cluster;
3649
- }
3650
-
3651
- export namespace RegisterClusterResponse {
3652
- /**
3653
- * @internal
3654
- */
3655
- export const filterSensitiveLog = (obj: RegisterClusterResponse): any => ({
3656
- ...obj,
3657
- });
3658
- }
3659
-
3660
- export interface TagResourceRequest {
3661
- /**
3662
- * <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
3663
- * are Amazon EKS clusters and managed node groups.</p>
3664
- */
3665
- resourceArn: string | undefined;
3666
-
3667
- /**
3668
- * <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
3669
- */
3670
- tags: { [key: string]: string } | undefined;
3671
- }
3672
-
3673
- export namespace TagResourceRequest {
3674
- /**
3675
- * @internal
3676
- */
3677
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
3678
- ...obj,
3679
- });
3680
- }
3681
-
3682
- export interface TagResourceResponse {}
3683
-
3684
- export namespace TagResourceResponse {
3685
- /**
3686
- * @internal
3687
- */
3688
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
3689
- ...obj,
3690
- });
3691
- }
3692
-
3693
- export interface UntagResourceRequest {
3694
- /**
3695
- * <p>The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported
3696
- * resources are Amazon EKS clusters and managed node groups.</p>
3697
- */
3698
- resourceArn: string | undefined;
3699
-
3700
- /**
3701
- * <p>The keys of the tags to be removed.</p>
3702
- */
3703
- tagKeys: string[] | undefined;
3704
- }
3705
-
3706
- export namespace UntagResourceRequest {
3707
- /**
3708
- * @internal
3709
- */
3710
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
3711
- ...obj,
3712
- });
3713
- }
3714
-
3715
- export interface UntagResourceResponse {}
3716
-
3717
- export namespace UntagResourceResponse {
3718
- /**
3719
- * @internal
3720
- */
3721
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
3722
- ...obj,
3723
- });
3724
- }
3725
-
3726
- export interface UpdateAddonRequest {
3727
- /**
3728
- * <p>The name of the cluster.</p>
3729
- */
3730
- clusterName: string | undefined;
3731
-
3732
- /**
3733
- * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html">
3734
- * <code>ListAddons</code>
3735
- * </a>.</p>
3736
- */
3737
- addonName: string | undefined;
3738
-
3739
- /**
3740
- * <p>The version of the add-on. The version must match one of the versions returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
3741
- * <code>DescribeAddonVersions</code>
3742
- * </a>.</p>
3743
- */
3744
- addonVersion?: string;
3745
-
3746
- /**
3747
- * <p>The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the
3748
- * permissions assigned to the node IAM role. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">Amazon EKS node IAM role</a> in the <i>Amazon EKS User Guide</i>.</p>
3749
- * <note>
3750
- * <p>To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for
3751
- * your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html">Enabling
3752
- * IAM roles for service accounts on your cluster</a> in the
3753
- * <i>Amazon EKS User Guide</i>.</p>
3754
- * </note>
3755
- */
3756
- serviceAccountRoleArn?: string;
3757
-
3758
- /**
3759
- * <p>How to resolve parameter value conflicts when applying the new version of the add-on
3760
- * to the cluster.</p>
3761
- */
3762
- resolveConflicts?: ResolveConflicts | string;
3763
-
3764
- /**
3765
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
3766
- * request.</p>
3767
- */
3768
- clientRequestToken?: string;
3769
- }
3770
-
3771
- export namespace UpdateAddonRequest {
3772
- /**
3773
- * @internal
3774
- */
3775
- export const filterSensitiveLog = (obj: UpdateAddonRequest): any => ({
3776
- ...obj,
3777
- });
3778
- }
3779
-
3780
- export interface UpdateAddonResponse {
3781
- /**
3782
- * <p>An object representing an asynchronous update.</p>
3783
- */
3784
- update?: Update;
3785
- }
3786
-
3787
- export namespace UpdateAddonResponse {
3788
- /**
3789
- * @internal
3790
- */
3791
- export const filterSensitiveLog = (obj: UpdateAddonResponse): any => ({
3792
- ...obj,
3793
- });
3794
- }
3795
-
3796
- export interface UpdateClusterConfigRequest {
3797
- /**
3798
- * <p>The name of the Amazon EKS cluster to update.</p>
3799
- */
3800
- name: string | undefined;
3801
-
3802
- /**
3803
- * <p>An object representing the VPC configuration to use for an Amazon EKS cluster.</p>
3804
- */
3805
- resourcesVpcConfig?: VpcConfigRequest;
3806
-
3807
- /**
3808
- * <p>Enable or disable exporting the Kubernetes control plane logs for your cluster to
3809
- * CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more
3810
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS cluster control plane logs</a> in the
3811
- * <i>
3812
- * <i>Amazon EKS User Guide</i>
3813
- * </i>.</p>
3814
- * <note>
3815
- * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
3816
- * control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
3817
- * </note>
3818
- */
3819
- logging?: Logging;
3820
-
3821
- /**
3822
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
3823
- * request.</p>
3824
- */
3825
- clientRequestToken?: string;
3826
- }
3827
-
3828
- export namespace UpdateClusterConfigRequest {
3829
- /**
3830
- * @internal
3831
- */
3832
- export const filterSensitiveLog = (obj: UpdateClusterConfigRequest): any => ({
3833
- ...obj,
3834
- });
3835
- }
3836
-
3837
- export interface UpdateClusterConfigResponse {
3838
- /**
3839
- * <p>An object representing an asynchronous update.</p>
3840
- */
3841
- update?: Update;
3842
- }
3843
-
3844
- export namespace UpdateClusterConfigResponse {
3845
- /**
3846
- * @internal
3847
- */
3848
- export const filterSensitiveLog = (obj: UpdateClusterConfigResponse): any => ({
3849
- ...obj,
3850
- });
3851
- }
3852
-
3853
- export interface UpdateClusterVersionRequest {
3854
- /**
3855
- * <p>The name of the Amazon EKS cluster to update.</p>
3856
- */
3857
- name: string | undefined;
3858
-
3859
- /**
3860
- * <p>The desired Kubernetes version following a successful update.</p>
3861
- */
3862
- version: string | undefined;
3863
-
3864
- /**
3865
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
3866
- * request.</p>
3867
- */
3868
- clientRequestToken?: string;
3869
- }
3870
-
3871
- export namespace UpdateClusterVersionRequest {
3872
- /**
3873
- * @internal
3874
- */
3875
- export const filterSensitiveLog = (obj: UpdateClusterVersionRequest): any => ({
3876
- ...obj,
3877
- });
3878
- }
3879
-
3880
- export interface UpdateClusterVersionResponse {
3881
- /**
3882
- * <p>The full description of the specified update</p>
3883
- */
3884
- update?: Update;
3885
- }
3886
-
3887
- export namespace UpdateClusterVersionResponse {
3888
- /**
3889
- * @internal
3890
- */
3891
- export const filterSensitiveLog = (obj: UpdateClusterVersionResponse): any => ({
3892
- ...obj,
3893
- });
3894
- }
3895
-
3896
- /**
3897
- * <p>An object representing a Kubernetes label change for a managed node group.</p>
3898
- */
3899
- export interface UpdateLabelsPayload {
3900
- /**
3901
- * <p>Kubernetes labels to be added or updated.</p>
3902
- */
3903
- addOrUpdateLabels?: { [key: string]: string };
3904
-
3905
- /**
3906
- * <p>Kubernetes labels to be removed.</p>
3907
- */
3908
- removeLabels?: string[];
3909
- }
3910
-
3911
- export namespace UpdateLabelsPayload {
3912
- /**
3913
- * @internal
3914
- */
3915
- export const filterSensitiveLog = (obj: UpdateLabelsPayload): any => ({
3916
- ...obj,
3917
- });
3918
- }
3919
-
3920
- /**
3921
- * <p>An object representing the details of an update to a taints payload.</p>
3922
- */
3923
- export interface UpdateTaintsPayload {
3924
- /**
3925
- * <p>Kubernetes taints to be added or updated.</p>
3926
- */
3927
- addOrUpdateTaints?: Taint[];
3928
-
3929
- /**
3930
- * <p>Kubernetes taints to be removed.</p>
3931
- */
3932
- removeTaints?: Taint[];
3933
- }
3934
-
3935
- export namespace UpdateTaintsPayload {
3936
- /**
3937
- * @internal
3938
- */
3939
- export const filterSensitiveLog = (obj: UpdateTaintsPayload): any => ({
3940
- ...obj,
3941
- });
3942
- }
3943
-
3944
- export interface UpdateNodegroupConfigRequest {
3945
- /**
3946
- * <p>The name of the Amazon EKS cluster that the managed node group resides in.</p>
3947
- */
3948
- clusterName: string | undefined;
3949
-
3950
- /**
3951
- * <p>The name of the managed node group to update.</p>
3952
- */
3953
- nodegroupName: string | undefined;
3954
-
3955
- /**
3956
- * <p>The Kubernetes labels to be applied to the nodes in the node group after the
3957
- * update.</p>
3958
- */
3959
- labels?: UpdateLabelsPayload;
3960
-
3961
- /**
3962
- * <p>The Kubernetes taints to be applied to the nodes in the node group after the
3963
- * update.</p>
3964
- */
3965
- taints?: UpdateTaintsPayload;
3966
-
3967
- /**
3968
- * <p>The scaling configuration details for the Auto Scaling group after the update.</p>
3969
- */
3970
- scalingConfig?: NodegroupScalingConfig;
3971
-
3972
- /**
3973
- * <p>The node group update configuration.</p>
3974
- */
3975
- updateConfig?: NodegroupUpdateConfig;
3976
-
3977
- /**
3978
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
3979
- * request.</p>
3980
- */
3981
- clientRequestToken?: string;
3982
- }
3983
-
3984
- export namespace UpdateNodegroupConfigRequest {
3985
- /**
3986
- * @internal
3987
- */
3988
- export const filterSensitiveLog = (obj: UpdateNodegroupConfigRequest): any => ({
3989
- ...obj,
3990
- });
3991
- }
3992
-
3993
- export interface UpdateNodegroupConfigResponse {
3994
- /**
3995
- * <p>An object representing an asynchronous update.</p>
3996
- */
3997
- update?: Update;
3998
- }
3999
-
4000
- export namespace UpdateNodegroupConfigResponse {
4001
- /**
4002
- * @internal
4003
- */
4004
- export const filterSensitiveLog = (obj: UpdateNodegroupConfigResponse): any => ({
4005
- ...obj,
4006
- });
4007
- }
4008
-
4009
- export interface UpdateNodegroupVersionRequest {
4010
- /**
4011
- * <p>The name of the Amazon EKS cluster that is associated with the managed node group to
4012
- * update.</p>
4013
- */
4014
- clusterName: string | undefined;
4015
-
4016
- /**
4017
- * <p>The name of the managed node group to update.</p>
4018
- */
4019
- nodegroupName: string | undefined;
4020
-
4021
- /**
4022
- * <p>The Kubernetes version to update to. If no version is specified, then the Kubernetes
4023
- * version of the node group does not change. You can specify the Kubernetes version of the
4024
- * cluster to update the node group to the latest AMI version of the cluster's Kubernetes
4025
- * version. If you specify <code>launchTemplate</code>, and your launch template uses a custom AMI, then don't specify
4026
- * <code>version</code>, or the node group update will fail.
4027
- * For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
4028
- */
4029
- version?: string;
4030
-
4031
- /**
4032
- * <p>The AMI version of the Amazon EKS optimized AMI to use for the update. By default, the
4033
- * latest available AMI version for the node group's Kubernetes version is used. For more
4034
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS optimized Amazon Linux 2 AMI versions </a> in the
4035
- * <i>Amazon EKS User Guide</i>. If you specify <code>launchTemplate</code>, and your launch template uses a custom AMI, then don't specify
4036
- * <code>releaseVersion</code>, or the node group update will fail.
4037
- * For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the Amazon EKS User Guide.</p>
4038
- */
4039
- releaseVersion?: string;
4040
-
4041
- /**
4042
- * <p>An object representing a node group's launch template specification. You can only
4043
- * update a node group using a launch template if the node group was originally deployed
4044
- * with a launch template.</p>
4045
- */
4046
- launchTemplate?: LaunchTemplateSpecification;
4047
-
4048
- /**
4049
- * <p>Force the update if the existing node group's pods are unable to be drained due to a
4050
- * pod disruption budget issue. If an update fails because pods could not be drained, you
4051
- * can force the update after it fails to terminate the old node whether or not any pods
4052
- * are running on the node.</p>
4053
- */
4054
- force?: boolean;
4055
-
4056
- /**
4057
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
4058
- * request.</p>
4059
- */
4060
- clientRequestToken?: string;
4061
- }
4062
-
4063
- export namespace UpdateNodegroupVersionRequest {
4064
- /**
4065
- * @internal
4066
- */
4067
- export const filterSensitiveLog = (obj: UpdateNodegroupVersionRequest): any => ({
4068
- ...obj,
4069
- });
4070
- }
4071
-
4072
- export interface UpdateNodegroupVersionResponse {
4073
- /**
4074
- * <p>An object representing an asynchronous update.</p>
4075
- */
4076
- update?: Update;
4077
- }
4078
-
4079
- export namespace UpdateNodegroupVersionResponse {
4080
- /**
4081
- * @internal
4082
- */
4083
- export const filterSensitiveLog = (obj: UpdateNodegroupVersionResponse): any => ({
4084
- ...obj,
4085
- });
4086
- }