@aws-sdk/client-eks 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/EKS.js +0 -13
  3. package/dist-cjs/EKSClient.js +0 -18
  4. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +0 -28
  5. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +0 -32
  6. package/dist-cjs/commands/CreateAddonCommand.js +0 -30
  7. package/dist-cjs/commands/CreateClusterCommand.js +0 -43
  8. package/dist-cjs/commands/CreateFargateProfileCommand.js +0 -48
  9. package/dist-cjs/commands/CreateNodegroupCommand.js +0 -34
  10. package/dist-cjs/commands/DeleteAddonCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteClusterCommand.js +0 -32
  12. package/dist-cjs/commands/DeleteFargateProfileCommand.js +0 -32
  13. package/dist-cjs/commands/DeleteNodegroupCommand.js +0 -25
  14. package/dist-cjs/commands/DeregisterClusterCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeAddonCommand.js +0 -25
  16. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +0 -25
  17. package/dist-cjs/commands/DescribeClusterCommand.js +0 -33
  18. package/dist-cjs/commands/DescribeFargateProfileCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeNodegroupCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeUpdateCommand.js +0 -29
  22. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +0 -28
  23. package/dist-cjs/commands/ListAddonsCommand.js +0 -25
  24. package/dist-cjs/commands/ListClustersCommand.js +0 -25
  25. package/dist-cjs/commands/ListFargateProfilesCommand.js +0 -26
  26. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +0 -25
  27. package/dist-cjs/commands/ListNodegroupsCommand.js +0 -26
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  29. package/dist-cjs/commands/ListUpdatesCommand.js +0 -26
  30. package/dist-cjs/commands/RegisterClusterCommand.js +0 -34
  31. package/dist-cjs/commands/TagResourceCommand.js +0 -31
  32. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  33. package/dist-cjs/commands/UpdateAddonCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateClusterConfigCommand.js +0 -51
  35. package/dist-cjs/commands/UpdateClusterVersionCommand.js +0 -35
  36. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +0 -29
  37. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +0 -42
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +1 -2
  40. package/dist-cjs/index.js +5 -53
  41. package/dist-cjs/models/index.js +0 -1
  42. package/dist-cjs/models/models_0.js +0 -361
  43. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +0 -11
  44. package/dist-cjs/pagination/Interfaces.js +0 -1
  45. package/dist-cjs/pagination/ListAddonsPaginator.js +0 -11
  46. package/dist-cjs/pagination/ListClustersPaginator.js +0 -11
  47. package/dist-cjs/pagination/ListFargateProfilesPaginator.js +0 -11
  48. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +0 -11
  49. package/dist-cjs/pagination/ListNodegroupsPaginator.js +0 -11
  50. package/dist-cjs/pagination/ListUpdatesPaginator.js +0 -11
  51. package/dist-cjs/pagination/index.js +11 -0
  52. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  53. package/dist-cjs/runtimeConfig.browser.js +1 -6
  54. package/dist-cjs/runtimeConfig.js +2 -7
  55. package/dist-cjs/runtimeConfig.native.js +0 -4
  56. package/dist-cjs/runtimeConfig.shared.js +0 -4
  57. package/dist-cjs/waiters/index.js +11 -0
  58. package/dist-cjs/waiters/waitForAddonActive.js +0 -10
  59. package/dist-cjs/waiters/waitForAddonDeleted.js +0 -10
  60. package/dist-cjs/waiters/waitForClusterActive.js +0 -10
  61. package/dist-cjs/waiters/waitForClusterDeleted.js +0 -10
  62. package/dist-cjs/waiters/waitForFargateProfileActive.js +0 -10
  63. package/dist-cjs/waiters/waitForFargateProfileDeleted.js +0 -10
  64. package/dist-cjs/waiters/waitForNodegroupActive.js +0 -10
  65. package/dist-cjs/waiters/waitForNodegroupDeleted.js +0 -10
  66. package/dist-es/EKS.js +0 -1
  67. package/dist-es/EKSClient.js +0 -1
  68. package/dist-es/commands/AssociateEncryptionConfigCommand.js +0 -1
  69. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +0 -1
  70. package/dist-es/commands/CreateAddonCommand.js +0 -1
  71. package/dist-es/commands/CreateClusterCommand.js +0 -1
  72. package/dist-es/commands/CreateFargateProfileCommand.js +0 -1
  73. package/dist-es/commands/CreateNodegroupCommand.js +0 -1
  74. package/dist-es/commands/DeleteAddonCommand.js +0 -1
  75. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  76. package/dist-es/commands/DeleteFargateProfileCommand.js +0 -1
  77. package/dist-es/commands/DeleteNodegroupCommand.js +0 -1
  78. package/dist-es/commands/DeregisterClusterCommand.js +0 -1
  79. package/dist-es/commands/DescribeAddonCommand.js +0 -1
  80. package/dist-es/commands/DescribeAddonVersionsCommand.js +0 -1
  81. package/dist-es/commands/DescribeClusterCommand.js +0 -1
  82. package/dist-es/commands/DescribeFargateProfileCommand.js +0 -1
  83. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +0 -1
  84. package/dist-es/commands/DescribeNodegroupCommand.js +0 -1
  85. package/dist-es/commands/DescribeUpdateCommand.js +0 -1
  86. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +0 -1
  87. package/dist-es/commands/ListAddonsCommand.js +0 -1
  88. package/dist-es/commands/ListClustersCommand.js +0 -1
  89. package/dist-es/commands/ListFargateProfilesCommand.js +0 -1
  90. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +0 -1
  91. package/dist-es/commands/ListNodegroupsCommand.js +0 -1
  92. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  93. package/dist-es/commands/ListUpdatesCommand.js +0 -1
  94. package/dist-es/commands/RegisterClusterCommand.js +0 -1
  95. package/dist-es/commands/TagResourceCommand.js +0 -1
  96. package/dist-es/commands/UntagResourceCommand.js +0 -1
  97. package/dist-es/commands/UpdateAddonCommand.js +0 -1
  98. package/dist-es/commands/UpdateClusterConfigCommand.js +0 -1
  99. package/dist-es/commands/UpdateClusterVersionCommand.js +0 -1
  100. package/dist-es/commands/UpdateNodegroupConfigCommand.js +0 -1
  101. package/dist-es/commands/UpdateNodegroupVersionCommand.js +0 -1
  102. package/dist-es/commands/index.js +34 -0
  103. package/dist-es/endpoints.js +1 -2
  104. package/dist-es/index.js +5 -53
  105. package/dist-es/models/index.js +0 -1
  106. package/dist-es/models/models_0.js +0 -1
  107. package/dist-es/pagination/DescribeAddonVersionsPaginator.js +0 -1
  108. package/dist-es/pagination/Interfaces.js +0 -1
  109. package/dist-es/pagination/ListAddonsPaginator.js +0 -1
  110. package/dist-es/pagination/ListClustersPaginator.js +0 -1
  111. package/dist-es/pagination/ListFargateProfilesPaginator.js +0 -1
  112. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +0 -1
  113. package/dist-es/pagination/ListNodegroupsPaginator.js +0 -1
  114. package/dist-es/pagination/ListUpdatesPaginator.js +0 -1
  115. package/dist-es/pagination/index.js +8 -0
  116. package/dist-es/protocols/Aws_restJson1.js +0 -1
  117. package/dist-es/runtimeConfig.browser.js +1 -2
  118. package/dist-es/runtimeConfig.js +2 -3
  119. package/dist-es/runtimeConfig.native.js +0 -1
  120. package/dist-es/runtimeConfig.shared.js +0 -1
  121. package/dist-es/waiters/index.js +8 -0
  122. package/dist-es/waiters/waitForAddonActive.js +0 -1
  123. package/dist-es/waiters/waitForAddonDeleted.js +0 -1
  124. package/dist-es/waiters/waitForClusterActive.js +0 -1
  125. package/dist-es/waiters/waitForClusterDeleted.js +0 -1
  126. package/dist-es/waiters/waitForFargateProfileActive.js +0 -1
  127. package/dist-es/waiters/waitForFargateProfileDeleted.js +0 -1
  128. package/dist-es/waiters/waitForNodegroupActive.js +0 -1
  129. package/dist-es/waiters/waitForNodegroupDeleted.js +0 -1
  130. package/dist-types/commands/index.d.ts +34 -0
  131. package/dist-types/index.d.ts +5 -52
  132. package/dist-types/pagination/index.d.ts +8 -0
  133. package/dist-types/ts3.4/EKS.d.ts +35 -285
  134. package/dist-types/ts3.4/EKSClient.d.ts +24 -98
  135. package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +2 -23
  136. package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -27
  137. package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +2 -25
  138. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -38
  139. package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +2 -43
  140. package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +2 -29
  141. package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +2 -22
  142. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -27
  143. package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +2 -27
  144. package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -28
  149. package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +2 -24
  153. package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -23
  154. package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +2 -21
  157. package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +2 -21
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +2 -21
  161. package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +2 -29
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +2 -46
  166. package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +2 -30
  167. package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +2 -24
  168. package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +2 -37
  169. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  170. package/dist-types/ts3.4/index.d.ts +5 -52
  171. package/dist-types/ts3.4/models/models_0.d.ts +525 -2214
  172. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  173. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  174. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  175. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  176. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  177. package/dist-types/ts3.4/waiters/index.d.ts +8 -0
  178. package/dist-types/ts3.4/waiters/waitForAddonActive.d.ts +2 -9
  179. package/dist-types/ts3.4/waiters/waitForAddonDeleted.d.ts +2 -9
  180. package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +2 -9
  181. package/dist-types/ts3.4/waiters/waitForClusterDeleted.d.ts +2 -9
  182. package/dist-types/ts3.4/waiters/waitForFargateProfileActive.d.ts +2 -9
  183. package/dist-types/ts3.4/waiters/waitForFargateProfileDeleted.d.ts +2 -9
  184. package/dist-types/ts3.4/waiters/waitForNodegroupActive.d.ts +2 -9
  185. package/dist-types/ts3.4/waiters/waitForNodegroupDeleted.d.ts +2 -9
  186. package/dist-types/waiters/index.d.ts +8 -0
  187. package/package.json +34 -31
  188. package/dist-cjs/EKS.js.map +0 -1
  189. package/dist-cjs/EKSClient.js.map +0 -1
  190. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js.map +0 -1
  191. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
  192. package/dist-cjs/commands/CreateAddonCommand.js.map +0 -1
  193. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  194. package/dist-cjs/commands/CreateFargateProfileCommand.js.map +0 -1
  195. package/dist-cjs/commands/CreateNodegroupCommand.js.map +0 -1
  196. package/dist-cjs/commands/DeleteAddonCommand.js.map +0 -1
  197. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  198. package/dist-cjs/commands/DeleteFargateProfileCommand.js.map +0 -1
  199. package/dist-cjs/commands/DeleteNodegroupCommand.js.map +0 -1
  200. package/dist-cjs/commands/DeregisterClusterCommand.js.map +0 -1
  201. package/dist-cjs/commands/DescribeAddonCommand.js.map +0 -1
  202. package/dist-cjs/commands/DescribeAddonVersionsCommand.js.map +0 -1
  203. package/dist-cjs/commands/DescribeClusterCommand.js.map +0 -1
  204. package/dist-cjs/commands/DescribeFargateProfileCommand.js.map +0 -1
  205. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
  206. package/dist-cjs/commands/DescribeNodegroupCommand.js.map +0 -1
  207. package/dist-cjs/commands/DescribeUpdateCommand.js.map +0 -1
  208. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
  209. package/dist-cjs/commands/ListAddonsCommand.js.map +0 -1
  210. package/dist-cjs/commands/ListClustersCommand.js.map +0 -1
  211. package/dist-cjs/commands/ListFargateProfilesCommand.js.map +0 -1
  212. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
  213. package/dist-cjs/commands/ListNodegroupsCommand.js.map +0 -1
  214. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  215. package/dist-cjs/commands/ListUpdatesCommand.js.map +0 -1
  216. package/dist-cjs/commands/RegisterClusterCommand.js.map +0 -1
  217. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  218. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  219. package/dist-cjs/commands/UpdateAddonCommand.js.map +0 -1
  220. package/dist-cjs/commands/UpdateClusterConfigCommand.js.map +0 -1
  221. package/dist-cjs/commands/UpdateClusterVersionCommand.js.map +0 -1
  222. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js.map +0 -1
  223. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js.map +0 -1
  224. package/dist-cjs/endpoints.js.map +0 -1
  225. package/dist-cjs/index.js.map +0 -1
  226. package/dist-cjs/models/index.js.map +0 -1
  227. package/dist-cjs/models/models_0.js.map +0 -1
  228. package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
  229. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  230. package/dist-cjs/pagination/ListAddonsPaginator.js.map +0 -1
  231. package/dist-cjs/pagination/ListClustersPaginator.js.map +0 -1
  232. package/dist-cjs/pagination/ListFargateProfilesPaginator.js.map +0 -1
  233. package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
  234. package/dist-cjs/pagination/ListNodegroupsPaginator.js.map +0 -1
  235. package/dist-cjs/pagination/ListUpdatesPaginator.js.map +0 -1
  236. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  237. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  238. package/dist-cjs/runtimeConfig.js.map +0 -1
  239. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  240. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  241. package/dist-cjs/waiters/waitForAddonActive.js.map +0 -1
  242. package/dist-cjs/waiters/waitForAddonDeleted.js.map +0 -1
  243. package/dist-cjs/waiters/waitForClusterActive.js.map +0 -1
  244. package/dist-cjs/waiters/waitForClusterDeleted.js.map +0 -1
  245. package/dist-cjs/waiters/waitForFargateProfileActive.js.map +0 -1
  246. package/dist-cjs/waiters/waitForFargateProfileDeleted.js.map +0 -1
  247. package/dist-cjs/waiters/waitForNodegroupActive.js.map +0 -1
  248. package/dist-cjs/waiters/waitForNodegroupDeleted.js.map +0 -1
  249. package/dist-es/EKS.js.map +0 -1
  250. package/dist-es/EKSClient.js.map +0 -1
  251. package/dist-es/commands/AssociateEncryptionConfigCommand.js.map +0 -1
  252. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
  253. package/dist-es/commands/CreateAddonCommand.js.map +0 -1
  254. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  255. package/dist-es/commands/CreateFargateProfileCommand.js.map +0 -1
  256. package/dist-es/commands/CreateNodegroupCommand.js.map +0 -1
  257. package/dist-es/commands/DeleteAddonCommand.js.map +0 -1
  258. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  259. package/dist-es/commands/DeleteFargateProfileCommand.js.map +0 -1
  260. package/dist-es/commands/DeleteNodegroupCommand.js.map +0 -1
  261. package/dist-es/commands/DeregisterClusterCommand.js.map +0 -1
  262. package/dist-es/commands/DescribeAddonCommand.js.map +0 -1
  263. package/dist-es/commands/DescribeAddonVersionsCommand.js.map +0 -1
  264. package/dist-es/commands/DescribeClusterCommand.js.map +0 -1
  265. package/dist-es/commands/DescribeFargateProfileCommand.js.map +0 -1
  266. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
  267. package/dist-es/commands/DescribeNodegroupCommand.js.map +0 -1
  268. package/dist-es/commands/DescribeUpdateCommand.js.map +0 -1
  269. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
  270. package/dist-es/commands/ListAddonsCommand.js.map +0 -1
  271. package/dist-es/commands/ListClustersCommand.js.map +0 -1
  272. package/dist-es/commands/ListFargateProfilesCommand.js.map +0 -1
  273. package/dist-es/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
  274. package/dist-es/commands/ListNodegroupsCommand.js.map +0 -1
  275. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  276. package/dist-es/commands/ListUpdatesCommand.js.map +0 -1
  277. package/dist-es/commands/RegisterClusterCommand.js.map +0 -1
  278. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  279. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  280. package/dist-es/commands/UpdateAddonCommand.js.map +0 -1
  281. package/dist-es/commands/UpdateClusterConfigCommand.js.map +0 -1
  282. package/dist-es/commands/UpdateClusterVersionCommand.js.map +0 -1
  283. package/dist-es/commands/UpdateNodegroupConfigCommand.js.map +0 -1
  284. package/dist-es/commands/UpdateNodegroupVersionCommand.js.map +0 -1
  285. package/dist-es/endpoints.js.map +0 -1
  286. package/dist-es/index.js.map +0 -1
  287. package/dist-es/models/index.js.map +0 -1
  288. package/dist-es/models/models_0.js.map +0 -1
  289. package/dist-es/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
  290. package/dist-es/pagination/Interfaces.js.map +0 -1
  291. package/dist-es/pagination/ListAddonsPaginator.js.map +0 -1
  292. package/dist-es/pagination/ListClustersPaginator.js.map +0 -1
  293. package/dist-es/pagination/ListFargateProfilesPaginator.js.map +0 -1
  294. package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
  295. package/dist-es/pagination/ListNodegroupsPaginator.js.map +0 -1
  296. package/dist-es/pagination/ListUpdatesPaginator.js.map +0 -1
  297. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  298. package/dist-es/runtimeConfig.browser.js.map +0 -1
  299. package/dist-es/runtimeConfig.js.map +0 -1
  300. package/dist-es/runtimeConfig.native.js.map +0 -1
  301. package/dist-es/runtimeConfig.shared.js.map +0 -1
  302. package/dist-es/waiters/waitForAddonActive.js.map +0 -1
  303. package/dist-es/waiters/waitForAddonDeleted.js.map +0 -1
  304. package/dist-es/waiters/waitForClusterActive.js.map +0 -1
  305. package/dist-es/waiters/waitForClusterDeleted.js.map +0 -1
  306. package/dist-es/waiters/waitForFargateProfileActive.js.map +0 -1
  307. package/dist-es/waiters/waitForFargateProfileDeleted.js.map +0 -1
  308. package/dist-es/waiters/waitForNodegroupActive.js.map +0 -1
  309. package/dist-es/waiters/waitForNodegroupDeleted.js.map +0 -1
  310. package/jest.config.js +0 -4
  311. package/src/EKS.ts +0 -1383
  312. package/src/EKSClient.ts +0 -392
  313. package/src/commands/AssociateEncryptionConfigCommand.ts +0 -101
  314. package/src/commands/AssociateIdentityProviderConfigCommand.ts +0 -110
  315. package/src/commands/CreateAddonCommand.ts +0 -100
  316. package/src/commands/CreateClusterCommand.ts +0 -113
  317. package/src/commands/CreateFargateProfileCommand.ts +0 -118
  318. package/src/commands/CreateNodegroupCommand.ts +0 -104
  319. package/src/commands/DeleteAddonCommand.ts +0 -97
  320. package/src/commands/DeleteClusterCommand.ts +0 -102
  321. package/src/commands/DeleteFargateProfileCommand.ts +0 -102
  322. package/src/commands/DeleteNodegroupCommand.ts +0 -95
  323. package/src/commands/DeregisterClusterCommand.ts +0 -95
  324. package/src/commands/DescribeAddonCommand.ts +0 -95
  325. package/src/commands/DescribeAddonVersionsCommand.ts +0 -95
  326. package/src/commands/DescribeClusterCommand.ts +0 -103
  327. package/src/commands/DescribeFargateProfileCommand.ts +0 -95
  328. package/src/commands/DescribeIdentityProviderConfigCommand.ts +0 -103
  329. package/src/commands/DescribeNodegroupCommand.ts +0 -95
  330. package/src/commands/DescribeUpdateCommand.ts +0 -99
  331. package/src/commands/DisassociateIdentityProviderConfigCommand.ts +0 -109
  332. package/src/commands/ListAddonsCommand.ts +0 -95
  333. package/src/commands/ListClustersCommand.ts +0 -95
  334. package/src/commands/ListFargateProfilesCommand.ts +0 -96
  335. package/src/commands/ListIdentityProviderConfigsCommand.ts +0 -100
  336. package/src/commands/ListNodegroupsCommand.ts +0 -96
  337. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  338. package/src/commands/ListUpdatesCommand.ts +0 -96
  339. package/src/commands/RegisterClusterCommand.ts +0 -104
  340. package/src/commands/TagResourceCommand.ts +0 -101
  341. package/src/commands/UntagResourceCommand.ts +0 -95
  342. package/src/commands/UpdateAddonCommand.ts +0 -95
  343. package/src/commands/UpdateClusterConfigCommand.ts +0 -121
  344. package/src/commands/UpdateClusterVersionCommand.ts +0 -105
  345. package/src/commands/UpdateNodegroupConfigCommand.ts +0 -99
  346. package/src/commands/UpdateNodegroupVersionCommand.ts +0 -112
  347. package/src/endpoints.ts +0 -86
  348. package/src/index.ts +0 -53
  349. package/src/models/index.ts +0 -1
  350. package/src/models/models_0.ts +0 -4086
  351. package/src/pagination/DescribeAddonVersionsPaginator.ts +0 -59
  352. package/src/pagination/Interfaces.ts +0 -8
  353. package/src/pagination/ListAddonsPaginator.ts +0 -55
  354. package/src/pagination/ListClustersPaginator.ts +0 -59
  355. package/src/pagination/ListFargateProfilesPaginator.ts +0 -59
  356. package/src/pagination/ListIdentityProviderConfigsPaginator.ts +0 -59
  357. package/src/pagination/ListNodegroupsPaginator.ts +0 -59
  358. package/src/pagination/ListUpdatesPaginator.ts +0 -55
  359. package/src/protocols/Aws_restJson1.ts +0 -5805
  360. package/src/runtimeConfig.browser.ts +0 -41
  361. package/src/runtimeConfig.native.ts +0 -17
  362. package/src/runtimeConfig.shared.ts +0 -17
  363. package/src/runtimeConfig.ts +0 -46
  364. package/src/waiters/waitForAddonActive.ts +0 -63
  365. package/src/waiters/waitForAddonDeleted.ts +0 -50
  366. package/src/waiters/waitForClusterActive.ts +0 -63
  367. package/src/waiters/waitForClusterDeleted.ts +0 -66
  368. package/src/waiters/waitForFargateProfileActive.ts +0 -58
  369. package/src/waiters/waitForFargateProfileDeleted.ts +0 -53
  370. package/src/waiters/waitForNodegroupActive.ts +0 -55
  371. package/src/waiters/waitForNodegroupDeleted.ts +0 -50
  372. package/tsconfig.es.json +0 -10
  373. package/tsconfig.json +0 -33
  374. package/tsconfig.types.json +0 -9
package/src/EKSClient.ts DELETED
@@ -1,392 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- AssociateEncryptionConfigCommandInput,
54
- AssociateEncryptionConfigCommandOutput,
55
- } from "./commands/AssociateEncryptionConfigCommand";
56
- import {
57
- AssociateIdentityProviderConfigCommandInput,
58
- AssociateIdentityProviderConfigCommandOutput,
59
- } from "./commands/AssociateIdentityProviderConfigCommand";
60
- import { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
61
- import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
62
- import {
63
- CreateFargateProfileCommandInput,
64
- CreateFargateProfileCommandOutput,
65
- } from "./commands/CreateFargateProfileCommand";
66
- import { CreateNodegroupCommandInput, CreateNodegroupCommandOutput } from "./commands/CreateNodegroupCommand";
67
- import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
68
- import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
69
- import {
70
- DeleteFargateProfileCommandInput,
71
- DeleteFargateProfileCommandOutput,
72
- } from "./commands/DeleteFargateProfileCommand";
73
- import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
74
- import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
75
- import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
76
- import {
77
- DescribeAddonVersionsCommandInput,
78
- DescribeAddonVersionsCommandOutput,
79
- } from "./commands/DescribeAddonVersionsCommand";
80
- import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
81
- import {
82
- DescribeFargateProfileCommandInput,
83
- DescribeFargateProfileCommandOutput,
84
- } from "./commands/DescribeFargateProfileCommand";
85
- import {
86
- DescribeIdentityProviderConfigCommandInput,
87
- DescribeIdentityProviderConfigCommandOutput,
88
- } from "./commands/DescribeIdentityProviderConfigCommand";
89
- import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
90
- import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
91
- import {
92
- DisassociateIdentityProviderConfigCommandInput,
93
- DisassociateIdentityProviderConfigCommandOutput,
94
- } from "./commands/DisassociateIdentityProviderConfigCommand";
95
- import { ListAddonsCommandInput, ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
96
- import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
97
- import {
98
- ListFargateProfilesCommandInput,
99
- ListFargateProfilesCommandOutput,
100
- } from "./commands/ListFargateProfilesCommand";
101
- import {
102
- ListIdentityProviderConfigsCommandInput,
103
- ListIdentityProviderConfigsCommandOutput,
104
- } from "./commands/ListIdentityProviderConfigsCommand";
105
- import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
106
- import {
107
- ListTagsForResourceCommandInput,
108
- ListTagsForResourceCommandOutput,
109
- } from "./commands/ListTagsForResourceCommand";
110
- import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
111
- import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
112
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
113
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
114
- import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
115
- import {
116
- UpdateClusterConfigCommandInput,
117
- UpdateClusterConfigCommandOutput,
118
- } from "./commands/UpdateClusterConfigCommand";
119
- import {
120
- UpdateClusterVersionCommandInput,
121
- UpdateClusterVersionCommandOutput,
122
- } from "./commands/UpdateClusterVersionCommand";
123
- import {
124
- UpdateNodegroupConfigCommandInput,
125
- UpdateNodegroupConfigCommandOutput,
126
- } from "./commands/UpdateNodegroupConfigCommand";
127
- import {
128
- UpdateNodegroupVersionCommandInput,
129
- UpdateNodegroupVersionCommandOutput,
130
- } from "./commands/UpdateNodegroupVersionCommand";
131
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
132
-
133
- export type ServiceInputTypes =
134
- | AssociateEncryptionConfigCommandInput
135
- | AssociateIdentityProviderConfigCommandInput
136
- | CreateAddonCommandInput
137
- | CreateClusterCommandInput
138
- | CreateFargateProfileCommandInput
139
- | CreateNodegroupCommandInput
140
- | DeleteAddonCommandInput
141
- | DeleteClusterCommandInput
142
- | DeleteFargateProfileCommandInput
143
- | DeleteNodegroupCommandInput
144
- | DeregisterClusterCommandInput
145
- | DescribeAddonCommandInput
146
- | DescribeAddonVersionsCommandInput
147
- | DescribeClusterCommandInput
148
- | DescribeFargateProfileCommandInput
149
- | DescribeIdentityProviderConfigCommandInput
150
- | DescribeNodegroupCommandInput
151
- | DescribeUpdateCommandInput
152
- | DisassociateIdentityProviderConfigCommandInput
153
- | ListAddonsCommandInput
154
- | ListClustersCommandInput
155
- | ListFargateProfilesCommandInput
156
- | ListIdentityProviderConfigsCommandInput
157
- | ListNodegroupsCommandInput
158
- | ListTagsForResourceCommandInput
159
- | ListUpdatesCommandInput
160
- | RegisterClusterCommandInput
161
- | TagResourceCommandInput
162
- | UntagResourceCommandInput
163
- | UpdateAddonCommandInput
164
- | UpdateClusterConfigCommandInput
165
- | UpdateClusterVersionCommandInput
166
- | UpdateNodegroupConfigCommandInput
167
- | UpdateNodegroupVersionCommandInput;
168
-
169
- export type ServiceOutputTypes =
170
- | AssociateEncryptionConfigCommandOutput
171
- | AssociateIdentityProviderConfigCommandOutput
172
- | CreateAddonCommandOutput
173
- | CreateClusterCommandOutput
174
- | CreateFargateProfileCommandOutput
175
- | CreateNodegroupCommandOutput
176
- | DeleteAddonCommandOutput
177
- | DeleteClusterCommandOutput
178
- | DeleteFargateProfileCommandOutput
179
- | DeleteNodegroupCommandOutput
180
- | DeregisterClusterCommandOutput
181
- | DescribeAddonCommandOutput
182
- | DescribeAddonVersionsCommandOutput
183
- | DescribeClusterCommandOutput
184
- | DescribeFargateProfileCommandOutput
185
- | DescribeIdentityProviderConfigCommandOutput
186
- | DescribeNodegroupCommandOutput
187
- | DescribeUpdateCommandOutput
188
- | DisassociateIdentityProviderConfigCommandOutput
189
- | ListAddonsCommandOutput
190
- | ListClustersCommandOutput
191
- | ListFargateProfilesCommandOutput
192
- | ListIdentityProviderConfigsCommandOutput
193
- | ListNodegroupsCommandOutput
194
- | ListTagsForResourceCommandOutput
195
- | ListUpdatesCommandOutput
196
- | RegisterClusterCommandOutput
197
- | TagResourceCommandOutput
198
- | UntagResourceCommandOutput
199
- | UpdateAddonCommandOutput
200
- | UpdateClusterConfigCommandOutput
201
- | UpdateClusterVersionCommandOutput
202
- | UpdateNodegroupConfigCommandOutput
203
- | UpdateNodegroupVersionCommandOutput;
204
-
205
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
206
- /**
207
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
208
- */
209
- requestHandler?: __HttpHandler;
210
-
211
- /**
212
- * A constructor for a class implementing the {@link __Hash} interface
213
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
214
- * @internal
215
- */
216
- sha256?: __HashConstructor;
217
-
218
- /**
219
- * The function that will be used to convert strings into HTTP endpoints.
220
- * @internal
221
- */
222
- urlParser?: __UrlParser;
223
-
224
- /**
225
- * A function that can calculate the length of a request body.
226
- * @internal
227
- */
228
- bodyLengthChecker?: (body: any) => number | undefined;
229
-
230
- /**
231
- * A function that converts a stream into an array of bytes.
232
- * @internal
233
- */
234
- streamCollector?: __StreamCollector;
235
-
236
- /**
237
- * The function that will be used to convert a base64-encoded string to a byte array.
238
- * @internal
239
- */
240
- base64Decoder?: __Decoder;
241
-
242
- /**
243
- * The function that will be used to convert binary data to a base64-encoded string.
244
- * @internal
245
- */
246
- base64Encoder?: __Encoder;
247
-
248
- /**
249
- * The function that will be used to convert a UTF8-encoded string to a byte array.
250
- * @internal
251
- */
252
- utf8Decoder?: __Decoder;
253
-
254
- /**
255
- * The function that will be used to convert binary data to a UTF-8 encoded string.
256
- * @internal
257
- */
258
- utf8Encoder?: __Encoder;
259
-
260
- /**
261
- * The runtime environment.
262
- * @internal
263
- */
264
- runtime?: string;
265
-
266
- /**
267
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
268
- * trait of an operation.
269
- */
270
- disableHostPrefix?: boolean;
271
-
272
- /**
273
- * Value for how many times a request will be made at most in case of retry.
274
- */
275
- maxAttempts?: number | __Provider<number>;
276
-
277
- /**
278
- * Specifies which retry algorithm to use.
279
- */
280
- retryMode?: string | __Provider<string>;
281
-
282
- /**
283
- * Optional logger for logging debug/info/warn/error.
284
- */
285
- logger?: __Logger;
286
-
287
- /**
288
- * Unique service identifier.
289
- * @internal
290
- */
291
- serviceId?: string;
292
-
293
- /**
294
- * The AWS region to which this client will send requests
295
- */
296
- region?: string | __Provider<string>;
297
-
298
- /**
299
- * Default credentials provider; Not available in browser runtime.
300
- * @internal
301
- */
302
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
303
-
304
- /**
305
- * Fetch related hostname, signing name or signing region with given region.
306
- * @internal
307
- */
308
- regionInfoProvider?: RegionInfoProvider;
309
-
310
- /**
311
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
312
- * @internal
313
- */
314
- defaultUserAgentProvider?: Provider<__UserAgent>;
315
- }
316
-
317
- type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
318
- ClientDefaults &
319
- RegionInputConfig &
320
- EndpointsInputConfig &
321
- RetryInputConfig &
322
- HostHeaderInputConfig &
323
- AwsAuthInputConfig &
324
- UserAgentInputConfig;
325
- /**
326
- * The configuration interface of EKSClient class constructor that set the region, credentials and other options.
327
- */
328
- export interface EKSClientConfig extends EKSClientConfigType {}
329
-
330
- type EKSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
331
- Required<ClientDefaults> &
332
- RegionResolvedConfig &
333
- EndpointsResolvedConfig &
334
- RetryResolvedConfig &
335
- HostHeaderResolvedConfig &
336
- AwsAuthResolvedConfig &
337
- UserAgentResolvedConfig;
338
- /**
339
- * The resolved configuration interface of EKSClient class. This is resolved and normalized from the {@link EKSClientConfig | constructor configuration interface}.
340
- */
341
- export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {}
342
-
343
- /**
344
- * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
345
- * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane.
346
- * Kubernetes is an open-source system for automating the deployment, scaling, and
347
- * management of containerized applications. </p>
348
- * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use
349
- * all the existing plugins and tooling from the Kubernetes community. Applications running
350
- * on Amazon EKS are fully compatible with applications running on any standard Kubernetes
351
- * environment, whether running in on-premises data centers or public clouds. This means
352
- * that you can easily migrate any standard Kubernetes application to Amazon EKS without any
353
- * code modification required.</p>
354
- */
355
- export class EKSClient extends __Client<
356
- __HttpHandlerOptions,
357
- ServiceInputTypes,
358
- ServiceOutputTypes,
359
- EKSClientResolvedConfig
360
- > {
361
- /**
362
- * The resolved configuration of EKSClient class. This is resolved and normalized from the {@link EKSClientConfig | constructor configuration interface}.
363
- */
364
- readonly config: EKSClientResolvedConfig;
365
-
366
- constructor(configuration: EKSClientConfig) {
367
- const _config_0 = __getRuntimeConfig(configuration);
368
- const _config_1 = resolveRegionConfig(_config_0);
369
- const _config_2 = resolveEndpointsConfig(_config_1);
370
- const _config_3 = resolveRetryConfig(_config_2);
371
- const _config_4 = resolveHostHeaderConfig(_config_3);
372
- const _config_5 = resolveAwsAuthConfig(_config_4);
373
- const _config_6 = resolveUserAgentConfig(_config_5);
374
- super(_config_6);
375
- this.config = _config_6;
376
- this.middlewareStack.use(getRetryPlugin(this.config));
377
- this.middlewareStack.use(getContentLengthPlugin(this.config));
378
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
379
- this.middlewareStack.use(getLoggerPlugin(this.config));
380
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
381
- this.middlewareStack.use(getUserAgentPlugin(this.config));
382
- }
383
-
384
- /**
385
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
386
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
387
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
388
- */
389
- destroy(): void {
390
- super.destroy();
391
- }
392
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
15
- import { AssociateEncryptionConfigRequest, AssociateEncryptionConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1AssociateEncryptionConfigCommand,
18
- serializeAws_restJson1AssociateEncryptionConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface AssociateEncryptionConfigCommandInput extends AssociateEncryptionConfigRequest {}
22
- export interface AssociateEncryptionConfigCommandOutput extends AssociateEncryptionConfigResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Associate encryption configuration to an existing cluster.</p>
26
- * <p>You can use this API to enable encryption on existing clusters which do not have
27
- * encryption already enabled. This allows you to implement a defense-in-depth security
28
- * strategy without migrating applications to new Amazon EKS clusters.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { EKSClient, AssociateEncryptionConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
33
- * // const { EKSClient, AssociateEncryptionConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
34
- * const client = new EKSClient(config);
35
- * const command = new AssociateEncryptionConfigCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link AssociateEncryptionConfigCommandInput} for command's `input` shape.
40
- * @see {@link AssociateEncryptionConfigCommandOutput} for command's `response` shape.
41
- * @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class AssociateEncryptionConfigCommand extends $Command<
45
- AssociateEncryptionConfigCommandInput,
46
- AssociateEncryptionConfigCommandOutput,
47
- EKSClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: AssociateEncryptionConfigCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: EKSClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "EKSClient";
72
- const commandName = "AssociateEncryptionConfigCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: AssociateEncryptionConfigRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: AssociateEncryptionConfigResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: AssociateEncryptionConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1AssociateEncryptionConfigCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<AssociateEncryptionConfigCommandOutput> {
96
- return deserializeAws_restJson1AssociateEncryptionConfigCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,110 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
15
- import { AssociateIdentityProviderConfigRequest, AssociateIdentityProviderConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1AssociateIdentityProviderConfigCommand,
18
- serializeAws_restJson1AssociateIdentityProviderConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface AssociateIdentityProviderConfigCommandInput extends AssociateIdentityProviderConfigRequest {}
22
- export interface AssociateIdentityProviderConfigCommandOutput
23
- extends AssociateIdentityProviderConfigResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Associate an identity provider configuration to a cluster.</p>
28
- * <p>If you want to authenticate identities using an identity provider, you can create an
29
- * identity provider configuration and associate it to your cluster. After configuring
30
- * authentication to your cluster you can create Kubernetes <code>roles</code> and
31
- * <code>clusterroles</code> to assign permissions to the roles, and then bind the
32
- * roles to the identities using Kubernetes <code>rolebindings</code> and
33
- * <code>clusterrolebindings</code>. For more information see <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">Using RBAC
34
- * Authorization</a> in the Kubernetes documentation.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { EKSClient, AssociateIdentityProviderConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
39
- * // const { EKSClient, AssociateIdentityProviderConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
40
- * const client = new EKSClient(config);
41
- * const command = new AssociateIdentityProviderConfigCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link AssociateIdentityProviderConfigCommandInput} for command's `input` shape.
46
- * @see {@link AssociateIdentityProviderConfigCommandOutput} for command's `response` shape.
47
- * @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class AssociateIdentityProviderConfigCommand extends $Command<
51
- AssociateIdentityProviderConfigCommandInput,
52
- AssociateIdentityProviderConfigCommandOutput,
53
- EKSClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: AssociateIdentityProviderConfigCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: EKSClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "EKSClient";
78
- const commandName = "AssociateIdentityProviderConfigCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: AssociateIdentityProviderConfigRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: AssociateIdentityProviderConfigResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(
95
- input: AssociateIdentityProviderConfigCommandInput,
96
- context: __SerdeContext
97
- ): Promise<__HttpRequest> {
98
- return serializeAws_restJson1AssociateIdentityProviderConfigCommand(input, context);
99
- }
100
-
101
- private deserialize(
102
- output: __HttpResponse,
103
- context: __SerdeContext
104
- ): Promise<AssociateIdentityProviderConfigCommandOutput> {
105
- return deserializeAws_restJson1AssociateIdentityProviderConfigCommand(output, context);
106
- }
107
-
108
- // Start section: command_body_extra
109
- // End section: command_body_extra
110
- }