@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/EKS.js +0 -13
- package/dist-cjs/EKSClient.js +0 -18
- package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +0 -28
- package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +0 -32
- package/dist-cjs/commands/CreateAddonCommand.js +0 -30
- package/dist-cjs/commands/CreateClusterCommand.js +0 -43
- package/dist-cjs/commands/CreateFargateProfileCommand.js +0 -48
- package/dist-cjs/commands/CreateNodegroupCommand.js +0 -34
- package/dist-cjs/commands/DeleteAddonCommand.js +0 -27
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -32
- package/dist-cjs/commands/DeleteFargateProfileCommand.js +0 -32
- package/dist-cjs/commands/DeleteNodegroupCommand.js +0 -25
- package/dist-cjs/commands/DeregisterClusterCommand.js +0 -25
- package/dist-cjs/commands/DescribeAddonCommand.js +0 -25
- package/dist-cjs/commands/DescribeAddonVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeClusterCommand.js +0 -33
- package/dist-cjs/commands/DescribeFargateProfileCommand.js +0 -25
- package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +0 -25
- package/dist-cjs/commands/DescribeNodegroupCommand.js +0 -25
- package/dist-cjs/commands/DescribeUpdateCommand.js +0 -29
- package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +0 -28
- package/dist-cjs/commands/ListAddonsCommand.js +0 -25
- package/dist-cjs/commands/ListClustersCommand.js +0 -25
- package/dist-cjs/commands/ListFargateProfilesCommand.js +0 -26
- package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +0 -25
- package/dist-cjs/commands/ListNodegroupsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListUpdatesCommand.js +0 -26
- package/dist-cjs/commands/RegisterClusterCommand.js +0 -34
- package/dist-cjs/commands/TagResourceCommand.js +0 -31
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateAddonCommand.js +0 -25
- package/dist-cjs/commands/UpdateClusterConfigCommand.js +0 -51
- package/dist-cjs/commands/UpdateClusterVersionCommand.js +0 -35
- package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +0 -29
- package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +0 -42
- package/dist-cjs/commands/index.js +37 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -53
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -361
- package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAddonsPaginator.js +0 -11
- package/dist-cjs/pagination/ListClustersPaginator.js +0 -11
- package/dist-cjs/pagination/ListFargateProfilesPaginator.js +0 -11
- package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +0 -11
- package/dist-cjs/pagination/ListNodegroupsPaginator.js +0 -11
- package/dist-cjs/pagination/ListUpdatesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +11 -0
- package/dist-cjs/waiters/waitForAddonActive.js +0 -10
- package/dist-cjs/waiters/waitForAddonDeleted.js +0 -10
- package/dist-cjs/waiters/waitForClusterActive.js +0 -10
- package/dist-cjs/waiters/waitForClusterDeleted.js +0 -10
- package/dist-cjs/waiters/waitForFargateProfileActive.js +0 -10
- package/dist-cjs/waiters/waitForFargateProfileDeleted.js +0 -10
- package/dist-cjs/waiters/waitForNodegroupActive.js +0 -10
- package/dist-cjs/waiters/waitForNodegroupDeleted.js +0 -10
- package/dist-es/EKS.js +0 -1
- package/dist-es/EKSClient.js +0 -1
- package/dist-es/commands/AssociateEncryptionConfigCommand.js +0 -1
- package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +0 -1
- package/dist-es/commands/CreateAddonCommand.js +0 -1
- package/dist-es/commands/CreateClusterCommand.js +0 -1
- package/dist-es/commands/CreateFargateProfileCommand.js +0 -1
- package/dist-es/commands/CreateNodegroupCommand.js +0 -1
- package/dist-es/commands/DeleteAddonCommand.js +0 -1
- package/dist-es/commands/DeleteClusterCommand.js +0 -1
- package/dist-es/commands/DeleteFargateProfileCommand.js +0 -1
- package/dist-es/commands/DeleteNodegroupCommand.js +0 -1
- package/dist-es/commands/DeregisterClusterCommand.js +0 -1
- package/dist-es/commands/DescribeAddonCommand.js +0 -1
- package/dist-es/commands/DescribeAddonVersionsCommand.js +0 -1
- package/dist-es/commands/DescribeClusterCommand.js +0 -1
- package/dist-es/commands/DescribeFargateProfileCommand.js +0 -1
- package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +0 -1
- package/dist-es/commands/DescribeNodegroupCommand.js +0 -1
- package/dist-es/commands/DescribeUpdateCommand.js +0 -1
- package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +0 -1
- package/dist-es/commands/ListAddonsCommand.js +0 -1
- package/dist-es/commands/ListClustersCommand.js +0 -1
- package/dist-es/commands/ListFargateProfilesCommand.js +0 -1
- package/dist-es/commands/ListIdentityProviderConfigsCommand.js +0 -1
- package/dist-es/commands/ListNodegroupsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListUpdatesCommand.js +0 -1
- package/dist-es/commands/RegisterClusterCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAddonCommand.js +0 -1
- package/dist-es/commands/UpdateClusterConfigCommand.js +0 -1
- package/dist-es/commands/UpdateClusterVersionCommand.js +0 -1
- package/dist-es/commands/UpdateNodegroupConfigCommand.js +0 -1
- package/dist-es/commands/UpdateNodegroupVersionCommand.js +0 -1
- package/dist-es/commands/index.js +34 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -53
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAddonsPaginator.js +0 -1
- package/dist-es/pagination/ListClustersPaginator.js +0 -1
- package/dist-es/pagination/ListFargateProfilesPaginator.js +0 -1
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListNodegroupsPaginator.js +0 -1
- package/dist-es/pagination/ListUpdatesPaginator.js +0 -1
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +8 -0
- package/dist-es/waiters/waitForAddonActive.js +0 -1
- package/dist-es/waiters/waitForAddonDeleted.js +0 -1
- package/dist-es/waiters/waitForClusterActive.js +0 -1
- package/dist-es/waiters/waitForClusterDeleted.js +0 -1
- package/dist-es/waiters/waitForFargateProfileActive.js +0 -1
- package/dist-es/waiters/waitForFargateProfileDeleted.js +0 -1
- package/dist-es/waiters/waitForNodegroupActive.js +0 -1
- package/dist-es/waiters/waitForNodegroupDeleted.js +0 -1
- package/dist-types/commands/index.d.ts +34 -0
- package/dist-types/index.d.ts +5 -52
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/EKS.d.ts +35 -285
- package/dist-types/ts3.4/EKSClient.d.ts +24 -98
- package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/index.d.ts +5 -52
- package/dist-types/ts3.4/models/models_0.d.ts +525 -2214
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +8 -0
- package/dist-types/ts3.4/waiters/waitForAddonActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForAddonDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForClusterDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForFargateProfileActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForFargateProfileDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForNodegroupActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForNodegroupDeleted.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +8 -0
- package/package.json +34 -31
- package/dist-cjs/EKS.js.map +0 -1
- package/dist-cjs/EKSClient.js.map +0 -1
- package/dist-cjs/commands/AssociateEncryptionConfigCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAddonCommand.js.map +0 -1
- package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFargateProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateNodegroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAddonCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFargateProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNodegroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAddonCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAddonVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFargateProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeNodegroupCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeUpdateCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListAddonsCommand.js.map +0 -1
- package/dist-cjs/commands/ListClustersCommand.js.map +0 -1
- package/dist-cjs/commands/ListFargateProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListNodegroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListUpdatesCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterClusterCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAddonCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateClusterConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateClusterVersionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateNodegroupConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateNodegroupVersionCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAddonsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFargateProfilesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListNodegroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListUpdatesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForAddonActive.js.map +0 -1
- package/dist-cjs/waiters/waitForAddonDeleted.js.map +0 -1
- package/dist-cjs/waiters/waitForClusterActive.js.map +0 -1
- package/dist-cjs/waiters/waitForClusterDeleted.js.map +0 -1
- package/dist-cjs/waiters/waitForFargateProfileActive.js.map +0 -1
- package/dist-cjs/waiters/waitForFargateProfileDeleted.js.map +0 -1
- package/dist-cjs/waiters/waitForNodegroupActive.js.map +0 -1
- package/dist-cjs/waiters/waitForNodegroupDeleted.js.map +0 -1
- package/dist-es/EKS.js.map +0 -1
- package/dist-es/EKSClient.js.map +0 -1
- package/dist-es/commands/AssociateEncryptionConfigCommand.js.map +0 -1
- package/dist-es/commands/AssociateIdentityProviderConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateAddonCommand.js.map +0 -1
- package/dist-es/commands/CreateClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateFargateProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateNodegroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteAddonCommand.js.map +0 -1
- package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteFargateProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteNodegroupCommand.js.map +0 -1
- package/dist-es/commands/DeregisterClusterCommand.js.map +0 -1
- package/dist-es/commands/DescribeAddonCommand.js.map +0 -1
- package/dist-es/commands/DescribeAddonVersionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeClusterCommand.js.map +0 -1
- package/dist-es/commands/DescribeFargateProfileCommand.js.map +0 -1
- package/dist-es/commands/DescribeIdentityProviderConfigCommand.js.map +0 -1
- package/dist-es/commands/DescribeNodegroupCommand.js.map +0 -1
- package/dist-es/commands/DescribeUpdateCommand.js.map +0 -1
- package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js.map +0 -1
- package/dist-es/commands/ListAddonsCommand.js.map +0 -1
- package/dist-es/commands/ListClustersCommand.js.map +0 -1
- package/dist-es/commands/ListFargateProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListIdentityProviderConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListNodegroupsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListUpdatesCommand.js.map +0 -1
- package/dist-es/commands/RegisterClusterCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAddonCommand.js.map +0 -1
- package/dist-es/commands/UpdateClusterConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateClusterVersionCommand.js.map +0 -1
- package/dist-es/commands/UpdateNodegroupConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateNodegroupVersionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAddonsPaginator.js.map +0 -1
- package/dist-es/pagination/ListClustersPaginator.js.map +0 -1
- package/dist-es/pagination/ListFargateProfilesPaginator.js.map +0 -1
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListNodegroupsPaginator.js.map +0 -1
- package/dist-es/pagination/ListUpdatesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForAddonActive.js.map +0 -1
- package/dist-es/waiters/waitForAddonDeleted.js.map +0 -1
- package/dist-es/waiters/waitForClusterActive.js.map +0 -1
- package/dist-es/waiters/waitForClusterDeleted.js.map +0 -1
- package/dist-es/waiters/waitForFargateProfileActive.js.map +0 -1
- package/dist-es/waiters/waitForFargateProfileDeleted.js.map +0 -1
- package/dist-es/waiters/waitForNodegroupActive.js.map +0 -1
- package/dist-es/waiters/waitForNodegroupDeleted.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/EKS.ts +0 -1383
- package/src/EKSClient.ts +0 -392
- package/src/commands/AssociateEncryptionConfigCommand.ts +0 -101
- package/src/commands/AssociateIdentityProviderConfigCommand.ts +0 -110
- package/src/commands/CreateAddonCommand.ts +0 -100
- package/src/commands/CreateClusterCommand.ts +0 -113
- package/src/commands/CreateFargateProfileCommand.ts +0 -118
- package/src/commands/CreateNodegroupCommand.ts +0 -104
- package/src/commands/DeleteAddonCommand.ts +0 -97
- package/src/commands/DeleteClusterCommand.ts +0 -102
- package/src/commands/DeleteFargateProfileCommand.ts +0 -102
- package/src/commands/DeleteNodegroupCommand.ts +0 -95
- package/src/commands/DeregisterClusterCommand.ts +0 -95
- package/src/commands/DescribeAddonCommand.ts +0 -95
- package/src/commands/DescribeAddonVersionsCommand.ts +0 -95
- package/src/commands/DescribeClusterCommand.ts +0 -103
- package/src/commands/DescribeFargateProfileCommand.ts +0 -95
- package/src/commands/DescribeIdentityProviderConfigCommand.ts +0 -103
- package/src/commands/DescribeNodegroupCommand.ts +0 -95
- package/src/commands/DescribeUpdateCommand.ts +0 -99
- package/src/commands/DisassociateIdentityProviderConfigCommand.ts +0 -109
- package/src/commands/ListAddonsCommand.ts +0 -95
- package/src/commands/ListClustersCommand.ts +0 -95
- package/src/commands/ListFargateProfilesCommand.ts +0 -96
- package/src/commands/ListIdentityProviderConfigsCommand.ts +0 -100
- package/src/commands/ListNodegroupsCommand.ts +0 -96
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListUpdatesCommand.ts +0 -96
- package/src/commands/RegisterClusterCommand.ts +0 -104
- package/src/commands/TagResourceCommand.ts +0 -101
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateAddonCommand.ts +0 -95
- package/src/commands/UpdateClusterConfigCommand.ts +0 -121
- package/src/commands/UpdateClusterVersionCommand.ts +0 -105
- package/src/commands/UpdateNodegroupConfigCommand.ts +0 -99
- package/src/commands/UpdateNodegroupVersionCommand.ts +0 -112
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -53
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -4086
- package/src/pagination/DescribeAddonVersionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAddonsPaginator.ts +0 -55
- package/src/pagination/ListClustersPaginator.ts +0 -59
- package/src/pagination/ListFargateProfilesPaginator.ts +0 -59
- package/src/pagination/ListIdentityProviderConfigsPaginator.ts +0 -59
- package/src/pagination/ListNodegroupsPaginator.ts +0 -59
- package/src/pagination/ListUpdatesPaginator.ts +0 -55
- package/src/protocols/Aws_restJson1.ts +0 -5805
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForAddonActive.ts +0 -63
- package/src/waiters/waitForAddonDeleted.ts +0 -50
- package/src/waiters/waitForClusterActive.ts +0 -63
- package/src/waiters/waitForClusterDeleted.ts +0 -66
- package/src/waiters/waitForFargateProfileActive.ts +0 -58
- package/src/waiters/waitForFargateProfileDeleted.ts +0 -53
- package/src/waiters/waitForNodegroupActive.ts +0 -55
- package/src/waiters/waitForNodegroupDeleted.ts +0 -50
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,100 +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 { CreateAddonRequest, CreateAddonResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateAddonCommand,
|
|
18
|
-
serializeAws_restJson1CreateAddonCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateAddonCommandInput extends CreateAddonRequest {}
|
|
22
|
-
export interface CreateAddonCommandOutput extends CreateAddonResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Amazon EKS add-on.</p>
|
|
26
|
-
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management of common
|
|
27
|
-
* operational software for Amazon EKS clusters. Amazon EKS add-ons can only be used with Amazon EKS
|
|
28
|
-
* clusters running version 1.18 with platform version <code>eks.3</code> or later because
|
|
29
|
-
* add-ons rely on the Server-side Apply Kubernetes feature, which is only available in
|
|
30
|
-
* Kubernetes 1.18 and later.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { EKSClient, CreateAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
35
|
-
* // const { EKSClient, CreateAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
36
|
-
* const client = new EKSClient(config);
|
|
37
|
-
* const command = new CreateAddonCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateAddonCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateAddonCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateAddonCommand extends $Command<
|
|
47
|
-
CreateAddonCommandInput,
|
|
48
|
-
CreateAddonCommandOutput,
|
|
49
|
-
EKSClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateAddonCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: EKSClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateAddonCommandInput, CreateAddonCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "EKSClient";
|
|
74
|
-
const commandName = "CreateAddonCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateAddonRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreateAddonResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateAddonCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1CreateAddonCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAddonCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1CreateAddonCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,113 +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 { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateClusterCommand,
|
|
18
|
-
serializeAws_restJson1CreateClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateClusterCommandInput extends CreateClusterRequest {}
|
|
22
|
-
export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Amazon EKS control plane. </p>
|
|
26
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
|
|
27
|
-
* software, such as <code>etcd</code> and the API server. The control plane runs in an
|
|
28
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server
|
|
29
|
-
* endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its
|
|
30
|
-
* own set of Amazon EC2 instances.</p>
|
|
31
|
-
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
32
|
-
* fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
|
|
33
|
-
* subnets to provide connectivity from the control plane instances to the nodes (for
|
|
34
|
-
* example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
|
|
35
|
-
* data flows).</p>
|
|
36
|
-
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via
|
|
37
|
-
* the Kubernetes API server endpoint and a certificate file that is created for your
|
|
38
|
-
* cluster.</p>
|
|
39
|
-
*
|
|
40
|
-
* <p>Cluster creation typically takes several minutes. After you create an Amazon EKS cluster,
|
|
41
|
-
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
42
|
-
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
43
|
-
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { EKSClient, CreateClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
48
|
-
* // const { EKSClient, CreateClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
49
|
-
* const client = new EKSClient(config);
|
|
50
|
-
* const command = new CreateClusterCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export class CreateClusterCommand extends $Command<
|
|
60
|
-
CreateClusterCommandInput,
|
|
61
|
-
CreateClusterCommandOutput,
|
|
62
|
-
EKSClientResolvedConfig
|
|
63
|
-
> {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
|
-
|
|
67
|
-
constructor(readonly input: CreateClusterCommandInput) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
|
-
super();
|
|
70
|
-
// End section: command_constructor
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
resolveMiddleware(
|
|
77
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
78
|
-
configuration: EKSClientResolvedConfig,
|
|
79
|
-
options?: __HttpHandlerOptions
|
|
80
|
-
): Handler<CreateClusterCommandInput, CreateClusterCommandOutput> {
|
|
81
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
82
|
-
|
|
83
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
84
|
-
|
|
85
|
-
const { logger } = configuration;
|
|
86
|
-
const clientName = "EKSClient";
|
|
87
|
-
const commandName = "CreateClusterCommand";
|
|
88
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
89
|
-
logger,
|
|
90
|
-
clientName,
|
|
91
|
-
commandName,
|
|
92
|
-
inputFilterSensitiveLog: CreateClusterRequest.filterSensitiveLog,
|
|
93
|
-
outputFilterSensitiveLog: CreateClusterResponse.filterSensitiveLog,
|
|
94
|
-
};
|
|
95
|
-
const { requestHandler } = configuration;
|
|
96
|
-
return stack.resolve(
|
|
97
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
98
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
99
|
-
handlerExecutionContext
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private serialize(input: CreateClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
104
|
-
return serializeAws_restJson1CreateClusterCommand(input, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateClusterCommandOutput> {
|
|
108
|
-
return deserializeAws_restJson1CreateClusterCommand(output, context);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Start section: command_body_extra
|
|
112
|
-
// End section: command_body_extra
|
|
113
|
-
}
|
|
@@ -1,118 +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 { CreateFargateProfileRequest, CreateFargateProfileResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateFargateProfileCommand,
|
|
18
|
-
serializeAws_restJson1CreateFargateProfileCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateFargateProfileCommandInput extends CreateFargateProfileRequest {}
|
|
22
|
-
export interface CreateFargateProfileCommandOutput extends CreateFargateProfileResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate
|
|
26
|
-
* profile in a cluster to be able to run pods on Fargate.</p>
|
|
27
|
-
* <p>The Fargate profile allows an administrator to declare which pods run on Fargate and specify
|
|
28
|
-
* which pods run on which Fargate profile. This declaration is done through the profile’s
|
|
29
|
-
* selectors. Each profile can have up to five selectors that contain a namespace and
|
|
30
|
-
* labels. A namespace is required for every selector. The label field consists of multiple
|
|
31
|
-
* optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a
|
|
32
|
-
* to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is
|
|
33
|
-
* run on Fargate.</p>
|
|
34
|
-
* <p>When you create a Fargate profile, you must specify a pod execution role to use with the
|
|
35
|
-
* pods that are scheduled with the profile. This role is added to the cluster's Kubernetes
|
|
36
|
-
* <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access
|
|
37
|
-
* Control</a> (RBAC) for authorization so that the <code>kubelet</code> that is
|
|
38
|
-
* running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can
|
|
39
|
-
* appear in your cluster as a node. The pod execution role also provides IAM permissions
|
|
40
|
-
* to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more
|
|
41
|
-
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
42
|
-
* <p>Fargate profiles are immutable. However, you can create a new updated profile to replace
|
|
43
|
-
* an existing profile and then delete the original after the updated profile has finished
|
|
44
|
-
* creating.</p>
|
|
45
|
-
* <p>If any Fargate profiles in a cluster are in the <code>DELETING</code> status, you must
|
|
46
|
-
* wait for that Fargate profile to finish deleting before you can create any other profiles
|
|
47
|
-
* in that cluster.</p>
|
|
48
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { EKSClient, CreateFargateProfileCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
53
|
-
* // const { EKSClient, CreateFargateProfileCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
54
|
-
* const client = new EKSClient(config);
|
|
55
|
-
* const command = new CreateFargateProfileCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link CreateFargateProfileCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link CreateFargateProfileCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export class CreateFargateProfileCommand extends $Command<
|
|
65
|
-
CreateFargateProfileCommandInput,
|
|
66
|
-
CreateFargateProfileCommandOutput,
|
|
67
|
-
EKSClientResolvedConfig
|
|
68
|
-
> {
|
|
69
|
-
// Start section: command_properties
|
|
70
|
-
// End section: command_properties
|
|
71
|
-
|
|
72
|
-
constructor(readonly input: CreateFargateProfileCommandInput) {
|
|
73
|
-
// Start section: command_constructor
|
|
74
|
-
super();
|
|
75
|
-
// End section: command_constructor
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
resolveMiddleware(
|
|
82
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
83
|
-
configuration: EKSClientResolvedConfig,
|
|
84
|
-
options?: __HttpHandlerOptions
|
|
85
|
-
): Handler<CreateFargateProfileCommandInput, CreateFargateProfileCommandOutput> {
|
|
86
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
87
|
-
|
|
88
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
89
|
-
|
|
90
|
-
const { logger } = configuration;
|
|
91
|
-
const clientName = "EKSClient";
|
|
92
|
-
const commandName = "CreateFargateProfileCommand";
|
|
93
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
94
|
-
logger,
|
|
95
|
-
clientName,
|
|
96
|
-
commandName,
|
|
97
|
-
inputFilterSensitiveLog: CreateFargateProfileRequest.filterSensitiveLog,
|
|
98
|
-
outputFilterSensitiveLog: CreateFargateProfileResponse.filterSensitiveLog,
|
|
99
|
-
};
|
|
100
|
-
const { requestHandler } = configuration;
|
|
101
|
-
return stack.resolve(
|
|
102
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
103
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
104
|
-
handlerExecutionContext
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private serialize(input: CreateFargateProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
109
|
-
return serializeAws_restJson1CreateFargateProfileCommand(input, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFargateProfileCommandOutput> {
|
|
113
|
-
return deserializeAws_restJson1CreateFargateProfileCommand(output, context);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Start section: command_body_extra
|
|
117
|
-
// End section: command_body_extra
|
|
118
|
-
}
|
|
@@ -1,104 +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 { CreateNodegroupRequest, CreateNodegroupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateNodegroupCommand,
|
|
18
|
-
serializeAws_restJson1CreateNodegroupCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateNodegroupCommandInput extends CreateNodegroupRequest {}
|
|
22
|
-
export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a managed node group for an Amazon EKS cluster. You can only create a node group
|
|
26
|
-
* for your cluster that is equal to the current Kubernetes version for the cluster. All
|
|
27
|
-
* node groups are created with the latest AMI release version for the respective minor
|
|
28
|
-
* Kubernetes version of the cluster, unless you deploy a custom AMI using a launch
|
|
29
|
-
* template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
|
|
30
|
-
* template support</a>.</p>
|
|
31
|
-
* <p>An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that
|
|
32
|
-
* are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS
|
|
33
|
-
* optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
|
|
34
|
-
* Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { EKSClient, CreateNodegroupCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
39
|
-
* // const { EKSClient, CreateNodegroupCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
40
|
-
* const client = new EKSClient(config);
|
|
41
|
-
* const command = new CreateNodegroupCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link CreateNodegroupCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link CreateNodegroupCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class CreateNodegroupCommand extends $Command<
|
|
51
|
-
CreateNodegroupCommandInput,
|
|
52
|
-
CreateNodegroupCommandOutput,
|
|
53
|
-
EKSClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: CreateNodegroupCommandInput) {
|
|
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<CreateNodegroupCommandInput, CreateNodegroupCommandOutput> {
|
|
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 = "CreateNodegroupCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: CreateNodegroupRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: CreateNodegroupResponse.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(input: CreateNodegroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_restJson1CreateNodegroupCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateNodegroupCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1CreateNodegroupCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,97 +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 { DeleteAddonRequest, DeleteAddonResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAddonCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAddonCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAddonCommandInput extends DeleteAddonRequest {}
|
|
22
|
-
export interface DeleteAddonCommandOutput extends DeleteAddonResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Delete an Amazon EKS add-on.</p>
|
|
26
|
-
* <p>When you remove the add-on, it will also be deleted from the cluster. You can always
|
|
27
|
-
* manually start an add-on on the cluster using the Kubernetes API.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { EKSClient, DeleteAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
32
|
-
* // const { EKSClient, DeleteAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
33
|
-
* const client = new EKSClient(config);
|
|
34
|
-
* const command = new DeleteAddonCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteAddonCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteAddonCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeleteAddonCommand extends $Command<
|
|
44
|
-
DeleteAddonCommandInput,
|
|
45
|
-
DeleteAddonCommandOutput,
|
|
46
|
-
EKSClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeleteAddonCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: EKSClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DeleteAddonCommandInput, DeleteAddonCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "EKSClient";
|
|
71
|
-
const commandName = "DeleteAddonCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeleteAddonRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DeleteAddonResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DeleteAddonCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1DeleteAddonCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAddonCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1DeleteAddonCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,102 +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 { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteClusterCommand,
|
|
18
|
-
serializeAws_restJson1DeleteClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteClusterCommandInput extends DeleteClusterRequest {}
|
|
22
|
-
export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes the Amazon EKS cluster control plane.</p>
|
|
26
|
-
* <p>If you have active services in your cluster that are associated with a load balancer,
|
|
27
|
-
* you must delete those services before deleting the cluster so that the load balancers
|
|
28
|
-
* are deleted properly. Otherwise, you can have orphaned resources in your VPC that
|
|
29
|
-
* prevent you from being able to delete the VPC. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a
|
|
30
|
-
* Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
31
|
-
* <p>If you have managed node groups or Fargate profiles attached to the cluster, you must
|
|
32
|
-
* delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { EKSClient, DeleteClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
37
|
-
* // const { EKSClient, DeleteClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
38
|
-
* const client = new EKSClient(config);
|
|
39
|
-
* const command = new DeleteClusterCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DeleteClusterCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DeleteClusterCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class DeleteClusterCommand extends $Command<
|
|
49
|
-
DeleteClusterCommandInput,
|
|
50
|
-
DeleteClusterCommandOutput,
|
|
51
|
-
EKSClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: DeleteClusterCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: EKSClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "EKSClient";
|
|
76
|
-
const commandName = "DeleteClusterCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: DeleteClusterRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: DeleteClusterResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: DeleteClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restJson1DeleteClusterCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteClusterCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1DeleteClusterCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|