@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,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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
18
|
-
serializeAws_restJson1TagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Associates the specified tags to a resource with the specified
|
|
26
|
-
* <code>resourceArn</code>. If existing tags on a resource are not specified in the
|
|
27
|
-
* request parameters, they are not changed. When a resource is deleted, the tags
|
|
28
|
-
* associated with that resource are deleted as well. Tags that you create for Amazon EKS
|
|
29
|
-
* resources do not propagate to any other resources associated with the cluster. For
|
|
30
|
-
* example, if you tag a cluster with this operation, that tag does not automatically
|
|
31
|
-
* propagate to the subnets and nodes associated with the cluster.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { EKSClient, TagResourceCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
36
|
-
* // const { EKSClient, TagResourceCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
37
|
-
* const client = new EKSClient(config);
|
|
38
|
-
* const command = new TagResourceCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class TagResourceCommand extends $Command<
|
|
48
|
-
TagResourceCommandInput,
|
|
49
|
-
TagResourceCommandOutput,
|
|
50
|
-
EKSClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: EKSClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "EKSClient";
|
|
75
|
-
const commandName = "TagResourceCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,95 +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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
18
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
22
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { EKSClient, UntagResourceCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
30
|
-
* // const { EKSClient, UntagResourceCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
31
|
-
* const client = new EKSClient(config);
|
|
32
|
-
* const command = new UntagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UntagResourceCommand extends $Command<
|
|
42
|
-
UntagResourceCommandInput,
|
|
43
|
-
UntagResourceCommandOutput,
|
|
44
|
-
EKSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: EKSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "EKSClient";
|
|
69
|
-
const commandName = "UntagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +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 { UpdateAddonRequest, UpdateAddonResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateAddonCommand,
|
|
18
|
-
serializeAws_restJson1UpdateAddonCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateAddonCommandInput extends UpdateAddonRequest {}
|
|
22
|
-
export interface UpdateAddonCommandOutput extends UpdateAddonResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Amazon EKS add-on.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { EKSClient, UpdateAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
30
|
-
* // const { EKSClient, UpdateAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
31
|
-
* const client = new EKSClient(config);
|
|
32
|
-
* const command = new UpdateAddonCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UpdateAddonCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UpdateAddonCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UpdateAddonCommand extends $Command<
|
|
42
|
-
UpdateAddonCommandInput,
|
|
43
|
-
UpdateAddonCommandOutput,
|
|
44
|
-
EKSClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UpdateAddonCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: EKSClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UpdateAddonCommandInput, UpdateAddonCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "EKSClient";
|
|
69
|
-
const commandName = "UpdateAddonCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UpdateAddonRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UpdateAddonResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UpdateAddonCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UpdateAddonCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAddonCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UpdateAddonCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,121 +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 { UpdateClusterConfigRequest, UpdateClusterConfigResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateClusterConfigCommand,
|
|
18
|
-
serializeAws_restJson1UpdateClusterConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateClusterConfigCommandInput extends UpdateClusterConfigRequest {}
|
|
22
|
-
export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the
|
|
26
|
-
* update. The response output includes an update ID that you can use to track the status
|
|
27
|
-
* of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
|
|
28
|
-
* <p>You can use this API operation to enable or disable exporting the Kubernetes control
|
|
29
|
-
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't
|
|
30
|
-
* exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
|
|
31
|
-
* Cluster Control Plane Logs</a> in the
|
|
32
|
-
* <i>
|
|
33
|
-
* <i>Amazon EKS User Guide</i>
|
|
34
|
-
* </i>.</p>
|
|
35
|
-
* <note>
|
|
36
|
-
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
|
|
37
|
-
* control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
|
|
38
|
-
* </note>
|
|
39
|
-
* <p>You can also use this API operation to enable or disable public and private access to
|
|
40
|
-
* your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
|
|
41
|
-
* private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
|
|
42
|
-
* endpoint access control</a> in the <i>
|
|
43
|
-
* <i>Amazon EKS User Guide</i>
|
|
44
|
-
* </i>. </p>
|
|
45
|
-
* <important>
|
|
46
|
-
* <p>You can't update the subnets or security group IDs for an existing cluster.</p>
|
|
47
|
-
* </important>
|
|
48
|
-
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
49
|
-
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
50
|
-
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
51
|
-
* <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { EKSClient, UpdateClusterConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
56
|
-
* // const { EKSClient, UpdateClusterConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
57
|
-
* const client = new EKSClient(config);
|
|
58
|
-
* const command = new UpdateClusterConfigCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link UpdateClusterConfigCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link UpdateClusterConfigCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
export class UpdateClusterConfigCommand extends $Command<
|
|
68
|
-
UpdateClusterConfigCommandInput,
|
|
69
|
-
UpdateClusterConfigCommandOutput,
|
|
70
|
-
EKSClientResolvedConfig
|
|
71
|
-
> {
|
|
72
|
-
// Start section: command_properties
|
|
73
|
-
// End section: command_properties
|
|
74
|
-
|
|
75
|
-
constructor(readonly input: UpdateClusterConfigCommandInput) {
|
|
76
|
-
// Start section: command_constructor
|
|
77
|
-
super();
|
|
78
|
-
// End section: command_constructor
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(
|
|
85
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
86
|
-
configuration: EKSClientResolvedConfig,
|
|
87
|
-
options?: __HttpHandlerOptions
|
|
88
|
-
): Handler<UpdateClusterConfigCommandInput, UpdateClusterConfigCommandOutput> {
|
|
89
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
|
-
|
|
91
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
92
|
-
|
|
93
|
-
const { logger } = configuration;
|
|
94
|
-
const clientName = "EKSClient";
|
|
95
|
-
const commandName = "UpdateClusterConfigCommand";
|
|
96
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
97
|
-
logger,
|
|
98
|
-
clientName,
|
|
99
|
-
commandName,
|
|
100
|
-
inputFilterSensitiveLog: UpdateClusterConfigRequest.filterSensitiveLog,
|
|
101
|
-
outputFilterSensitiveLog: UpdateClusterConfigResponse.filterSensitiveLog,
|
|
102
|
-
};
|
|
103
|
-
const { requestHandler } = configuration;
|
|
104
|
-
return stack.resolve(
|
|
105
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
106
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
107
|
-
handlerExecutionContext
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private serialize(input: UpdateClusterConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
112
|
-
return serializeAws_restJson1UpdateClusterConfigCommand(input, context);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateClusterConfigCommandOutput> {
|
|
116
|
-
return deserializeAws_restJson1UpdateClusterConfigCommand(output, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// Start section: command_body_extra
|
|
120
|
-
// End section: command_body_extra
|
|
121
|
-
}
|
|
@@ -1,105 +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 { UpdateClusterVersionRequest, UpdateClusterVersionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateClusterVersionCommand,
|
|
18
|
-
serializeAws_restJson1UpdateClusterVersionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateClusterVersionCommandInput extends UpdateClusterVersionRequest {}
|
|
22
|
-
export interface UpdateClusterVersionCommandOutput extends UpdateClusterVersionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues
|
|
26
|
-
* to function during the update. The response output includes an update ID that you can
|
|
27
|
-
* use to track the status of your cluster update with the <a>DescribeUpdate</a>
|
|
28
|
-
* API operation.</p>
|
|
29
|
-
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
30
|
-
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
31
|
-
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
32
|
-
* <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
|
|
33
|
-
* <p>If your cluster has managed node groups attached to it, all of your node groups’
|
|
34
|
-
* Kubernetes versions must match the cluster’s Kubernetes version in order to update the
|
|
35
|
-
* cluster to a new Kubernetes version.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { EKSClient, UpdateClusterVersionCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
40
|
-
* // const { EKSClient, UpdateClusterVersionCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
41
|
-
* const client = new EKSClient(config);
|
|
42
|
-
* const command = new UpdateClusterVersionCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link UpdateClusterVersionCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link UpdateClusterVersionCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class UpdateClusterVersionCommand extends $Command<
|
|
52
|
-
UpdateClusterVersionCommandInput,
|
|
53
|
-
UpdateClusterVersionCommandOutput,
|
|
54
|
-
EKSClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: UpdateClusterVersionCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: EKSClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<UpdateClusterVersionCommandInput, UpdateClusterVersionCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "EKSClient";
|
|
79
|
-
const commandName = "UpdateClusterVersionCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: UpdateClusterVersionRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: UpdateClusterVersionResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: UpdateClusterVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restJson1UpdateClusterVersionCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateClusterVersionCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1UpdateClusterVersionCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,99 +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 { UpdateNodegroupConfigRequest, UpdateNodegroupConfigResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateNodegroupConfigCommand,
|
|
18
|
-
serializeAws_restJson1UpdateNodegroupConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateNodegroupConfigCommandInput extends UpdateNodegroupConfigRequest {}
|
|
22
|
-
export interface UpdateNodegroupConfigCommandOutput extends UpdateNodegroupConfigResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an Amazon EKS managed node group configuration. Your node group continues to
|
|
26
|
-
* function during the update. The response output includes an update ID that you can use
|
|
27
|
-
* to track the status of your node group update with the <a>DescribeUpdate</a>
|
|
28
|
-
* API operation. Currently you can update the Kubernetes labels for a node group or the
|
|
29
|
-
* scaling configuration.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { EKSClient, UpdateNodegroupConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
34
|
-
* // const { EKSClient, UpdateNodegroupConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
35
|
-
* const client = new EKSClient(config);
|
|
36
|
-
* const command = new UpdateNodegroupConfigCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateNodegroupConfigCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateNodegroupConfigCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class UpdateNodegroupConfigCommand extends $Command<
|
|
46
|
-
UpdateNodegroupConfigCommandInput,
|
|
47
|
-
UpdateNodegroupConfigCommandOutput,
|
|
48
|
-
EKSClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: UpdateNodegroupConfigCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: EKSClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<UpdateNodegroupConfigCommandInput, UpdateNodegroupConfigCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "EKSClient";
|
|
73
|
-
const commandName = "UpdateNodegroupConfigCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: UpdateNodegroupConfigRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: UpdateNodegroupConfigResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: UpdateNodegroupConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1UpdateNodegroupConfigCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateNodegroupConfigCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1UpdateNodegroupConfigCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|