@aws-sdk/client-eks 3.477.0 → 3.481.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/README.md +16 -0
- package/dist-cjs/EKS.js +4 -0
- package/dist-cjs/commands/AssociateAccessPolicyCommand.js +18 -41
- package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +18 -41
- package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +18 -41
- package/dist-cjs/commands/CreateAccessEntryCommand.js +18 -41
- package/dist-cjs/commands/CreateAddonCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateFargateProfileCommand.js +18 -41
- package/dist-cjs/commands/CreateNodegroupCommand.js +18 -41
- package/dist-cjs/commands/CreatePodIdentityAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccessEntryCommand.js +18 -41
- package/dist-cjs/commands/DeleteAddonCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteFargateProfileCommand.js +18 -41
- package/dist-cjs/commands/DeleteNodegroupCommand.js +18 -41
- package/dist-cjs/commands/DeletePodIdentityAssociationCommand.js +18 -41
- package/dist-cjs/commands/DeregisterClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccessEntryCommand.js +18 -41
- package/dist-cjs/commands/DescribeAddonCommand.js +18 -41
- package/dist-cjs/commands/DescribeAddonConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeAddonVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DescribeFargateProfileCommand.js +18 -41
- package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +18 -41
- package/dist-cjs/commands/DescribeInsightCommand.js +28 -0
- package/dist-cjs/commands/DescribeNodegroupCommand.js +18 -41
- package/dist-cjs/commands/DescribePodIdentityAssociationCommand.js +18 -41
- package/dist-cjs/commands/DescribeUpdateCommand.js +18 -41
- package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +18 -41
- package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
- package/dist-cjs/commands/ListAccessEntriesCommand.js +18 -41
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListAddonsCommand.js +18 -41
- package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListClustersCommand.js +18 -41
- package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/ListFargateProfilesCommand.js +18 -41
- package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +18 -41
- package/dist-cjs/commands/ListInsightsCommand.js +28 -0
- package/dist-cjs/commands/ListNodegroupsCommand.js +18 -41
- package/dist-cjs/commands/ListPodIdentityAssociationsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUpdatesCommand.js +18 -41
- package/dist-cjs/commands/RegisterClusterCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAccessEntryCommand.js +18 -41
- package/dist-cjs/commands/UpdateAddonCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdatePodIdentityAssociationCommand.js +18 -41
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessEntriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAddonsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFargateProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInsightsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNodegroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +250 -134
- package/dist-es/EKS.js +4 -0
- package/dist-es/commands/AssociateAccessPolicyCommand.js +18 -41
- package/dist-es/commands/AssociateEncryptionConfigCommand.js +18 -41
- package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +18 -41
- package/dist-es/commands/CreateAccessEntryCommand.js +18 -41
- package/dist-es/commands/CreateAddonCommand.js +18 -41
- package/dist-es/commands/CreateClusterCommand.js +18 -41
- package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateFargateProfileCommand.js +18 -41
- package/dist-es/commands/CreateNodegroupCommand.js +18 -41
- package/dist-es/commands/CreatePodIdentityAssociationCommand.js +18 -41
- package/dist-es/commands/DeleteAccessEntryCommand.js +18 -41
- package/dist-es/commands/DeleteAddonCommand.js +18 -41
- package/dist-es/commands/DeleteClusterCommand.js +18 -41
- package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteFargateProfileCommand.js +18 -41
- package/dist-es/commands/DeleteNodegroupCommand.js +18 -41
- package/dist-es/commands/DeletePodIdentityAssociationCommand.js +18 -41
- package/dist-es/commands/DeregisterClusterCommand.js +18 -41
- package/dist-es/commands/DescribeAccessEntryCommand.js +18 -41
- package/dist-es/commands/DescribeAddonCommand.js +18 -41
- package/dist-es/commands/DescribeAddonConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeAddonVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeClusterCommand.js +18 -41
- package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-es/commands/DescribeFargateProfileCommand.js +18 -41
- package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +18 -41
- package/dist-es/commands/DescribeInsightCommand.js +24 -0
- package/dist-es/commands/DescribeNodegroupCommand.js +18 -41
- package/dist-es/commands/DescribePodIdentityAssociationCommand.js +18 -41
- package/dist-es/commands/DescribeUpdateCommand.js +18 -41
- package/dist-es/commands/DisassociateAccessPolicyCommand.js +18 -41
- package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
- package/dist-es/commands/ListAccessEntriesCommand.js +18 -41
- package/dist-es/commands/ListAccessPoliciesCommand.js +18 -41
- package/dist-es/commands/ListAddonsCommand.js +18 -41
- package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
- package/dist-es/commands/ListClustersCommand.js +18 -41
- package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
- package/dist-es/commands/ListFargateProfilesCommand.js +18 -41
- package/dist-es/commands/ListIdentityProviderConfigsCommand.js +18 -41
- package/dist-es/commands/ListInsightsCommand.js +24 -0
- package/dist-es/commands/ListNodegroupsCommand.js +18 -41
- package/dist-es/commands/ListPodIdentityAssociationsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUpdatesCommand.js +18 -41
- package/dist-es/commands/RegisterClusterCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAccessEntryCommand.js +18 -41
- package/dist-es/commands/UpdateAddonCommand.js +18 -41
- package/dist-es/commands/UpdateClusterConfigCommand.js +18 -41
- package/dist-es/commands/UpdateClusterVersionCommand.js +18 -41
- package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
- package/dist-es/commands/UpdateNodegroupConfigCommand.js +18 -41
- package/dist-es/commands/UpdateNodegroupVersionCommand.js +18 -41
- package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +18 -41
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListAccessEntriesPaginator.js +2 -23
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListAddonsPaginator.js +2 -23
- package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/ListFargateProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListInsightsPaginator.js +4 -0
- package/dist-es/pagination/ListNodegroupsPaginator.js +2 -23
- package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListUpdatesPaginator.js +2 -23
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -132
- package/dist-types/EKS.d.ts +14 -0
- package/dist-types/EKSClient.d.ts +4 -2
- package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +6 -21
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +6 -21
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +6 -21
- package/dist-types/commands/CreateAccessEntryCommand.d.ts +6 -21
- package/dist-types/commands/CreateAddonCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +6 -21
- package/dist-types/commands/CreateNodegroupCommand.d.ts +6 -21
- package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccessEntryCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAddonCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +6 -21
- package/dist-types/commands/DeleteNodegroupCommand.d.ts +6 -21
- package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccessEntryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAddonCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFargateProfileCommand.d.ts +6 -21
- package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInsightCommand.d.ts +118 -0
- package/dist-types/commands/DescribeNodegroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUpdateCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessEntriesCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListAddonsCommand.d.ts +6 -21
- package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListClustersCommand.d.ts +6 -21
- package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/ListFargateProfilesCommand.d.ts +6 -21
- package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +6 -21
- package/dist-types/commands/ListInsightsCommand.d.ts +102 -0
- package/dist-types/commands/ListNodegroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUpdatesCommand.d.ts +6 -21
- package/dist-types/commands/RegisterClusterCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAccessEntryCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAddonCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +6 -21
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +359 -5
- package/dist-types/pagination/DescribeAddonVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAddonsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFargateProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIdentityProviderConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInsightsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNodegroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/EKS.d.ts +34 -0
- package/dist-types/ts3.4/EKSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePodIdentityAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePodIdentityAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAddonConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePodIdentityAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPodIdentityAssociationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePodIdentityAssociationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -0
- package/dist-types/ts3.4/pagination/DescribeAddonVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAddonsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFargateProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIdentityProviderConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNodegroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUpdatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +11 -11
|
@@ -1,32 +1,23 @@
|
|
|
1
1
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
-
import {
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
4
|
import { EKSServiceException as __BaseException } from "../models/EKSServiceException";
|
|
6
5
|
import { AccessDeniedException, BadRequestException, ClientException, InvalidParameterException, InvalidRequestException, NotFoundException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourcePropagationDelayException, ServerException, ServiceUnavailableException, UnsupportedAvailabilityZoneException, } from "../models/models_0";
|
|
7
6
|
export const se_AssociateAccessPolicyCommand = async (input, context) => {
|
|
8
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
9
8
|
const headers = {
|
|
10
9
|
"content-type": "application/json",
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
11
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
12
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
13
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
16
14
|
let body;
|
|
17
15
|
body = JSON.stringify(take(input, {
|
|
18
16
|
accessScope: (_) => _json(_),
|
|
19
17
|
policyArn: [],
|
|
20
18
|
}));
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
hostname,
|
|
24
|
-
port,
|
|
25
|
-
method: "POST",
|
|
26
|
-
headers,
|
|
27
|
-
path: resolvedPath,
|
|
28
|
-
body,
|
|
29
|
-
});
|
|
19
|
+
b.m("POST").h(headers).b(body);
|
|
20
|
+
return b.build();
|
|
30
21
|
};
|
|
31
22
|
export const se_AssociateEncryptionConfigCommand = async (input, context) => {
|
|
32
23
|
const b = rb(input, context);
|
|
@@ -60,12 +51,12 @@ export const se_AssociateIdentityProviderConfigCommand = async (input, context)
|
|
|
60
51
|
return b.build();
|
|
61
52
|
};
|
|
62
53
|
export const se_CreateAccessEntryCommand = async (input, context) => {
|
|
63
|
-
const
|
|
54
|
+
const b = rb(input, context);
|
|
64
55
|
const headers = {
|
|
65
56
|
"content-type": "application/json",
|
|
66
57
|
};
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
b.bp("/clusters/{clusterName}/access-entries");
|
|
59
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
69
60
|
let body;
|
|
70
61
|
body = JSON.stringify(take(input, {
|
|
71
62
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -75,15 +66,8 @@ export const se_CreateAccessEntryCommand = async (input, context) => {
|
|
|
75
66
|
type: [],
|
|
76
67
|
username: [],
|
|
77
68
|
}));
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
hostname,
|
|
81
|
-
port,
|
|
82
|
-
method: "POST",
|
|
83
|
-
headers,
|
|
84
|
-
path: resolvedPath,
|
|
85
|
-
body,
|
|
86
|
-
});
|
|
69
|
+
b.m("POST").h(headers).b(body);
|
|
70
|
+
return b.build();
|
|
87
71
|
};
|
|
88
72
|
export const se_CreateAddonCommand = async (input, context) => {
|
|
89
73
|
const b = rb(input, context);
|
|
@@ -215,22 +199,14 @@ export const se_CreatePodIdentityAssociationCommand = async (input, context) =>
|
|
|
215
199
|
return b.build();
|
|
216
200
|
};
|
|
217
201
|
export const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
218
|
-
const
|
|
202
|
+
const b = rb(input, context);
|
|
219
203
|
const headers = {};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
204
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
205
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
206
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
224
207
|
let body;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
hostname,
|
|
228
|
-
port,
|
|
229
|
-
method: "DELETE",
|
|
230
|
-
headers,
|
|
231
|
-
path: resolvedPath,
|
|
232
|
-
body,
|
|
233
|
-
});
|
|
208
|
+
b.m("DELETE").h(headers).b(body);
|
|
209
|
+
return b.build();
|
|
234
210
|
};
|
|
235
211
|
export const se_DeleteAddonCommand = async (input, context) => {
|
|
236
212
|
const b = rb(input, context);
|
|
@@ -303,22 +279,14 @@ export const se_DeregisterClusterCommand = async (input, context) => {
|
|
|
303
279
|
return b.build();
|
|
304
280
|
};
|
|
305
281
|
export const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
306
|
-
const
|
|
282
|
+
const b = rb(input, context);
|
|
307
283
|
const headers = {};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
284
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
285
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
286
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
312
287
|
let body;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
hostname,
|
|
316
|
-
port,
|
|
317
|
-
method: "GET",
|
|
318
|
-
headers,
|
|
319
|
-
path: resolvedPath,
|
|
320
|
-
body,
|
|
321
|
-
});
|
|
288
|
+
b.m("GET").h(headers).b(body);
|
|
289
|
+
return b.build();
|
|
322
290
|
};
|
|
323
291
|
export const se_DescribeAddonCommand = async (input, context) => {
|
|
324
292
|
const b = rb(input, context);
|
|
@@ -401,6 +369,16 @@ export const se_DescribeIdentityProviderConfigCommand = async (input, context) =
|
|
|
401
369
|
b.m("POST").h(headers).b(body);
|
|
402
370
|
return b.build();
|
|
403
371
|
};
|
|
372
|
+
export const se_DescribeInsightCommand = async (input, context) => {
|
|
373
|
+
const b = rb(input, context);
|
|
374
|
+
const headers = {};
|
|
375
|
+
b.bp("/clusters/{clusterName}/insights/{id}");
|
|
376
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
377
|
+
b.p("id", () => input.id, "{id}", false);
|
|
378
|
+
let body;
|
|
379
|
+
b.m("GET").h(headers).b(body);
|
|
380
|
+
return b.build();
|
|
381
|
+
};
|
|
404
382
|
export const se_DescribeNodegroupCommand = async (input, context) => {
|
|
405
383
|
const b = rb(input, context);
|
|
406
384
|
const headers = {};
|
|
@@ -436,23 +414,15 @@ export const se_DescribeUpdateCommand = async (input, context) => {
|
|
|
436
414
|
return b.build();
|
|
437
415
|
};
|
|
438
416
|
export const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
439
|
-
const
|
|
417
|
+
const b = rb(input, context);
|
|
440
418
|
const headers = {};
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "policyArn", () => input.policyArn, "{policyArn}", false);
|
|
419
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies/{policyArn}");
|
|
420
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
421
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
422
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
446
423
|
let body;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
hostname,
|
|
450
|
-
port,
|
|
451
|
-
method: "DELETE",
|
|
452
|
-
headers,
|
|
453
|
-
path: resolvedPath,
|
|
454
|
-
body,
|
|
455
|
-
});
|
|
424
|
+
b.m("DELETE").h(headers).b(body);
|
|
425
|
+
return b.build();
|
|
456
426
|
};
|
|
457
427
|
export const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
458
428
|
const b = rb(input, context);
|
|
@@ -470,46 +440,30 @@ export const se_DisassociateIdentityProviderConfigCommand = async (input, contex
|
|
|
470
440
|
return b.build();
|
|
471
441
|
};
|
|
472
442
|
export const se_ListAccessEntriesCommand = async (input, context) => {
|
|
473
|
-
const
|
|
443
|
+
const b = rb(input, context);
|
|
474
444
|
const headers = {};
|
|
475
|
-
|
|
476
|
-
|
|
445
|
+
b.bp("/clusters/{clusterName}/access-entries");
|
|
446
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
477
447
|
const query = map({
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
448
|
+
[_aPA]: [, input[_aPA]],
|
|
449
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
450
|
+
[_nT]: [, input[_nT]],
|
|
481
451
|
});
|
|
482
452
|
let body;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
hostname,
|
|
486
|
-
port,
|
|
487
|
-
method: "GET",
|
|
488
|
-
headers,
|
|
489
|
-
path: resolvedPath,
|
|
490
|
-
query,
|
|
491
|
-
body,
|
|
492
|
-
});
|
|
453
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
454
|
+
return b.build();
|
|
493
455
|
};
|
|
494
456
|
export const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
495
|
-
const
|
|
457
|
+
const b = rb(input, context);
|
|
496
458
|
const headers = {};
|
|
497
|
-
|
|
459
|
+
b.bp("/access-policies");
|
|
498
460
|
const query = map({
|
|
499
|
-
|
|
500
|
-
|
|
461
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
462
|
+
[_nT]: [, input[_nT]],
|
|
501
463
|
});
|
|
502
464
|
let body;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
hostname,
|
|
506
|
-
port,
|
|
507
|
-
method: "GET",
|
|
508
|
-
headers,
|
|
509
|
-
path: resolvedPath,
|
|
510
|
-
query,
|
|
511
|
-
body,
|
|
512
|
-
});
|
|
465
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
466
|
+
return b.build();
|
|
513
467
|
};
|
|
514
468
|
export const se_ListAddonsCommand = async (input, context) => {
|
|
515
469
|
const b = rb(input, context);
|
|
@@ -525,27 +479,18 @@ export const se_ListAddonsCommand = async (input, context) => {
|
|
|
525
479
|
return b.build();
|
|
526
480
|
};
|
|
527
481
|
export const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
528
|
-
const
|
|
482
|
+
const b = rb(input, context);
|
|
529
483
|
const headers = {};
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
484
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
485
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
486
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
534
487
|
const query = map({
|
|
535
|
-
|
|
536
|
-
|
|
488
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
489
|
+
[_nT]: [, input[_nT]],
|
|
537
490
|
});
|
|
538
491
|
let body;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
hostname,
|
|
542
|
-
port,
|
|
543
|
-
method: "GET",
|
|
544
|
-
headers,
|
|
545
|
-
path: resolvedPath,
|
|
546
|
-
query,
|
|
547
|
-
body,
|
|
548
|
-
});
|
|
492
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
493
|
+
return b.build();
|
|
549
494
|
};
|
|
550
495
|
export const se_ListClustersCommand = async (input, context) => {
|
|
551
496
|
const b = rb(input, context);
|
|
@@ -599,6 +544,22 @@ export const se_ListIdentityProviderConfigsCommand = async (input, context) => {
|
|
|
599
544
|
b.m("GET").h(headers).q(query).b(body);
|
|
600
545
|
return b.build();
|
|
601
546
|
};
|
|
547
|
+
export const se_ListInsightsCommand = async (input, context) => {
|
|
548
|
+
const b = rb(input, context);
|
|
549
|
+
const headers = {
|
|
550
|
+
"content-type": "application/json",
|
|
551
|
+
};
|
|
552
|
+
b.bp("/clusters/{clusterName}/insights");
|
|
553
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
554
|
+
let body;
|
|
555
|
+
body = JSON.stringify(take(input, {
|
|
556
|
+
filter: (_) => _json(_),
|
|
557
|
+
maxResults: [],
|
|
558
|
+
nextToken: [],
|
|
559
|
+
}));
|
|
560
|
+
b.m("POST").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
};
|
|
602
563
|
export const se_ListNodegroupsCommand = async (input, context) => {
|
|
603
564
|
const b = rb(input, context);
|
|
604
565
|
const headers = {};
|
|
@@ -697,29 +658,21 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
697
658
|
return b.build();
|
|
698
659
|
};
|
|
699
660
|
export const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
700
|
-
const
|
|
661
|
+
const b = rb(input, context);
|
|
701
662
|
const headers = {
|
|
702
663
|
"content-type": "application/json",
|
|
703
664
|
};
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
665
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
666
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
667
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
708
668
|
let body;
|
|
709
669
|
body = JSON.stringify(take(input, {
|
|
710
670
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
711
671
|
kubernetesGroups: (_) => _json(_),
|
|
712
672
|
username: [],
|
|
713
673
|
}));
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
hostname,
|
|
717
|
-
port,
|
|
718
|
-
method: "POST",
|
|
719
|
-
headers,
|
|
720
|
-
path: resolvedPath,
|
|
721
|
-
body,
|
|
722
|
-
});
|
|
674
|
+
b.m("POST").h(headers).b(body);
|
|
675
|
+
return b.build();
|
|
723
676
|
};
|
|
724
677
|
export const se_UpdateAddonCommand = async (input, context) => {
|
|
725
678
|
const b = rb(input, context);
|
|
@@ -2004,6 +1957,48 @@ const de_DescribeIdentityProviderConfigCommandError = async (output, context) =>
|
|
|
2004
1957
|
});
|
|
2005
1958
|
}
|
|
2006
1959
|
};
|
|
1960
|
+
export const de_DescribeInsightCommand = async (output, context) => {
|
|
1961
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1962
|
+
return de_DescribeInsightCommandError(output, context);
|
|
1963
|
+
}
|
|
1964
|
+
const contents = map({
|
|
1965
|
+
$metadata: deserializeMetadata(output),
|
|
1966
|
+
});
|
|
1967
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1968
|
+
const doc = take(data, {
|
|
1969
|
+
insight: (_) => de_Insight(_, context),
|
|
1970
|
+
});
|
|
1971
|
+
Object.assign(contents, doc);
|
|
1972
|
+
return contents;
|
|
1973
|
+
};
|
|
1974
|
+
const de_DescribeInsightCommandError = async (output, context) => {
|
|
1975
|
+
const parsedOutput = {
|
|
1976
|
+
...output,
|
|
1977
|
+
body: await parseErrorBody(output.body, context),
|
|
1978
|
+
};
|
|
1979
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1980
|
+
switch (errorCode) {
|
|
1981
|
+
case "InvalidParameterException":
|
|
1982
|
+
case "com.amazonaws.eks#InvalidParameterException":
|
|
1983
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1984
|
+
case "InvalidRequestException":
|
|
1985
|
+
case "com.amazonaws.eks#InvalidRequestException":
|
|
1986
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1987
|
+
case "ResourceNotFoundException":
|
|
1988
|
+
case "com.amazonaws.eks#ResourceNotFoundException":
|
|
1989
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1990
|
+
case "ServerException":
|
|
1991
|
+
case "com.amazonaws.eks#ServerException":
|
|
1992
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1993
|
+
default:
|
|
1994
|
+
const parsedBody = parsedOutput.body;
|
|
1995
|
+
return throwDefaultError({
|
|
1996
|
+
output,
|
|
1997
|
+
parsedBody,
|
|
1998
|
+
errorCode,
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
};
|
|
2007
2002
|
export const de_DescribeNodegroupCommand = async (output, context) => {
|
|
2008
2003
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2009
2004
|
return de_DescribeNodegroupCommandError(output, context);
|
|
@@ -2556,6 +2551,49 @@ const de_ListIdentityProviderConfigsCommandError = async (output, context) => {
|
|
|
2556
2551
|
});
|
|
2557
2552
|
}
|
|
2558
2553
|
};
|
|
2554
|
+
export const de_ListInsightsCommand = async (output, context) => {
|
|
2555
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2556
|
+
return de_ListInsightsCommandError(output, context);
|
|
2557
|
+
}
|
|
2558
|
+
const contents = map({
|
|
2559
|
+
$metadata: deserializeMetadata(output),
|
|
2560
|
+
});
|
|
2561
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2562
|
+
const doc = take(data, {
|
|
2563
|
+
insights: (_) => de_InsightSummaries(_, context),
|
|
2564
|
+
nextToken: __expectString,
|
|
2565
|
+
});
|
|
2566
|
+
Object.assign(contents, doc);
|
|
2567
|
+
return contents;
|
|
2568
|
+
};
|
|
2569
|
+
const de_ListInsightsCommandError = async (output, context) => {
|
|
2570
|
+
const parsedOutput = {
|
|
2571
|
+
...output,
|
|
2572
|
+
body: await parseErrorBody(output.body, context),
|
|
2573
|
+
};
|
|
2574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2575
|
+
switch (errorCode) {
|
|
2576
|
+
case "InvalidParameterException":
|
|
2577
|
+
case "com.amazonaws.eks#InvalidParameterException":
|
|
2578
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2579
|
+
case "InvalidRequestException":
|
|
2580
|
+
case "com.amazonaws.eks#InvalidRequestException":
|
|
2581
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2582
|
+
case "ResourceNotFoundException":
|
|
2583
|
+
case "com.amazonaws.eks#ResourceNotFoundException":
|
|
2584
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2585
|
+
case "ServerException":
|
|
2586
|
+
case "com.amazonaws.eks#ServerException":
|
|
2587
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2588
|
+
default:
|
|
2589
|
+
const parsedBody = parsedOutput.body;
|
|
2590
|
+
return throwDefaultError({
|
|
2591
|
+
output,
|
|
2592
|
+
parsedBody,
|
|
2593
|
+
errorCode,
|
|
2594
|
+
});
|
|
2595
|
+
}
|
|
2596
|
+
};
|
|
2559
2597
|
export const de_ListNodegroupsCommand = async (output, context) => {
|
|
2560
2598
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2561
2599
|
return de_ListNodegroupsCommandError(output, context);
|
|
@@ -3459,6 +3497,21 @@ const de_AssociatedAccessPolicy = (output, context) => {
|
|
|
3459
3497
|
policyArn: __expectString,
|
|
3460
3498
|
});
|
|
3461
3499
|
};
|
|
3500
|
+
const de_ClientStat = (output, context) => {
|
|
3501
|
+
return take(output, {
|
|
3502
|
+
lastRequestTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3503
|
+
numberOfRequestsLast30Days: __expectInt32,
|
|
3504
|
+
userAgent: __expectString,
|
|
3505
|
+
});
|
|
3506
|
+
};
|
|
3507
|
+
const de_ClientStats = (output, context) => {
|
|
3508
|
+
const retVal = (output || [])
|
|
3509
|
+
.filter((e) => e != null)
|
|
3510
|
+
.map((entry) => {
|
|
3511
|
+
return de_ClientStat(entry, context);
|
|
3512
|
+
});
|
|
3513
|
+
return retVal;
|
|
3514
|
+
};
|
|
3462
3515
|
const de_Cluster = (output, context) => {
|
|
3463
3516
|
return take(output, {
|
|
3464
3517
|
accessConfig: _json,
|
|
@@ -3493,6 +3546,23 @@ const de_ConnectorConfigResponse = (output, context) => {
|
|
|
3493
3546
|
roleArn: __expectString,
|
|
3494
3547
|
});
|
|
3495
3548
|
};
|
|
3549
|
+
const de_DeprecationDetail = (output, context) => {
|
|
3550
|
+
return take(output, {
|
|
3551
|
+
clientStats: (_) => de_ClientStats(_, context),
|
|
3552
|
+
replacedWith: __expectString,
|
|
3553
|
+
startServingReplacementVersion: __expectString,
|
|
3554
|
+
stopServingVersion: __expectString,
|
|
3555
|
+
usage: __expectString,
|
|
3556
|
+
});
|
|
3557
|
+
};
|
|
3558
|
+
const de_DeprecationDetails = (output, context) => {
|
|
3559
|
+
const retVal = (output || [])
|
|
3560
|
+
.filter((e) => e != null)
|
|
3561
|
+
.map((entry) => {
|
|
3562
|
+
return de_DeprecationDetail(entry, context);
|
|
3563
|
+
});
|
|
3564
|
+
return retVal;
|
|
3565
|
+
};
|
|
3496
3566
|
const de_EksAnywhereSubscription = (output, context) => {
|
|
3497
3567
|
return take(output, {
|
|
3498
3568
|
arn: __expectString,
|
|
@@ -3530,6 +3600,47 @@ const de_FargateProfile = (output, context) => {
|
|
|
3530
3600
|
tags: _json,
|
|
3531
3601
|
});
|
|
3532
3602
|
};
|
|
3603
|
+
const de_Insight = (output, context) => {
|
|
3604
|
+
return take(output, {
|
|
3605
|
+
additionalInfo: _json,
|
|
3606
|
+
category: __expectString,
|
|
3607
|
+
categorySpecificSummary: (_) => de_InsightCategorySpecificSummary(_, context),
|
|
3608
|
+
description: __expectString,
|
|
3609
|
+
id: __expectString,
|
|
3610
|
+
insightStatus: _json,
|
|
3611
|
+
kubernetesVersion: __expectString,
|
|
3612
|
+
lastRefreshTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3613
|
+
lastTransitionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3614
|
+
name: __expectString,
|
|
3615
|
+
recommendation: __expectString,
|
|
3616
|
+
resources: _json,
|
|
3617
|
+
});
|
|
3618
|
+
};
|
|
3619
|
+
const de_InsightCategorySpecificSummary = (output, context) => {
|
|
3620
|
+
return take(output, {
|
|
3621
|
+
deprecationDetails: (_) => de_DeprecationDetails(_, context),
|
|
3622
|
+
});
|
|
3623
|
+
};
|
|
3624
|
+
const de_InsightSummaries = (output, context) => {
|
|
3625
|
+
const retVal = (output || [])
|
|
3626
|
+
.filter((e) => e != null)
|
|
3627
|
+
.map((entry) => {
|
|
3628
|
+
return de_InsightSummary(entry, context);
|
|
3629
|
+
});
|
|
3630
|
+
return retVal;
|
|
3631
|
+
};
|
|
3632
|
+
const de_InsightSummary = (output, context) => {
|
|
3633
|
+
return take(output, {
|
|
3634
|
+
category: __expectString,
|
|
3635
|
+
description: __expectString,
|
|
3636
|
+
id: __expectString,
|
|
3637
|
+
insightStatus: _json,
|
|
3638
|
+
kubernetesVersion: __expectString,
|
|
3639
|
+
lastRefreshTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3640
|
+
lastTransitionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3641
|
+
name: __expectString,
|
|
3642
|
+
});
|
|
3643
|
+
};
|
|
3533
3644
|
const de_Nodegroup = (output, context) => {
|
|
3534
3645
|
return take(output, {
|
|
3535
3646
|
amiType: __expectString,
|
|
@@ -3593,6 +3704,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3593
3704
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3594
3705
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3595
3706
|
const _aN = "addonName";
|
|
3707
|
+
const _aPA = "associatedPolicyArn";
|
|
3596
3708
|
const _aV = "addonVersion";
|
|
3597
3709
|
const _i = "include";
|
|
3598
3710
|
const _iS = "includeStatus";
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./com
|
|
|
25
25
|
import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
26
26
|
import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
|
|
27
27
|
import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
|
|
28
|
+
import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
|
|
28
29
|
import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
|
|
29
30
|
import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
|
|
30
31
|
import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
|
|
@@ -38,6 +39,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
|
|
|
38
39
|
import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
39
40
|
import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
40
41
|
import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCommandOutput } from "./commands/ListIdentityProviderConfigsCommand";
|
|
42
|
+
import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
|
|
41
43
|
import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
|
|
42
44
|
import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput } from "./commands/ListPodIdentityAssociationsCommand";
|
|
43
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -211,6 +213,12 @@ export interface EKS {
|
|
|
211
213
|
describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityProviderConfigCommandOutput>;
|
|
212
214
|
describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void): void;
|
|
213
215
|
describeIdentityProviderConfig(args: DescribeIdentityProviderConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityProviderConfigCommandOutput) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* @see {@link DescribeInsightCommand}
|
|
218
|
+
*/
|
|
219
|
+
describeInsight(args: DescribeInsightCommandInput, options?: __HttpHandlerOptions): Promise<DescribeInsightCommandOutput>;
|
|
220
|
+
describeInsight(args: DescribeInsightCommandInput, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
|
|
221
|
+
describeInsight(args: DescribeInsightCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInsightCommandOutput) => void): void;
|
|
214
222
|
/**
|
|
215
223
|
* @see {@link DescribeNodegroupCommand}
|
|
216
224
|
*/
|
|
@@ -289,6 +297,12 @@ export interface EKS {
|
|
|
289
297
|
listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityProviderConfigsCommandOutput>;
|
|
290
298
|
listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
|
|
291
299
|
listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
|
|
300
|
+
/**
|
|
301
|
+
* @see {@link ListInsightsCommand}
|
|
302
|
+
*/
|
|
303
|
+
listInsights(args: ListInsightsCommandInput, options?: __HttpHandlerOptions): Promise<ListInsightsCommandOutput>;
|
|
304
|
+
listInsights(args: ListInsightsCommandInput, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
|
|
305
|
+
listInsights(args: ListInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsCommandOutput) => void): void;
|
|
292
306
|
/**
|
|
293
307
|
* @see {@link ListNodegroupsCommand}
|
|
294
308
|
*/
|
|
@@ -34,6 +34,7 @@ import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./com
|
|
|
34
34
|
import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
35
35
|
import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
|
|
36
36
|
import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
|
|
37
|
+
import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
|
|
37
38
|
import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
|
|
38
39
|
import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
|
|
39
40
|
import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
|
|
@@ -47,6 +48,7 @@ import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/
|
|
|
47
48
|
import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
48
49
|
import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
49
50
|
import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCommandOutput } from "./commands/ListIdentityProviderConfigsCommand";
|
|
51
|
+
import { ListInsightsCommandInput, ListInsightsCommandOutput } from "./commands/ListInsightsCommand";
|
|
50
52
|
import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
|
|
51
53
|
import { ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput } from "./commands/ListPodIdentityAssociationsCommand";
|
|
52
54
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -68,11 +70,11 @@ export { __Client };
|
|
|
68
70
|
/**
|
|
69
71
|
* @public
|
|
70
72
|
*/
|
|
71
|
-
export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
73
|
+
export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
72
74
|
/**
|
|
73
75
|
* @public
|
|
74
76
|
*/
|
|
75
|
-
export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
77
|
+
export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
76
78
|
/**
|
|
77
79
|
* @public
|
|
78
80
|
*/
|