@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,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
DescribeAddonVersionsCommand,
|
|
5
|
-
DescribeAddonVersionsCommandInput,
|
|
6
|
-
DescribeAddonVersionsCommandOutput,
|
|
7
|
-
} from "../commands/DescribeAddonVersionsCommand";
|
|
8
|
-
import { EKS } from "../EKS";
|
|
9
|
-
import { EKSClient } from "../EKSClient";
|
|
10
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: EKSClient,
|
|
17
|
-
input: DescribeAddonVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<DescribeAddonVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new DescribeAddonVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: EKS,
|
|
28
|
-
input: DescribeAddonVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<DescribeAddonVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.describeAddonVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateDescribeAddonVersions(
|
|
35
|
-
config: EKSPaginationConfiguration,
|
|
36
|
-
input: DescribeAddonVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<DescribeAddonVersionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: DescribeAddonVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof EKS) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof EKSClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListAddonsCommand, ListAddonsCommandInput, ListAddonsCommandOutput } from "../commands/ListAddonsCommand";
|
|
4
|
-
import { EKS } from "../EKS";
|
|
5
|
-
import { EKSClient } from "../EKSClient";
|
|
6
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: EKSClient,
|
|
13
|
-
input: ListAddonsCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListAddonsCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListAddonsCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: EKS,
|
|
24
|
-
input: ListAddonsCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListAddonsCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listAddons(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListAddons(
|
|
31
|
-
config: EKSPaginationConfiguration,
|
|
32
|
-
input: ListAddonsCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListAddonsCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListAddonsCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
input["maxResults"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof EKS) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof EKSClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.nextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListClustersCommand,
|
|
5
|
-
ListClustersCommandInput,
|
|
6
|
-
ListClustersCommandOutput,
|
|
7
|
-
} from "../commands/ListClustersCommand";
|
|
8
|
-
import { EKS } from "../EKS";
|
|
9
|
-
import { EKSClient } from "../EKSClient";
|
|
10
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: EKSClient,
|
|
17
|
-
input: ListClustersCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListClustersCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListClustersCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: EKS,
|
|
28
|
-
input: ListClustersCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListClustersCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listClusters(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListClusters(
|
|
35
|
-
config: EKSPaginationConfiguration,
|
|
36
|
-
input: ListClustersCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListClustersCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListClustersCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof EKS) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof EKSClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListFargateProfilesCommand,
|
|
5
|
-
ListFargateProfilesCommandInput,
|
|
6
|
-
ListFargateProfilesCommandOutput,
|
|
7
|
-
} from "../commands/ListFargateProfilesCommand";
|
|
8
|
-
import { EKS } from "../EKS";
|
|
9
|
-
import { EKSClient } from "../EKSClient";
|
|
10
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: EKSClient,
|
|
17
|
-
input: ListFargateProfilesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFargateProfilesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFargateProfilesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: EKS,
|
|
28
|
-
input: ListFargateProfilesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFargateProfilesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFargateProfiles(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFargateProfiles(
|
|
35
|
-
config: EKSPaginationConfiguration,
|
|
36
|
-
input: ListFargateProfilesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFargateProfilesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFargateProfilesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof EKS) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof EKSClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListIdentityProviderConfigsCommand,
|
|
5
|
-
ListIdentityProviderConfigsCommandInput,
|
|
6
|
-
ListIdentityProviderConfigsCommandOutput,
|
|
7
|
-
} from "../commands/ListIdentityProviderConfigsCommand";
|
|
8
|
-
import { EKS } from "../EKS";
|
|
9
|
-
import { EKSClient } from "../EKSClient";
|
|
10
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: EKSClient,
|
|
17
|
-
input: ListIdentityProviderConfigsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListIdentityProviderConfigsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListIdentityProviderConfigsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: EKS,
|
|
28
|
-
input: ListIdentityProviderConfigsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListIdentityProviderConfigsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listIdentityProviderConfigs(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListIdentityProviderConfigs(
|
|
35
|
-
config: EKSPaginationConfiguration,
|
|
36
|
-
input: ListIdentityProviderConfigsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListIdentityProviderConfigsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListIdentityProviderConfigsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof EKS) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof EKSClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListNodegroupsCommand,
|
|
5
|
-
ListNodegroupsCommandInput,
|
|
6
|
-
ListNodegroupsCommandOutput,
|
|
7
|
-
} from "../commands/ListNodegroupsCommand";
|
|
8
|
-
import { EKS } from "../EKS";
|
|
9
|
-
import { EKSClient } from "../EKSClient";
|
|
10
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: EKSClient,
|
|
17
|
-
input: ListNodegroupsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListNodegroupsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListNodegroupsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: EKS,
|
|
28
|
-
input: ListNodegroupsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListNodegroupsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listNodegroups(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListNodegroups(
|
|
35
|
-
config: EKSPaginationConfiguration,
|
|
36
|
-
input: ListNodegroupsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListNodegroupsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListNodegroupsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof EKS) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof EKSClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListUpdatesCommand, ListUpdatesCommandInput, ListUpdatesCommandOutput } from "../commands/ListUpdatesCommand";
|
|
4
|
-
import { EKS } from "../EKS";
|
|
5
|
-
import { EKSClient } from "../EKSClient";
|
|
6
|
-
import { EKSPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: EKSClient,
|
|
13
|
-
input: ListUpdatesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListUpdatesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListUpdatesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: EKS,
|
|
24
|
-
input: ListUpdatesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListUpdatesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listUpdates(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListUpdates(
|
|
31
|
-
config: EKSPaginationConfiguration,
|
|
32
|
-
input: ListUpdatesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListUpdatesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListUpdatesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
input["maxResults"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof EKS) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof EKSClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.nextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|