@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,37 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.de_UpdatePodIdentityAssociationCommand = exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateEksAnywhereSubscriptionCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UpdateAccessEntryCommand = void 0;
|
|
3
|
+
exports.se_UpdateAddonCommand = exports.se_UpdateAccessEntryCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterClusterCommand = exports.se_ListUpdatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListPodIdentityAssociationsCommand = exports.se_ListNodegroupsCommand = exports.se_ListInsightsCommand = exports.se_ListIdentityProviderConfigsCommand = exports.se_ListFargateProfilesCommand = exports.se_ListEksAnywhereSubscriptionsCommand = exports.se_ListClustersCommand = exports.se_ListAssociatedAccessPoliciesCommand = exports.se_ListAddonsCommand = exports.se_ListAccessPoliciesCommand = exports.se_ListAccessEntriesCommand = exports.se_DisassociateIdentityProviderConfigCommand = exports.se_DisassociateAccessPolicyCommand = exports.se_DescribeUpdateCommand = exports.se_DescribePodIdentityAssociationCommand = exports.se_DescribeNodegroupCommand = exports.se_DescribeInsightCommand = exports.se_DescribeIdentityProviderConfigCommand = exports.se_DescribeFargateProfileCommand = exports.se_DescribeEksAnywhereSubscriptionCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddonVersionsCommand = exports.se_DescribeAddonConfigurationCommand = exports.se_DescribeAddonCommand = exports.se_DescribeAccessEntryCommand = exports.se_DeregisterClusterCommand = exports.se_DeletePodIdentityAssociationCommand = exports.se_DeleteNodegroupCommand = exports.se_DeleteFargateProfileCommand = exports.se_DeleteEksAnywhereSubscriptionCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAddonCommand = exports.se_DeleteAccessEntryCommand = exports.se_CreatePodIdentityAssociationCommand = exports.se_CreateNodegroupCommand = exports.se_CreateFargateProfileCommand = exports.se_CreateEksAnywhereSubscriptionCommand = exports.se_CreateClusterCommand = exports.se_CreateAddonCommand = exports.se_CreateAccessEntryCommand = exports.se_AssociateIdentityProviderConfigCommand = exports.se_AssociateEncryptionConfigCommand = exports.se_AssociateAccessPolicyCommand = void 0;
|
|
4
|
+
exports.de_ListTagsForResourceCommand = exports.de_ListPodIdentityAssociationsCommand = exports.de_ListNodegroupsCommand = exports.de_ListInsightsCommand = exports.de_ListIdentityProviderConfigsCommand = exports.de_ListFargateProfilesCommand = exports.de_ListEksAnywhereSubscriptionsCommand = exports.de_ListClustersCommand = exports.de_ListAssociatedAccessPoliciesCommand = exports.de_ListAddonsCommand = exports.de_ListAccessPoliciesCommand = exports.de_ListAccessEntriesCommand = exports.de_DisassociateIdentityProviderConfigCommand = exports.de_DisassociateAccessPolicyCommand = exports.de_DescribeUpdateCommand = exports.de_DescribePodIdentityAssociationCommand = exports.de_DescribeNodegroupCommand = exports.de_DescribeInsightCommand = exports.de_DescribeIdentityProviderConfigCommand = exports.de_DescribeFargateProfileCommand = exports.de_DescribeEksAnywhereSubscriptionCommand = exports.de_DescribeClusterCommand = exports.de_DescribeAddonVersionsCommand = exports.de_DescribeAddonConfigurationCommand = exports.de_DescribeAddonCommand = exports.de_DescribeAccessEntryCommand = exports.de_DeregisterClusterCommand = exports.de_DeletePodIdentityAssociationCommand = exports.de_DeleteNodegroupCommand = exports.de_DeleteFargateProfileCommand = exports.de_DeleteEksAnywhereSubscriptionCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAddonCommand = exports.de_DeleteAccessEntryCommand = exports.de_CreatePodIdentityAssociationCommand = exports.de_CreateNodegroupCommand = exports.de_CreateFargateProfileCommand = exports.de_CreateEksAnywhereSubscriptionCommand = exports.de_CreateClusterCommand = exports.de_CreateAddonCommand = exports.de_CreateAccessEntryCommand = exports.de_AssociateIdentityProviderConfigCommand = exports.de_AssociateEncryptionConfigCommand = exports.de_AssociateAccessPolicyCommand = exports.se_UpdatePodIdentityAssociationCommand = exports.se_UpdateNodegroupVersionCommand = exports.se_UpdateNodegroupConfigCommand = exports.se_UpdateEksAnywhereSubscriptionCommand = exports.se_UpdateClusterVersionCommand = exports.se_UpdateClusterConfigCommand = void 0;
|
|
5
|
+
exports.de_UpdatePodIdentityAssociationCommand = exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateEksAnywhereSubscriptionCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UpdateAccessEntryCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterClusterCommand = exports.de_ListUpdatesCommand = void 0;
|
|
6
6
|
const core_1 = require("@smithy/core");
|
|
7
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
8
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
8
|
const uuid_1 = require("uuid");
|
|
10
9
|
const EKSServiceException_1 = require("../models/EKSServiceException");
|
|
11
10
|
const models_0_1 = require("../models/models_0");
|
|
12
11
|
const se_AssociateAccessPolicyCommand = async (input, context) => {
|
|
13
|
-
const
|
|
12
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
14
13
|
const headers = {
|
|
15
14
|
"content-type": "application/json",
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
16
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
17
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
18
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
21
19
|
let body;
|
|
22
20
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
23
21
|
accessScope: (_) => (0, smithy_client_1._json)(_),
|
|
24
22
|
policyArn: [],
|
|
25
23
|
}));
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
hostname,
|
|
29
|
-
port,
|
|
30
|
-
method: "POST",
|
|
31
|
-
headers,
|
|
32
|
-
path: resolvedPath,
|
|
33
|
-
body,
|
|
34
|
-
});
|
|
24
|
+
b.m("POST").h(headers).b(body);
|
|
25
|
+
return b.build();
|
|
35
26
|
};
|
|
36
27
|
exports.se_AssociateAccessPolicyCommand = se_AssociateAccessPolicyCommand;
|
|
37
28
|
const se_AssociateEncryptionConfigCommand = async (input, context) => {
|
|
@@ -68,12 +59,12 @@ const se_AssociateIdentityProviderConfigCommand = async (input, context) => {
|
|
|
68
59
|
};
|
|
69
60
|
exports.se_AssociateIdentityProviderConfigCommand = se_AssociateIdentityProviderConfigCommand;
|
|
70
61
|
const se_CreateAccessEntryCommand = async (input, context) => {
|
|
71
|
-
const
|
|
62
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
72
63
|
const headers = {
|
|
73
64
|
"content-type": "application/json",
|
|
74
65
|
};
|
|
75
|
-
|
|
76
|
-
|
|
66
|
+
b.bp("/clusters/{clusterName}/access-entries");
|
|
67
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
77
68
|
let body;
|
|
78
69
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
79
70
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -83,15 +74,8 @@ const se_CreateAccessEntryCommand = async (input, context) => {
|
|
|
83
74
|
type: [],
|
|
84
75
|
username: [],
|
|
85
76
|
}));
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
hostname,
|
|
89
|
-
port,
|
|
90
|
-
method: "POST",
|
|
91
|
-
headers,
|
|
92
|
-
path: resolvedPath,
|
|
93
|
-
body,
|
|
94
|
-
});
|
|
77
|
+
b.m("POST").h(headers).b(body);
|
|
78
|
+
return b.build();
|
|
95
79
|
};
|
|
96
80
|
exports.se_CreateAccessEntryCommand = se_CreateAccessEntryCommand;
|
|
97
81
|
const se_CreateAddonCommand = async (input, context) => {
|
|
@@ -230,22 +214,14 @@ const se_CreatePodIdentityAssociationCommand = async (input, context) => {
|
|
|
230
214
|
};
|
|
231
215
|
exports.se_CreatePodIdentityAssociationCommand = se_CreatePodIdentityAssociationCommand;
|
|
232
216
|
const se_DeleteAccessEntryCommand = async (input, context) => {
|
|
233
|
-
const
|
|
217
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
234
218
|
const headers = {};
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
219
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
220
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
221
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
239
222
|
let body;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
hostname,
|
|
243
|
-
port,
|
|
244
|
-
method: "DELETE",
|
|
245
|
-
headers,
|
|
246
|
-
path: resolvedPath,
|
|
247
|
-
body,
|
|
248
|
-
});
|
|
223
|
+
b.m("DELETE").h(headers).b(body);
|
|
224
|
+
return b.build();
|
|
249
225
|
};
|
|
250
226
|
exports.se_DeleteAccessEntryCommand = se_DeleteAccessEntryCommand;
|
|
251
227
|
const se_DeleteAddonCommand = async (input, context) => {
|
|
@@ -326,22 +302,14 @@ const se_DeregisterClusterCommand = async (input, context) => {
|
|
|
326
302
|
};
|
|
327
303
|
exports.se_DeregisterClusterCommand = se_DeregisterClusterCommand;
|
|
328
304
|
const se_DescribeAccessEntryCommand = async (input, context) => {
|
|
329
|
-
const
|
|
305
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
330
306
|
const headers = {};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
307
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
308
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
309
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
335
310
|
let body;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
hostname,
|
|
339
|
-
port,
|
|
340
|
-
method: "GET",
|
|
341
|
-
headers,
|
|
342
|
-
path: resolvedPath,
|
|
343
|
-
body,
|
|
344
|
-
});
|
|
311
|
+
b.m("GET").h(headers).b(body);
|
|
312
|
+
return b.build();
|
|
345
313
|
};
|
|
346
314
|
exports.se_DescribeAccessEntryCommand = se_DescribeAccessEntryCommand;
|
|
347
315
|
const se_DescribeAddonCommand = async (input, context) => {
|
|
@@ -432,6 +400,17 @@ const se_DescribeIdentityProviderConfigCommand = async (input, context) => {
|
|
|
432
400
|
return b.build();
|
|
433
401
|
};
|
|
434
402
|
exports.se_DescribeIdentityProviderConfigCommand = se_DescribeIdentityProviderConfigCommand;
|
|
403
|
+
const se_DescribeInsightCommand = async (input, context) => {
|
|
404
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
405
|
+
const headers = {};
|
|
406
|
+
b.bp("/clusters/{clusterName}/insights/{id}");
|
|
407
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
408
|
+
b.p("id", () => input.id, "{id}", false);
|
|
409
|
+
let body;
|
|
410
|
+
b.m("GET").h(headers).b(body);
|
|
411
|
+
return b.build();
|
|
412
|
+
};
|
|
413
|
+
exports.se_DescribeInsightCommand = se_DescribeInsightCommand;
|
|
435
414
|
const se_DescribeNodegroupCommand = async (input, context) => {
|
|
436
415
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
437
416
|
const headers = {};
|
|
@@ -470,23 +449,15 @@ const se_DescribeUpdateCommand = async (input, context) => {
|
|
|
470
449
|
};
|
|
471
450
|
exports.se_DescribeUpdateCommand = se_DescribeUpdateCommand;
|
|
472
451
|
const se_DisassociateAccessPolicyCommand = async (input, context) => {
|
|
473
|
-
const
|
|
452
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
474
453
|
const headers = {};
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "policyArn", () => input.policyArn, "{policyArn}", false);
|
|
454
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies/{policyArn}");
|
|
455
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
456
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
457
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
480
458
|
let body;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
hostname,
|
|
484
|
-
port,
|
|
485
|
-
method: "DELETE",
|
|
486
|
-
headers,
|
|
487
|
-
path: resolvedPath,
|
|
488
|
-
body,
|
|
489
|
-
});
|
|
459
|
+
b.m("DELETE").h(headers).b(body);
|
|
460
|
+
return b.build();
|
|
490
461
|
};
|
|
491
462
|
exports.se_DisassociateAccessPolicyCommand = se_DisassociateAccessPolicyCommand;
|
|
492
463
|
const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
@@ -506,47 +477,31 @@ const se_DisassociateIdentityProviderConfigCommand = async (input, context) => {
|
|
|
506
477
|
};
|
|
507
478
|
exports.se_DisassociateIdentityProviderConfigCommand = se_DisassociateIdentityProviderConfigCommand;
|
|
508
479
|
const se_ListAccessEntriesCommand = async (input, context) => {
|
|
509
|
-
const
|
|
480
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
510
481
|
const headers = {};
|
|
511
|
-
|
|
512
|
-
|
|
482
|
+
b.bp("/clusters/{clusterName}/access-entries");
|
|
483
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
513
484
|
const query = (0, smithy_client_1.map)({
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
485
|
+
[_aPA]: [, input[_aPA]],
|
|
486
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
487
|
+
[_nT]: [, input[_nT]],
|
|
517
488
|
});
|
|
518
489
|
let body;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
hostname,
|
|
522
|
-
port,
|
|
523
|
-
method: "GET",
|
|
524
|
-
headers,
|
|
525
|
-
path: resolvedPath,
|
|
526
|
-
query,
|
|
527
|
-
body,
|
|
528
|
-
});
|
|
490
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
491
|
+
return b.build();
|
|
529
492
|
};
|
|
530
493
|
exports.se_ListAccessEntriesCommand = se_ListAccessEntriesCommand;
|
|
531
494
|
const se_ListAccessPoliciesCommand = async (input, context) => {
|
|
532
|
-
const
|
|
495
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
533
496
|
const headers = {};
|
|
534
|
-
|
|
497
|
+
b.bp("/access-policies");
|
|
535
498
|
const query = (0, smithy_client_1.map)({
|
|
536
|
-
|
|
537
|
-
|
|
499
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
500
|
+
[_nT]: [, input[_nT]],
|
|
538
501
|
});
|
|
539
502
|
let body;
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
hostname,
|
|
543
|
-
port,
|
|
544
|
-
method: "GET",
|
|
545
|
-
headers,
|
|
546
|
-
path: resolvedPath,
|
|
547
|
-
query,
|
|
548
|
-
body,
|
|
549
|
-
});
|
|
503
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
504
|
+
return b.build();
|
|
550
505
|
};
|
|
551
506
|
exports.se_ListAccessPoliciesCommand = se_ListAccessPoliciesCommand;
|
|
552
507
|
const se_ListAddonsCommand = async (input, context) => {
|
|
@@ -564,27 +519,18 @@ const se_ListAddonsCommand = async (input, context) => {
|
|
|
564
519
|
};
|
|
565
520
|
exports.se_ListAddonsCommand = se_ListAddonsCommand;
|
|
566
521
|
const se_ListAssociatedAccessPoliciesCommand = async (input, context) => {
|
|
567
|
-
const
|
|
522
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
568
523
|
const headers = {};
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
524
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}/access-policies");
|
|
525
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
526
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
573
527
|
const query = (0, smithy_client_1.map)({
|
|
574
|
-
|
|
575
|
-
|
|
528
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
529
|
+
[_nT]: [, input[_nT]],
|
|
576
530
|
});
|
|
577
531
|
let body;
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
hostname,
|
|
581
|
-
port,
|
|
582
|
-
method: "GET",
|
|
583
|
-
headers,
|
|
584
|
-
path: resolvedPath,
|
|
585
|
-
query,
|
|
586
|
-
body,
|
|
587
|
-
});
|
|
532
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
533
|
+
return b.build();
|
|
588
534
|
};
|
|
589
535
|
exports.se_ListAssociatedAccessPoliciesCommand = se_ListAssociatedAccessPoliciesCommand;
|
|
590
536
|
const se_ListClustersCommand = async (input, context) => {
|
|
@@ -643,6 +589,23 @@ const se_ListIdentityProviderConfigsCommand = async (input, context) => {
|
|
|
643
589
|
return b.build();
|
|
644
590
|
};
|
|
645
591
|
exports.se_ListIdentityProviderConfigsCommand = se_ListIdentityProviderConfigsCommand;
|
|
592
|
+
const se_ListInsightsCommand = async (input, context) => {
|
|
593
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
594
|
+
const headers = {
|
|
595
|
+
"content-type": "application/json",
|
|
596
|
+
};
|
|
597
|
+
b.bp("/clusters/{clusterName}/insights");
|
|
598
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
599
|
+
let body;
|
|
600
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
601
|
+
filter: (_) => (0, smithy_client_1._json)(_),
|
|
602
|
+
maxResults: [],
|
|
603
|
+
nextToken: [],
|
|
604
|
+
}));
|
|
605
|
+
b.m("POST").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
607
|
+
};
|
|
608
|
+
exports.se_ListInsightsCommand = se_ListInsightsCommand;
|
|
646
609
|
const se_ListNodegroupsCommand = async (input, context) => {
|
|
647
610
|
const b = (0, core_1.requestBuilder)(input, context);
|
|
648
611
|
const headers = {};
|
|
@@ -748,29 +711,21 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
748
711
|
};
|
|
749
712
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
750
713
|
const se_UpdateAccessEntryCommand = async (input, context) => {
|
|
751
|
-
const
|
|
714
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
752
715
|
const headers = {
|
|
753
716
|
"content-type": "application/json",
|
|
754
717
|
};
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "principalArn", () => input.principalArn, "{principalArn}", false);
|
|
718
|
+
b.bp("/clusters/{clusterName}/access-entries/{principalArn}");
|
|
719
|
+
b.p("clusterName", () => input.clusterName, "{clusterName}", false);
|
|
720
|
+
b.p("principalArn", () => input.principalArn, "{principalArn}", false);
|
|
759
721
|
let body;
|
|
760
722
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
761
723
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
762
724
|
kubernetesGroups: (_) => (0, smithy_client_1._json)(_),
|
|
763
725
|
username: [],
|
|
764
726
|
}));
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
hostname,
|
|
768
|
-
port,
|
|
769
|
-
method: "POST",
|
|
770
|
-
headers,
|
|
771
|
-
path: resolvedPath,
|
|
772
|
-
body,
|
|
773
|
-
});
|
|
727
|
+
b.m("POST").h(headers).b(body);
|
|
728
|
+
return b.build();
|
|
774
729
|
};
|
|
775
730
|
exports.se_UpdateAccessEntryCommand = se_UpdateAccessEntryCommand;
|
|
776
731
|
const se_UpdateAddonCommand = async (input, context) => {
|
|
@@ -2089,6 +2044,49 @@ const de_DescribeIdentityProviderConfigCommandError = async (output, context) =>
|
|
|
2089
2044
|
});
|
|
2090
2045
|
}
|
|
2091
2046
|
};
|
|
2047
|
+
const de_DescribeInsightCommand = async (output, context) => {
|
|
2048
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2049
|
+
return de_DescribeInsightCommandError(output, context);
|
|
2050
|
+
}
|
|
2051
|
+
const contents = (0, smithy_client_1.map)({
|
|
2052
|
+
$metadata: deserializeMetadata(output),
|
|
2053
|
+
});
|
|
2054
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2055
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2056
|
+
insight: (_) => de_Insight(_, context),
|
|
2057
|
+
});
|
|
2058
|
+
Object.assign(contents, doc);
|
|
2059
|
+
return contents;
|
|
2060
|
+
};
|
|
2061
|
+
exports.de_DescribeInsightCommand = de_DescribeInsightCommand;
|
|
2062
|
+
const de_DescribeInsightCommandError = async (output, context) => {
|
|
2063
|
+
const parsedOutput = {
|
|
2064
|
+
...output,
|
|
2065
|
+
body: await parseErrorBody(output.body, context),
|
|
2066
|
+
};
|
|
2067
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2068
|
+
switch (errorCode) {
|
|
2069
|
+
case "InvalidParameterException":
|
|
2070
|
+
case "com.amazonaws.eks#InvalidParameterException":
|
|
2071
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2072
|
+
case "InvalidRequestException":
|
|
2073
|
+
case "com.amazonaws.eks#InvalidRequestException":
|
|
2074
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2075
|
+
case "ResourceNotFoundException":
|
|
2076
|
+
case "com.amazonaws.eks#ResourceNotFoundException":
|
|
2077
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2078
|
+
case "ServerException":
|
|
2079
|
+
case "com.amazonaws.eks#ServerException":
|
|
2080
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2081
|
+
default:
|
|
2082
|
+
const parsedBody = parsedOutput.body;
|
|
2083
|
+
return throwDefaultError({
|
|
2084
|
+
output,
|
|
2085
|
+
parsedBody,
|
|
2086
|
+
errorCode,
|
|
2087
|
+
});
|
|
2088
|
+
}
|
|
2089
|
+
};
|
|
2092
2090
|
const de_DescribeNodegroupCommand = async (output, context) => {
|
|
2093
2091
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2094
2092
|
return de_DescribeNodegroupCommandError(output, context);
|
|
@@ -2654,6 +2652,50 @@ const de_ListIdentityProviderConfigsCommandError = async (output, context) => {
|
|
|
2654
2652
|
});
|
|
2655
2653
|
}
|
|
2656
2654
|
};
|
|
2655
|
+
const de_ListInsightsCommand = async (output, context) => {
|
|
2656
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2657
|
+
return de_ListInsightsCommandError(output, context);
|
|
2658
|
+
}
|
|
2659
|
+
const contents = (0, smithy_client_1.map)({
|
|
2660
|
+
$metadata: deserializeMetadata(output),
|
|
2661
|
+
});
|
|
2662
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2663
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2664
|
+
insights: (_) => de_InsightSummaries(_, context),
|
|
2665
|
+
nextToken: smithy_client_1.expectString,
|
|
2666
|
+
});
|
|
2667
|
+
Object.assign(contents, doc);
|
|
2668
|
+
return contents;
|
|
2669
|
+
};
|
|
2670
|
+
exports.de_ListInsightsCommand = de_ListInsightsCommand;
|
|
2671
|
+
const de_ListInsightsCommandError = async (output, context) => {
|
|
2672
|
+
const parsedOutput = {
|
|
2673
|
+
...output,
|
|
2674
|
+
body: await parseErrorBody(output.body, context),
|
|
2675
|
+
};
|
|
2676
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2677
|
+
switch (errorCode) {
|
|
2678
|
+
case "InvalidParameterException":
|
|
2679
|
+
case "com.amazonaws.eks#InvalidParameterException":
|
|
2680
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2681
|
+
case "InvalidRequestException":
|
|
2682
|
+
case "com.amazonaws.eks#InvalidRequestException":
|
|
2683
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2684
|
+
case "ResourceNotFoundException":
|
|
2685
|
+
case "com.amazonaws.eks#ResourceNotFoundException":
|
|
2686
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2687
|
+
case "ServerException":
|
|
2688
|
+
case "com.amazonaws.eks#ServerException":
|
|
2689
|
+
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
2690
|
+
default:
|
|
2691
|
+
const parsedBody = parsedOutput.body;
|
|
2692
|
+
return throwDefaultError({
|
|
2693
|
+
output,
|
|
2694
|
+
parsedBody,
|
|
2695
|
+
errorCode,
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
};
|
|
2657
2699
|
const de_ListNodegroupsCommand = async (output, context) => {
|
|
2658
2700
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2659
2701
|
return de_ListNodegroupsCommandError(output, context);
|
|
@@ -3572,6 +3614,21 @@ const de_AssociatedAccessPolicy = (output, context) => {
|
|
|
3572
3614
|
policyArn: smithy_client_1.expectString,
|
|
3573
3615
|
});
|
|
3574
3616
|
};
|
|
3617
|
+
const de_ClientStat = (output, context) => {
|
|
3618
|
+
return (0, smithy_client_1.take)(output, {
|
|
3619
|
+
lastRequestTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3620
|
+
numberOfRequestsLast30Days: smithy_client_1.expectInt32,
|
|
3621
|
+
userAgent: smithy_client_1.expectString,
|
|
3622
|
+
});
|
|
3623
|
+
};
|
|
3624
|
+
const de_ClientStats = (output, context) => {
|
|
3625
|
+
const retVal = (output || [])
|
|
3626
|
+
.filter((e) => e != null)
|
|
3627
|
+
.map((entry) => {
|
|
3628
|
+
return de_ClientStat(entry, context);
|
|
3629
|
+
});
|
|
3630
|
+
return retVal;
|
|
3631
|
+
};
|
|
3575
3632
|
const de_Cluster = (output, context) => {
|
|
3576
3633
|
return (0, smithy_client_1.take)(output, {
|
|
3577
3634
|
accessConfig: smithy_client_1._json,
|
|
@@ -3606,6 +3663,23 @@ const de_ConnectorConfigResponse = (output, context) => {
|
|
|
3606
3663
|
roleArn: smithy_client_1.expectString,
|
|
3607
3664
|
});
|
|
3608
3665
|
};
|
|
3666
|
+
const de_DeprecationDetail = (output, context) => {
|
|
3667
|
+
return (0, smithy_client_1.take)(output, {
|
|
3668
|
+
clientStats: (_) => de_ClientStats(_, context),
|
|
3669
|
+
replacedWith: smithy_client_1.expectString,
|
|
3670
|
+
startServingReplacementVersion: smithy_client_1.expectString,
|
|
3671
|
+
stopServingVersion: smithy_client_1.expectString,
|
|
3672
|
+
usage: smithy_client_1.expectString,
|
|
3673
|
+
});
|
|
3674
|
+
};
|
|
3675
|
+
const de_DeprecationDetails = (output, context) => {
|
|
3676
|
+
const retVal = (output || [])
|
|
3677
|
+
.filter((e) => e != null)
|
|
3678
|
+
.map((entry) => {
|
|
3679
|
+
return de_DeprecationDetail(entry, context);
|
|
3680
|
+
});
|
|
3681
|
+
return retVal;
|
|
3682
|
+
};
|
|
3609
3683
|
const de_EksAnywhereSubscription = (output, context) => {
|
|
3610
3684
|
return (0, smithy_client_1.take)(output, {
|
|
3611
3685
|
arn: smithy_client_1.expectString,
|
|
@@ -3643,6 +3717,47 @@ const de_FargateProfile = (output, context) => {
|
|
|
3643
3717
|
tags: smithy_client_1._json,
|
|
3644
3718
|
});
|
|
3645
3719
|
};
|
|
3720
|
+
const de_Insight = (output, context) => {
|
|
3721
|
+
return (0, smithy_client_1.take)(output, {
|
|
3722
|
+
additionalInfo: smithy_client_1._json,
|
|
3723
|
+
category: smithy_client_1.expectString,
|
|
3724
|
+
categorySpecificSummary: (_) => de_InsightCategorySpecificSummary(_, context),
|
|
3725
|
+
description: smithy_client_1.expectString,
|
|
3726
|
+
id: smithy_client_1.expectString,
|
|
3727
|
+
insightStatus: smithy_client_1._json,
|
|
3728
|
+
kubernetesVersion: smithy_client_1.expectString,
|
|
3729
|
+
lastRefreshTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3730
|
+
lastTransitionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3731
|
+
name: smithy_client_1.expectString,
|
|
3732
|
+
recommendation: smithy_client_1.expectString,
|
|
3733
|
+
resources: smithy_client_1._json,
|
|
3734
|
+
});
|
|
3735
|
+
};
|
|
3736
|
+
const de_InsightCategorySpecificSummary = (output, context) => {
|
|
3737
|
+
return (0, smithy_client_1.take)(output, {
|
|
3738
|
+
deprecationDetails: (_) => de_DeprecationDetails(_, context),
|
|
3739
|
+
});
|
|
3740
|
+
};
|
|
3741
|
+
const de_InsightSummaries = (output, context) => {
|
|
3742
|
+
const retVal = (output || [])
|
|
3743
|
+
.filter((e) => e != null)
|
|
3744
|
+
.map((entry) => {
|
|
3745
|
+
return de_InsightSummary(entry, context);
|
|
3746
|
+
});
|
|
3747
|
+
return retVal;
|
|
3748
|
+
};
|
|
3749
|
+
const de_InsightSummary = (output, context) => {
|
|
3750
|
+
return (0, smithy_client_1.take)(output, {
|
|
3751
|
+
category: smithy_client_1.expectString,
|
|
3752
|
+
description: smithy_client_1.expectString,
|
|
3753
|
+
id: smithy_client_1.expectString,
|
|
3754
|
+
insightStatus: smithy_client_1._json,
|
|
3755
|
+
kubernetesVersion: smithy_client_1.expectString,
|
|
3756
|
+
lastRefreshTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3757
|
+
lastTransitionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3758
|
+
name: smithy_client_1.expectString,
|
|
3759
|
+
});
|
|
3760
|
+
};
|
|
3646
3761
|
const de_Nodegroup = (output, context) => {
|
|
3647
3762
|
return (0, smithy_client_1.take)(output, {
|
|
3648
3763
|
amiType: smithy_client_1.expectString,
|
|
@@ -3706,6 +3821,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3706
3821
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3707
3822
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3708
3823
|
const _aN = "addonName";
|
|
3824
|
+
const _aPA = "associatedPolicyArn";
|
|
3709
3825
|
const _aV = "addonVersion";
|
|
3710
3826
|
const _i = "include";
|
|
3711
3827
|
const _iS = "includeStatus";
|
package/dist-es/EKS.js
CHANGED
|
@@ -25,6 +25,7 @@ import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
|
|
|
25
25
|
import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
26
26
|
import { DescribeFargateProfileCommand, } from "./commands/DescribeFargateProfileCommand";
|
|
27
27
|
import { DescribeIdentityProviderConfigCommand, } from "./commands/DescribeIdentityProviderConfigCommand";
|
|
28
|
+
import { DescribeInsightCommand, } from "./commands/DescribeInsightCommand";
|
|
28
29
|
import { DescribeNodegroupCommand, } from "./commands/DescribeNodegroupCommand";
|
|
29
30
|
import { DescribePodIdentityAssociationCommand, } from "./commands/DescribePodIdentityAssociationCommand";
|
|
30
31
|
import { DescribeUpdateCommand, } from "./commands/DescribeUpdateCommand";
|
|
@@ -38,6 +39,7 @@ import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
|
38
39
|
import { ListEksAnywhereSubscriptionsCommand, } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
39
40
|
import { ListFargateProfilesCommand, } from "./commands/ListFargateProfilesCommand";
|
|
40
41
|
import { ListIdentityProviderConfigsCommand, } from "./commands/ListIdentityProviderConfigsCommand";
|
|
42
|
+
import { ListInsightsCommand, } from "./commands/ListInsightsCommand";
|
|
41
43
|
import { ListNodegroupsCommand, } from "./commands/ListNodegroupsCommand";
|
|
42
44
|
import { ListPodIdentityAssociationsCommand, } from "./commands/ListPodIdentityAssociationsCommand";
|
|
43
45
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -81,6 +83,7 @@ const commands = {
|
|
|
81
83
|
DescribeEksAnywhereSubscriptionCommand,
|
|
82
84
|
DescribeFargateProfileCommand,
|
|
83
85
|
DescribeIdentityProviderConfigCommand,
|
|
86
|
+
DescribeInsightCommand,
|
|
84
87
|
DescribeNodegroupCommand,
|
|
85
88
|
DescribePodIdentityAssociationCommand,
|
|
86
89
|
DescribeUpdateCommand,
|
|
@@ -94,6 +97,7 @@ const commands = {
|
|
|
94
97
|
ListEksAnywhereSubscriptionsCommand,
|
|
95
98
|
ListFargateProfilesCommand,
|
|
96
99
|
ListIdentityProviderConfigsCommand,
|
|
100
|
+
ListInsightsCommand,
|
|
97
101
|
ListNodegroupsCommand,
|
|
98
102
|
ListPodIdentityAssociationsCommand,
|
|
99
103
|
ListTagsForResourceCommand,
|