@aws-sdk/client-eks 3.223.0 → 3.226.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/dist-cjs/EKS.js CHANGED
@@ -13,6 +13,7 @@ const DeleteFargateProfileCommand_1 = require("./commands/DeleteFargateProfileCo
13
13
  const DeleteNodegroupCommand_1 = require("./commands/DeleteNodegroupCommand");
14
14
  const DeregisterClusterCommand_1 = require("./commands/DeregisterClusterCommand");
15
15
  const DescribeAddonCommand_1 = require("./commands/DescribeAddonCommand");
16
+ const DescribeAddonConfigurationCommand_1 = require("./commands/DescribeAddonConfigurationCommand");
16
17
  const DescribeAddonVersionsCommand_1 = require("./commands/DescribeAddonVersionsCommand");
17
18
  const DescribeClusterCommand_1 = require("./commands/DescribeClusterCommand");
18
19
  const DescribeFargateProfileCommand_1 = require("./commands/DescribeFargateProfileCommand");
@@ -205,6 +206,20 @@ class EKS extends EKSClient_1.EKSClient {
205
206
  return this.send(command, optionsOrCb);
206
207
  }
207
208
  }
209
+ describeAddonConfiguration(args, optionsOrCb, cb) {
210
+ const command = new DescribeAddonConfigurationCommand_1.DescribeAddonConfigurationCommand(args);
211
+ if (typeof optionsOrCb === "function") {
212
+ this.send(command, optionsOrCb);
213
+ }
214
+ else if (typeof cb === "function") {
215
+ if (typeof optionsOrCb !== "object")
216
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
217
+ this.send(command, optionsOrCb || {}, cb);
218
+ }
219
+ else {
220
+ return this.send(command, optionsOrCb);
221
+ }
222
+ }
208
223
  describeAddonVersions(args, optionsOrCb, cb) {
209
224
  const command = new DescribeAddonVersionsCommand_1.DescribeAddonVersionsCommand(args);
210
225
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeAddonConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DescribeAddonConfigurationCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAddonConfigurationCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "EKSClient";
28
+ const commandName = "DescribeAddonConfigurationCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DescribeAddonConfigurationRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DescribeAddonConfigurationResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeAddonConfigurationCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeAddonConfigurationCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DescribeAddonConfigurationCommand = DescribeAddonConfigurationCommand;
@@ -13,6 +13,7 @@ tslib_1.__exportStar(require("./DeleteFargateProfileCommand"), exports);
13
13
  tslib_1.__exportStar(require("./DeleteNodegroupCommand"), exports);
14
14
  tslib_1.__exportStar(require("./DeregisterClusterCommand"), exports);
15
15
  tslib_1.__exportStar(require("./DescribeAddonCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeAddonConfigurationCommand"), exports);
16
17
  tslib_1.__exportStar(require("./DescribeAddonVersionsCommand"), exports);
17
18
  tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
18
19
  tslib_1.__exportStar(require("./DescribeFargateProfileCommand"), exports);
@@ -56,15 +56,6 @@ exports.ruleSet = {
56
56
  },
57
57
  ],
58
58
  },
59
- {
60
- fn: "parseURL",
61
- argv: [
62
- {
63
- ref: "Endpoint",
64
- },
65
- ],
66
- assign: "url",
67
- },
68
59
  ],
69
60
  type: "tree",
70
61
  rules: [
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AutoScalingGroupFilterSensitiveLog = exports.AssociateIdentityProviderConfigResponseFilterSensitiveLog = exports.AssociateIdentityProviderConfigRequestFilterSensitiveLog = exports.OidcIdentityProviderConfigRequestFilterSensitiveLog = exports.AssociateEncryptionConfigResponseFilterSensitiveLog = exports.UpdateFilterSensitiveLog = exports.UpdateParamFilterSensitiveLog = exports.ErrorDetailFilterSensitiveLog = exports.AssociateEncryptionConfigRequestFilterSensitiveLog = exports.EncryptionConfigFilterSensitiveLog = exports.ProviderFilterSensitiveLog = exports.AddonInfoFilterSensitiveLog = exports.AddonVersionInfoFilterSensitiveLog = exports.CompatibilityFilterSensitiveLog = exports.AddonFilterSensitiveLog = exports.MarketplaceInformationFilterSensitiveLog = exports.AddonHealthFilterSensitiveLog = exports.AddonIssueFilterSensitiveLog = exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ServerException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessDeniedException = void 0;
4
- exports.DescribeAddonVersionsResponseFilterSensitiveLog = exports.DescribeAddonVersionsRequestFilterSensitiveLog = exports.DescribeAddonResponseFilterSensitiveLog = exports.DescribeAddonRequestFilterSensitiveLog = exports.DeregisterClusterResponseFilterSensitiveLog = exports.DeregisterClusterRequestFilterSensitiveLog = exports.DeleteNodegroupResponseFilterSensitiveLog = exports.DeleteNodegroupRequestFilterSensitiveLog = exports.DeleteFargateProfileResponseFilterSensitiveLog = exports.DeleteFargateProfileRequestFilterSensitiveLog = exports.DeleteClusterResponseFilterSensitiveLog = exports.DeleteClusterRequestFilterSensitiveLog = exports.DeleteAddonResponseFilterSensitiveLog = exports.DeleteAddonRequestFilterSensitiveLog = exports.CreateNodegroupResponseFilterSensitiveLog = exports.NodegroupFilterSensitiveLog = exports.NodegroupResourcesFilterSensitiveLog = exports.NodegroupHealthFilterSensitiveLog = exports.IssueFilterSensitiveLog = exports.CreateNodegroupRequestFilterSensitiveLog = exports.NodegroupUpdateConfigFilterSensitiveLog = exports.TaintFilterSensitiveLog = exports.NodegroupScalingConfigFilterSensitiveLog = exports.RemoteAccessConfigFilterSensitiveLog = exports.LaunchTemplateSpecificationFilterSensitiveLog = exports.CreateFargateProfileResponseFilterSensitiveLog = exports.FargateProfileFilterSensitiveLog = exports.CreateFargateProfileRequestFilterSensitiveLog = exports.FargateProfileSelectorFilterSensitiveLog = exports.CreateClusterResponseFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = exports.OutpostConfigResponseFilterSensitiveLog = exports.ControlPlanePlacementResponseFilterSensitiveLog = exports.KubernetesNetworkConfigResponseFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.OIDCFilterSensitiveLog = exports.ClusterHealthFilterSensitiveLog = exports.ClusterIssueFilterSensitiveLog = exports.ConnectorConfigResponseFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.CreateClusterRequestFilterSensitiveLog = exports.VpcConfigRequestFilterSensitiveLog = exports.OutpostConfigRequestFilterSensitiveLog = exports.ControlPlanePlacementRequestFilterSensitiveLog = exports.LoggingFilterSensitiveLog = exports.LogSetupFilterSensitiveLog = exports.KubernetesNetworkConfigRequestFilterSensitiveLog = exports.CreateAddonResponseFilterSensitiveLog = exports.CreateAddonRequestFilterSensitiveLog = void 0;
5
- exports.UpdateNodegroupVersionResponseFilterSensitiveLog = exports.UpdateNodegroupVersionRequestFilterSensitiveLog = exports.UpdateNodegroupConfigResponseFilterSensitiveLog = exports.UpdateNodegroupConfigRequestFilterSensitiveLog = exports.UpdateTaintsPayloadFilterSensitiveLog = exports.UpdateLabelsPayloadFilterSensitiveLog = exports.UpdateClusterVersionResponseFilterSensitiveLog = exports.UpdateClusterVersionRequestFilterSensitiveLog = exports.UpdateClusterConfigResponseFilterSensitiveLog = exports.UpdateClusterConfigRequestFilterSensitiveLog = exports.UpdateAddonResponseFilterSensitiveLog = exports.UpdateAddonRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RegisterClusterResponseFilterSensitiveLog = exports.RegisterClusterRequestFilterSensitiveLog = exports.ConnectorConfigRequestFilterSensitiveLog = exports.ListUpdatesResponseFilterSensitiveLog = exports.ListUpdatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListNodegroupsResponseFilterSensitiveLog = exports.ListNodegroupsRequestFilterSensitiveLog = exports.ListIdentityProviderConfigsResponseFilterSensitiveLog = exports.ListIdentityProviderConfigsRequestFilterSensitiveLog = exports.ListFargateProfilesResponseFilterSensitiveLog = exports.ListFargateProfilesRequestFilterSensitiveLog = exports.ListClustersResponseFilterSensitiveLog = exports.ListClustersRequestFilterSensitiveLog = exports.ListAddonsResponseFilterSensitiveLog = exports.ListAddonsRequestFilterSensitiveLog = exports.DisassociateIdentityProviderConfigResponseFilterSensitiveLog = exports.DisassociateIdentityProviderConfigRequestFilterSensitiveLog = exports.DescribeUpdateResponseFilterSensitiveLog = exports.DescribeUpdateRequestFilterSensitiveLog = exports.DescribeNodegroupResponseFilterSensitiveLog = exports.DescribeNodegroupRequestFilterSensitiveLog = exports.DescribeIdentityProviderConfigResponseFilterSensitiveLog = exports.IdentityProviderConfigResponseFilterSensitiveLog = exports.OidcIdentityProviderConfigFilterSensitiveLog = exports.DescribeIdentityProviderConfigRequestFilterSensitiveLog = exports.IdentityProviderConfigFilterSensitiveLog = exports.DescribeFargateProfileResponseFilterSensitiveLog = exports.DescribeFargateProfileRequestFilterSensitiveLog = exports.DescribeClusterResponseFilterSensitiveLog = exports.DescribeClusterRequestFilterSensitiveLog = void 0;
4
+ exports.DescribeAddonConfigurationResponseFilterSensitiveLog = exports.DescribeAddonConfigurationRequestFilterSensitiveLog = exports.DescribeAddonResponseFilterSensitiveLog = exports.DescribeAddonRequestFilterSensitiveLog = exports.DeregisterClusterResponseFilterSensitiveLog = exports.DeregisterClusterRequestFilterSensitiveLog = exports.DeleteNodegroupResponseFilterSensitiveLog = exports.DeleteNodegroupRequestFilterSensitiveLog = exports.DeleteFargateProfileResponseFilterSensitiveLog = exports.DeleteFargateProfileRequestFilterSensitiveLog = exports.DeleteClusterResponseFilterSensitiveLog = exports.DeleteClusterRequestFilterSensitiveLog = exports.DeleteAddonResponseFilterSensitiveLog = exports.DeleteAddonRequestFilterSensitiveLog = exports.CreateNodegroupResponseFilterSensitiveLog = exports.NodegroupFilterSensitiveLog = exports.NodegroupResourcesFilterSensitiveLog = exports.NodegroupHealthFilterSensitiveLog = exports.IssueFilterSensitiveLog = exports.CreateNodegroupRequestFilterSensitiveLog = exports.NodegroupUpdateConfigFilterSensitiveLog = exports.TaintFilterSensitiveLog = exports.NodegroupScalingConfigFilterSensitiveLog = exports.RemoteAccessConfigFilterSensitiveLog = exports.LaunchTemplateSpecificationFilterSensitiveLog = exports.CreateFargateProfileResponseFilterSensitiveLog = exports.FargateProfileFilterSensitiveLog = exports.CreateFargateProfileRequestFilterSensitiveLog = exports.FargateProfileSelectorFilterSensitiveLog = exports.CreateClusterResponseFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.VpcConfigResponseFilterSensitiveLog = exports.OutpostConfigResponseFilterSensitiveLog = exports.ControlPlanePlacementResponseFilterSensitiveLog = exports.KubernetesNetworkConfigResponseFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.OIDCFilterSensitiveLog = exports.ClusterHealthFilterSensitiveLog = exports.ClusterIssueFilterSensitiveLog = exports.ConnectorConfigResponseFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.CreateClusterRequestFilterSensitiveLog = exports.VpcConfigRequestFilterSensitiveLog = exports.OutpostConfigRequestFilterSensitiveLog = exports.ControlPlanePlacementRequestFilterSensitiveLog = exports.LoggingFilterSensitiveLog = exports.LogSetupFilterSensitiveLog = exports.KubernetesNetworkConfigRequestFilterSensitiveLog = exports.CreateAddonResponseFilterSensitiveLog = exports.CreateAddonRequestFilterSensitiveLog = void 0;
5
+ exports.UpdateNodegroupVersionResponseFilterSensitiveLog = exports.UpdateNodegroupVersionRequestFilterSensitiveLog = exports.UpdateNodegroupConfigResponseFilterSensitiveLog = exports.UpdateNodegroupConfigRequestFilterSensitiveLog = exports.UpdateTaintsPayloadFilterSensitiveLog = exports.UpdateLabelsPayloadFilterSensitiveLog = exports.UpdateClusterVersionResponseFilterSensitiveLog = exports.UpdateClusterVersionRequestFilterSensitiveLog = exports.UpdateClusterConfigResponseFilterSensitiveLog = exports.UpdateClusterConfigRequestFilterSensitiveLog = exports.UpdateAddonResponseFilterSensitiveLog = exports.UpdateAddonRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RegisterClusterResponseFilterSensitiveLog = exports.RegisterClusterRequestFilterSensitiveLog = exports.ConnectorConfigRequestFilterSensitiveLog = exports.ListUpdatesResponseFilterSensitiveLog = exports.ListUpdatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListNodegroupsResponseFilterSensitiveLog = exports.ListNodegroupsRequestFilterSensitiveLog = exports.ListIdentityProviderConfigsResponseFilterSensitiveLog = exports.ListIdentityProviderConfigsRequestFilterSensitiveLog = exports.ListFargateProfilesResponseFilterSensitiveLog = exports.ListFargateProfilesRequestFilterSensitiveLog = exports.ListClustersResponseFilterSensitiveLog = exports.ListClustersRequestFilterSensitiveLog = exports.ListAddonsResponseFilterSensitiveLog = exports.ListAddonsRequestFilterSensitiveLog = exports.DisassociateIdentityProviderConfigResponseFilterSensitiveLog = exports.DisassociateIdentityProviderConfigRequestFilterSensitiveLog = exports.DescribeUpdateResponseFilterSensitiveLog = exports.DescribeUpdateRequestFilterSensitiveLog = exports.DescribeNodegroupResponseFilterSensitiveLog = exports.DescribeNodegroupRequestFilterSensitiveLog = exports.DescribeIdentityProviderConfigResponseFilterSensitiveLog = exports.IdentityProviderConfigResponseFilterSensitiveLog = exports.OidcIdentityProviderConfigFilterSensitiveLog = exports.DescribeIdentityProviderConfigRequestFilterSensitiveLog = exports.IdentityProviderConfigFilterSensitiveLog = exports.DescribeFargateProfileResponseFilterSensitiveLog = exports.DescribeFargateProfileRequestFilterSensitiveLog = exports.DescribeClusterResponseFilterSensitiveLog = exports.DescribeClusterRequestFilterSensitiveLog = exports.DescribeAddonVersionsResponseFilterSensitiveLog = exports.DescribeAddonVersionsRequestFilterSensitiveLog = void 0;
6
6
  const EKSServiceException_1 = require("./EKSServiceException");
7
7
  class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
8
8
  constructor(opts) {
@@ -665,6 +665,14 @@ const DescribeAddonResponseFilterSensitiveLog = (obj) => ({
665
665
  ...obj,
666
666
  });
667
667
  exports.DescribeAddonResponseFilterSensitiveLog = DescribeAddonResponseFilterSensitiveLog;
668
+ const DescribeAddonConfigurationRequestFilterSensitiveLog = (obj) => ({
669
+ ...obj,
670
+ });
671
+ exports.DescribeAddonConfigurationRequestFilterSensitiveLog = DescribeAddonConfigurationRequestFilterSensitiveLog;
672
+ const DescribeAddonConfigurationResponseFilterSensitiveLog = (obj) => ({
673
+ ...obj,
674
+ });
675
+ exports.DescribeAddonConfigurationResponseFilterSensitiveLog = DescribeAddonConfigurationResponseFilterSensitiveLog;
668
676
  const DescribeAddonVersionsRequestFilterSensitiveLog = (obj) => ({
669
677
  ...obj,
670
678
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeFargateProfileCommand = exports.deserializeAws_restJson1DescribeClusterCommand = exports.deserializeAws_restJson1DescribeAddonVersionsCommand = exports.deserializeAws_restJson1DescribeAddonCommand = exports.deserializeAws_restJson1DeregisterClusterCommand = exports.deserializeAws_restJson1DeleteNodegroupCommand = exports.deserializeAws_restJson1DeleteFargateProfileCommand = exports.deserializeAws_restJson1DeleteClusterCommand = exports.deserializeAws_restJson1DeleteAddonCommand = exports.deserializeAws_restJson1CreateNodegroupCommand = exports.deserializeAws_restJson1CreateFargateProfileCommand = exports.deserializeAws_restJson1CreateClusterCommand = exports.deserializeAws_restJson1CreateAddonCommand = exports.deserializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1AssociateEncryptionConfigCommand = exports.serializeAws_restJson1UpdateNodegroupVersionCommand = exports.serializeAws_restJson1UpdateNodegroupConfigCommand = exports.serializeAws_restJson1UpdateClusterVersionCommand = exports.serializeAws_restJson1UpdateClusterConfigCommand = exports.serializeAws_restJson1UpdateAddonCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RegisterClusterCommand = exports.serializeAws_restJson1ListUpdatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNodegroupsCommand = exports.serializeAws_restJson1ListIdentityProviderConfigsCommand = exports.serializeAws_restJson1ListFargateProfilesCommand = exports.serializeAws_restJson1ListClustersCommand = exports.serializeAws_restJson1ListAddonsCommand = exports.serializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeUpdateCommand = exports.serializeAws_restJson1DescribeNodegroupCommand = exports.serializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeFargateProfileCommand = exports.serializeAws_restJson1DescribeClusterCommand = exports.serializeAws_restJson1DescribeAddonVersionsCommand = exports.serializeAws_restJson1DescribeAddonCommand = exports.serializeAws_restJson1DeregisterClusterCommand = exports.serializeAws_restJson1DeleteNodegroupCommand = exports.serializeAws_restJson1DeleteFargateProfileCommand = exports.serializeAws_restJson1DeleteClusterCommand = exports.serializeAws_restJson1DeleteAddonCommand = exports.serializeAws_restJson1CreateNodegroupCommand = exports.serializeAws_restJson1CreateFargateProfileCommand = exports.serializeAws_restJson1CreateClusterCommand = exports.serializeAws_restJson1CreateAddonCommand = exports.serializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.serializeAws_restJson1AssociateEncryptionConfigCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateNodegroupVersionCommand = exports.deserializeAws_restJson1UpdateNodegroupConfigCommand = exports.deserializeAws_restJson1UpdateClusterVersionCommand = exports.deserializeAws_restJson1UpdateClusterConfigCommand = exports.deserializeAws_restJson1UpdateAddonCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RegisterClusterCommand = exports.deserializeAws_restJson1ListUpdatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNodegroupsCommand = exports.deserializeAws_restJson1ListIdentityProviderConfigsCommand = exports.deserializeAws_restJson1ListFargateProfilesCommand = exports.deserializeAws_restJson1ListClustersCommand = exports.deserializeAws_restJson1ListAddonsCommand = exports.deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeUpdateCommand = exports.deserializeAws_restJson1DescribeNodegroupCommand = void 0;
3
+ exports.deserializeAws_restJson1DescribeClusterCommand = exports.deserializeAws_restJson1DescribeAddonVersionsCommand = exports.deserializeAws_restJson1DescribeAddonConfigurationCommand = exports.deserializeAws_restJson1DescribeAddonCommand = exports.deserializeAws_restJson1DeregisterClusterCommand = exports.deserializeAws_restJson1DeleteNodegroupCommand = exports.deserializeAws_restJson1DeleteFargateProfileCommand = exports.deserializeAws_restJson1DeleteClusterCommand = exports.deserializeAws_restJson1DeleteAddonCommand = exports.deserializeAws_restJson1CreateNodegroupCommand = exports.deserializeAws_restJson1CreateFargateProfileCommand = exports.deserializeAws_restJson1CreateClusterCommand = exports.deserializeAws_restJson1CreateAddonCommand = exports.deserializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1AssociateEncryptionConfigCommand = exports.serializeAws_restJson1UpdateNodegroupVersionCommand = exports.serializeAws_restJson1UpdateNodegroupConfigCommand = exports.serializeAws_restJson1UpdateClusterVersionCommand = exports.serializeAws_restJson1UpdateClusterConfigCommand = exports.serializeAws_restJson1UpdateAddonCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1RegisterClusterCommand = exports.serializeAws_restJson1ListUpdatesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListNodegroupsCommand = exports.serializeAws_restJson1ListIdentityProviderConfigsCommand = exports.serializeAws_restJson1ListFargateProfilesCommand = exports.serializeAws_restJson1ListClustersCommand = exports.serializeAws_restJson1ListAddonsCommand = exports.serializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeUpdateCommand = exports.serializeAws_restJson1DescribeNodegroupCommand = exports.serializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.serializeAws_restJson1DescribeFargateProfileCommand = exports.serializeAws_restJson1DescribeClusterCommand = exports.serializeAws_restJson1DescribeAddonVersionsCommand = exports.serializeAws_restJson1DescribeAddonConfigurationCommand = exports.serializeAws_restJson1DescribeAddonCommand = exports.serializeAws_restJson1DeregisterClusterCommand = exports.serializeAws_restJson1DeleteNodegroupCommand = exports.serializeAws_restJson1DeleteFargateProfileCommand = exports.serializeAws_restJson1DeleteClusterCommand = exports.serializeAws_restJson1DeleteAddonCommand = exports.serializeAws_restJson1CreateNodegroupCommand = exports.serializeAws_restJson1CreateFargateProfileCommand = exports.serializeAws_restJson1CreateClusterCommand = exports.serializeAws_restJson1CreateAddonCommand = exports.serializeAws_restJson1AssociateIdentityProviderConfigCommand = exports.serializeAws_restJson1AssociateEncryptionConfigCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateNodegroupVersionCommand = exports.deserializeAws_restJson1UpdateNodegroupConfigCommand = exports.deserializeAws_restJson1UpdateClusterVersionCommand = exports.deserializeAws_restJson1UpdateClusterConfigCommand = exports.deserializeAws_restJson1UpdateAddonCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1RegisterClusterCommand = exports.deserializeAws_restJson1ListUpdatesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListNodegroupsCommand = exports.deserializeAws_restJson1ListIdentityProviderConfigsCommand = exports.deserializeAws_restJson1ListFargateProfilesCommand = exports.deserializeAws_restJson1ListClustersCommand = exports.deserializeAws_restJson1ListAddonsCommand = exports.deserializeAws_restJson1DisassociateIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeUpdateCommand = exports.deserializeAws_restJson1DescribeNodegroupCommand = exports.deserializeAws_restJson1DescribeIdentityProviderConfigCommand = exports.deserializeAws_restJson1DescribeFargateProfileCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -70,6 +70,7 @@ const serializeAws_restJson1CreateAddonCommand = async (input, context) => {
70
70
  ...(input.addonName != null && { addonName: input.addonName }),
71
71
  ...(input.addonVersion != null && { addonVersion: input.addonVersion }),
72
72
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
73
+ ...(input.configurationValues != null && { configurationValues: input.configurationValues }),
73
74
  ...(input.resolveConflicts != null && { resolveConflicts: input.resolveConflicts }),
74
75
  ...(input.serviceAccountRoleArn != null && { serviceAccountRoleArn: input.serviceAccountRoleArn }),
75
76
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
@@ -314,6 +315,27 @@ const serializeAws_restJson1DescribeAddonCommand = async (input, context) => {
314
315
  });
315
316
  };
316
317
  exports.serializeAws_restJson1DescribeAddonCommand = serializeAws_restJson1DescribeAddonCommand;
318
+ const serializeAws_restJson1DescribeAddonConfigurationCommand = async (input, context) => {
319
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
320
+ const headers = {};
321
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/addons/configuration-schemas";
322
+ const query = map({
323
+ addonName: [, (0, smithy_client_1.expectNonNull)(input.addonName, `addonName`)],
324
+ addonVersion: [, (0, smithy_client_1.expectNonNull)(input.addonVersion, `addonVersion`)],
325
+ });
326
+ let body;
327
+ return new protocol_http_1.HttpRequest({
328
+ protocol,
329
+ hostname,
330
+ port,
331
+ method: "GET",
332
+ headers,
333
+ path: resolvedPath,
334
+ query,
335
+ body,
336
+ });
337
+ };
338
+ exports.serializeAws_restJson1DescribeAddonConfigurationCommand = serializeAws_restJson1DescribeAddonConfigurationCommand;
317
339
  const serializeAws_restJson1DescribeAddonVersionsCommand = async (input, context) => {
318
340
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
319
341
  const headers = {};
@@ -706,6 +728,7 @@ const serializeAws_restJson1UpdateAddonCommand = async (input, context) => {
706
728
  body = JSON.stringify({
707
729
  ...(input.addonVersion != null && { addonVersion: input.addonVersion }),
708
730
  clientRequestToken: input.clientRequestToken ?? (0, uuid_1.v4)(),
731
+ ...(input.configurationValues != null && { configurationValues: input.configurationValues }),
709
732
  ...(input.resolveConflicts != null && { resolveConflicts: input.resolveConflicts }),
710
733
  ...(input.serviceAccountRoleArn != null && { serviceAccountRoleArn: input.serviceAccountRoleArn }),
711
734
  });
@@ -1413,6 +1436,52 @@ const deserializeAws_restJson1DescribeAddonCommandError = async (output, context
1413
1436
  });
1414
1437
  }
1415
1438
  };
1439
+ const deserializeAws_restJson1DescribeAddonConfigurationCommand = async (output, context) => {
1440
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1441
+ return deserializeAws_restJson1DescribeAddonConfigurationCommandError(output, context);
1442
+ }
1443
+ const contents = map({
1444
+ $metadata: deserializeMetadata(output),
1445
+ });
1446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1447
+ if (data.addonName != null) {
1448
+ contents.addonName = (0, smithy_client_1.expectString)(data.addonName);
1449
+ }
1450
+ if (data.addonVersion != null) {
1451
+ contents.addonVersion = (0, smithy_client_1.expectString)(data.addonVersion);
1452
+ }
1453
+ if (data.configurationSchema != null) {
1454
+ contents.configurationSchema = (0, smithy_client_1.expectString)(data.configurationSchema);
1455
+ }
1456
+ return contents;
1457
+ };
1458
+ exports.deserializeAws_restJson1DescribeAddonConfigurationCommand = deserializeAws_restJson1DescribeAddonConfigurationCommand;
1459
+ const deserializeAws_restJson1DescribeAddonConfigurationCommandError = async (output, context) => {
1460
+ const parsedOutput = {
1461
+ ...output,
1462
+ body: await parseErrorBody(output.body, context),
1463
+ };
1464
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1465
+ switch (errorCode) {
1466
+ case "InvalidParameterException":
1467
+ case "com.amazonaws.eks#InvalidParameterException":
1468
+ throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1469
+ case "ResourceNotFoundException":
1470
+ case "com.amazonaws.eks#ResourceNotFoundException":
1471
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1472
+ case "ServerException":
1473
+ case "com.amazonaws.eks#ServerException":
1474
+ throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1475
+ default:
1476
+ const parsedBody = parsedOutput.body;
1477
+ (0, smithy_client_1.throwDefaultError)({
1478
+ output,
1479
+ parsedBody,
1480
+ exceptionCtor: EKSServiceException_1.EKSServiceException,
1481
+ errorCode,
1482
+ });
1483
+ }
1484
+ };
1416
1485
  const deserializeAws_restJson1DescribeAddonVersionsCommand = async (output, context) => {
1417
1486
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1418
1487
  return deserializeAws_restJson1DescribeAddonVersionsCommandError(output, context);
@@ -2881,6 +2950,7 @@ const deserializeAws_restJson1Addon = (output, context) => {
2881
2950
  addonName: (0, smithy_client_1.expectString)(output.addonName),
2882
2951
  addonVersion: (0, smithy_client_1.expectString)(output.addonVersion),
2883
2952
  clusterName: (0, smithy_client_1.expectString)(output.clusterName),
2953
+ configurationValues: (0, smithy_client_1.expectString)(output.configurationValues),
2884
2954
  createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
2885
2955
  health: output.health != null ? deserializeAws_restJson1AddonHealth(output.health, context) : undefined,
2886
2956
  marketplaceInformation: output.marketplaceInformation != null
package/dist-es/EKS.js CHANGED
@@ -10,6 +10,7 @@ import { DeleteFargateProfileCommand, } from "./commands/DeleteFargateProfileCom
10
10
  import { DeleteNodegroupCommand, } from "./commands/DeleteNodegroupCommand";
11
11
  import { DeregisterClusterCommand, } from "./commands/DeregisterClusterCommand";
12
12
  import { DescribeAddonCommand, } from "./commands/DescribeAddonCommand";
13
+ import { DescribeAddonConfigurationCommand, } from "./commands/DescribeAddonConfigurationCommand";
13
14
  import { DescribeAddonVersionsCommand, } from "./commands/DescribeAddonVersionsCommand";
14
15
  import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
15
16
  import { DescribeFargateProfileCommand, } from "./commands/DescribeFargateProfileCommand";
@@ -202,6 +203,20 @@ export class EKS extends EKSClient {
202
203
  return this.send(command, optionsOrCb);
203
204
  }
204
205
  }
206
+ describeAddonConfiguration(args, optionsOrCb, cb) {
207
+ const command = new DescribeAddonConfigurationCommand(args);
208
+ if (typeof optionsOrCb === "function") {
209
+ this.send(command, optionsOrCb);
210
+ }
211
+ else if (typeof cb === "function") {
212
+ if (typeof optionsOrCb !== "object")
213
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
214
+ this.send(command, optionsOrCb || {}, cb);
215
+ }
216
+ else {
217
+ return this.send(command, optionsOrCb);
218
+ }
219
+ }
205
220
  describeAddonVersions(args, optionsOrCb, cb) {
206
221
  const command = new DescribeAddonVersionsCommand(args);
207
222
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeAddonConfigurationRequestFilterSensitiveLog, DescribeAddonConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeAddonConfigurationCommand, serializeAws_restJson1DescribeAddonConfigurationCommand, } from "../protocols/Aws_restJson1";
6
+ export class DescribeAddonConfigurationCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAddonConfigurationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "EKSClient";
25
+ const commandName = "DescribeAddonConfigurationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: DescribeAddonConfigurationRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: DescribeAddonConfigurationResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1DescribeAddonConfigurationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1DescribeAddonConfigurationCommand(output, context);
41
+ }
42
+ }
@@ -10,6 +10,7 @@ export * from "./DeleteFargateProfileCommand";
10
10
  export * from "./DeleteNodegroupCommand";
11
11
  export * from "./DeregisterClusterCommand";
12
12
  export * from "./DescribeAddonCommand";
13
+ export * from "./DescribeAddonConfigurationCommand";
13
14
  export * from "./DescribeAddonVersionsCommand";
14
15
  export * from "./DescribeClusterCommand";
15
16
  export * from "./DescribeFargateProfileCommand";
@@ -53,15 +53,6 @@ export const ruleSet = {
53
53
  },
54
54
  ],
55
55
  },
56
- {
57
- fn: "parseURL",
58
- argv: [
59
- {
60
- ref: "Endpoint",
61
- },
62
- ],
63
- assign: "url",
64
- },
65
56
  ],
66
57
  type: "tree",
67
58
  rules: [
@@ -581,6 +581,12 @@ export const DescribeAddonRequestFilterSensitiveLog = (obj) => ({
581
581
  export const DescribeAddonResponseFilterSensitiveLog = (obj) => ({
582
582
  ...obj,
583
583
  });
584
+ export const DescribeAddonConfigurationRequestFilterSensitiveLog = (obj) => ({
585
+ ...obj,
586
+ });
587
+ export const DescribeAddonConfigurationResponseFilterSensitiveLog = (obj) => ({
588
+ ...obj,
589
+ });
584
590
  export const DescribeAddonVersionsRequestFilterSensitiveLog = (obj) => ({
585
591
  ...obj,
586
592
  });
@@ -64,6 +64,7 @@ export const serializeAws_restJson1CreateAddonCommand = async (input, context) =
64
64
  ...(input.addonName != null && { addonName: input.addonName }),
65
65
  ...(input.addonVersion != null && { addonVersion: input.addonVersion }),
66
66
  clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
67
+ ...(input.configurationValues != null && { configurationValues: input.configurationValues }),
67
68
  ...(input.resolveConflicts != null && { resolveConflicts: input.resolveConflicts }),
68
69
  ...(input.serviceAccountRoleArn != null && { serviceAccountRoleArn: input.serviceAccountRoleArn }),
69
70
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
@@ -298,6 +299,26 @@ export const serializeAws_restJson1DescribeAddonCommand = async (input, context)
298
299
  body,
299
300
  });
300
301
  };
302
+ export const serializeAws_restJson1DescribeAddonConfigurationCommand = async (input, context) => {
303
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
304
+ const headers = {};
305
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/addons/configuration-schemas";
306
+ const query = map({
307
+ addonName: [, __expectNonNull(input.addonName, `addonName`)],
308
+ addonVersion: [, __expectNonNull(input.addonVersion, `addonVersion`)],
309
+ });
310
+ let body;
311
+ return new __HttpRequest({
312
+ protocol,
313
+ hostname,
314
+ port,
315
+ method: "GET",
316
+ headers,
317
+ path: resolvedPath,
318
+ query,
319
+ body,
320
+ });
321
+ };
301
322
  export const serializeAws_restJson1DescribeAddonVersionsCommand = async (input, context) => {
302
323
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
303
324
  const headers = {};
@@ -673,6 +694,7 @@ export const serializeAws_restJson1UpdateAddonCommand = async (input, context) =
673
694
  body = JSON.stringify({
674
695
  ...(input.addonVersion != null && { addonVersion: input.addonVersion }),
675
696
  clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
697
+ ...(input.configurationValues != null && { configurationValues: input.configurationValues }),
676
698
  ...(input.resolveConflicts != null && { resolveConflicts: input.resolveConflicts }),
677
699
  ...(input.serviceAccountRoleArn != null && { serviceAccountRoleArn: input.serviceAccountRoleArn }),
678
700
  });
@@ -1363,6 +1385,51 @@ const deserializeAws_restJson1DescribeAddonCommandError = async (output, context
1363
1385
  });
1364
1386
  }
1365
1387
  };
1388
+ export const deserializeAws_restJson1DescribeAddonConfigurationCommand = async (output, context) => {
1389
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1390
+ return deserializeAws_restJson1DescribeAddonConfigurationCommandError(output, context);
1391
+ }
1392
+ const contents = map({
1393
+ $metadata: deserializeMetadata(output),
1394
+ });
1395
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1396
+ if (data.addonName != null) {
1397
+ contents.addonName = __expectString(data.addonName);
1398
+ }
1399
+ if (data.addonVersion != null) {
1400
+ contents.addonVersion = __expectString(data.addonVersion);
1401
+ }
1402
+ if (data.configurationSchema != null) {
1403
+ contents.configurationSchema = __expectString(data.configurationSchema);
1404
+ }
1405
+ return contents;
1406
+ };
1407
+ const deserializeAws_restJson1DescribeAddonConfigurationCommandError = async (output, context) => {
1408
+ const parsedOutput = {
1409
+ ...output,
1410
+ body: await parseErrorBody(output.body, context),
1411
+ };
1412
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1413
+ switch (errorCode) {
1414
+ case "InvalidParameterException":
1415
+ case "com.amazonaws.eks#InvalidParameterException":
1416
+ throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
1417
+ case "ResourceNotFoundException":
1418
+ case "com.amazonaws.eks#ResourceNotFoundException":
1419
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1420
+ case "ServerException":
1421
+ case "com.amazonaws.eks#ServerException":
1422
+ throw await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context);
1423
+ default:
1424
+ const parsedBody = parsedOutput.body;
1425
+ throwDefaultError({
1426
+ output,
1427
+ parsedBody,
1428
+ exceptionCtor: __BaseException,
1429
+ errorCode,
1430
+ });
1431
+ }
1432
+ };
1366
1433
  export const deserializeAws_restJson1DescribeAddonVersionsCommand = async (output, context) => {
1367
1434
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1368
1435
  return deserializeAws_restJson1DescribeAddonVersionsCommandError(output, context);
@@ -2809,6 +2876,7 @@ const deserializeAws_restJson1Addon = (output, context) => {
2809
2876
  addonName: __expectString(output.addonName),
2810
2877
  addonVersion: __expectString(output.addonVersion),
2811
2878
  clusterName: __expectString(output.clusterName),
2879
+ configurationValues: __expectString(output.configurationValues),
2812
2880
  createdAt: output.createdAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt))) : undefined,
2813
2881
  health: output.health != null ? deserializeAws_restJson1AddonHealth(output.health, context) : undefined,
2814
2882
  marketplaceInformation: output.marketplaceInformation != null
@@ -11,6 +11,7 @@ import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } f
11
11
  import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
12
12
  import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
13
13
  import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
14
+ import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
14
15
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
15
16
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
16
17
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
@@ -208,6 +209,12 @@ export declare class EKS extends EKSClient {
208
209
  describeAddon(args: DescribeAddonCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAddonCommandOutput>;
209
210
  describeAddon(args: DescribeAddonCommandInput, cb: (err: any, data?: DescribeAddonCommandOutput) => void): void;
210
211
  describeAddon(args: DescribeAddonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAddonCommandOutput) => void): void;
212
+ /**
213
+ * <p>Returns configuration options.</p>
214
+ */
215
+ describeAddonConfiguration(args: DescribeAddonConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAddonConfigurationCommandOutput>;
216
+ describeAddonConfiguration(args: DescribeAddonConfigurationCommandInput, cb: (err: any, data?: DescribeAddonConfigurationCommandOutput) => void): void;
217
+ describeAddonConfiguration(args: DescribeAddonConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAddonConfigurationCommandOutput) => void): void;
211
218
  /**
212
219
  * <p>Describes the versions for an add-on. Information such as the Kubernetes versions that you
213
220
  * can use the add-on with, the <code>owner</code>, <code>publisher</code>, and the
@@ -19,6 +19,7 @@ import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } f
19
19
  import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
20
20
  import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
21
21
  import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
22
+ import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
22
23
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
23
24
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
24
25
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
@@ -42,8 +43,8 @@ import { UpdateClusterVersionCommandInput, UpdateClusterVersionCommandOutput } f
42
43
  import { UpdateNodegroupConfigCommandInput, UpdateNodegroupConfigCommandOutput } from "./commands/UpdateNodegroupConfigCommand";
43
44
  import { UpdateNodegroupVersionCommandInput, UpdateNodegroupVersionCommandOutput } from "./commands/UpdateNodegroupVersionCommand";
44
45
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
45
- export declare type ServiceInputTypes = AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeregisterClusterCommandInput | DescribeAddonCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribeUpdateCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAddonsCommandInput | ListClustersCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput;
46
- export declare type ServiceOutputTypes = AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeregisterClusterCommandOutput | DescribeAddonCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribeUpdateCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAddonsCommandOutput | ListClustersCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput;
46
+ export declare type ServiceInputTypes = AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeregisterClusterCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribeUpdateCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAddonsCommandInput | ListClustersCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput;
47
+ export declare type ServiceOutputTypes = AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeregisterClusterCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribeUpdateCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAddonsCommandOutput | ListClustersCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput;
47
48
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
48
49
  /**
49
50
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
5
+ import { DescribeAddonConfigurationRequest, DescribeAddonConfigurationResponse } from "../models/models_0";
6
+ export interface DescribeAddonConfigurationCommandInput extends DescribeAddonConfigurationRequest {
7
+ }
8
+ export interface DescribeAddonConfigurationCommandOutput extends DescribeAddonConfigurationResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Returns configuration options.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { EKSClient, DescribeAddonConfigurationCommand } from "@aws-sdk/client-eks"; // ES Modules import
16
+ * // const { EKSClient, DescribeAddonConfigurationCommand } = require("@aws-sdk/client-eks"); // CommonJS import
17
+ * const client = new EKSClient(config);
18
+ * const command = new DescribeAddonConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DescribeAddonConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link DescribeAddonConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DescribeAddonConfigurationCommand extends $Command<DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput, EKSClientResolvedConfig> {
28
+ readonly input: DescribeAddonConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeAddonConfigurationCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -10,6 +10,7 @@ export * from "./DeleteFargateProfileCommand";
10
10
  export * from "./DeleteNodegroupCommand";
11
11
  export * from "./DeregisterClusterCommand";
12
12
  export * from "./DescribeAddonCommand";
13
+ export * from "./DescribeAddonConfigurationCommand";
13
14
  export * from "./DescribeAddonVersionsCommand";
14
15
  export * from "./DescribeClusterCommand";
15
16
  export * from "./DescribeFargateProfileCommand";
@@ -133,6 +133,10 @@ export interface Addon {
133
133
  * <p>Information about an Amazon EKS add-on from the Amazon Web Services Marketplace.</p>
134
134
  */
135
135
  marketplaceInformation?: MarketplaceInformation;
136
+ /**
137
+ * <p>The provided configuration values.</p>
138
+ */
139
+ configurationValues?: string;
136
140
  }
137
141
  /**
138
142
  * <p>Compatibility information.</p>
@@ -725,6 +729,13 @@ export interface CreateAddonRequest {
725
729
  * Each tag consists of a key and an optional value. You define both.</p>
726
730
  */
727
731
  tags?: Record<string, string>;
732
+ /**
733
+ * <p> The set of configuration values for the add-on being created. Whatever values
734
+ * provided here are validated against the schema from <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html">
735
+ * <code>DescribeAddonConfiguration</code>
736
+ * </a>.</p>
737
+ */
738
+ configurationValues?: string;
728
739
  }
729
740
  export interface CreateAddonResponse {
730
741
  /**
@@ -1548,12 +1559,12 @@ export interface LaunchTemplateSpecification {
1548
1559
  */
1549
1560
  export interface RemoteAccessConfig {
1550
1561
  /**
1551
- * <p>The Amazon EC2 SSH key that provides access for SSH communication with the
1562
+ * <p>The Amazon EC2 SSH key name that provides access for SSH communication with the
1552
1563
  * nodes in the managed node group. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Linux instances</a> in the <i>Amazon Elastic Compute Cloud User Guide for Linux Instances</i>.</p>
1553
1564
  */
1554
1565
  ec2SshKey?: string;
1555
1566
  /**
1556
- * <p>The security groups that are allowed SSH access (port 22) to the nodes. If you specify
1567
+ * <p>The security group ids that are allowed SSH access (port 22) to the nodes. If you specify
1557
1568
  * an Amazon EC2 SSH key but do not specify a source security group when you create
1558
1569
  * a managed node group, then port 22 on the nodes is opened to the internet (0.0.0.0/0).
1559
1570
  * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html">Security Groups for Your VPC</a> in the
@@ -2171,6 +2182,36 @@ export interface DescribeAddonResponse {
2171
2182
  */
2172
2183
  addon?: Addon;
2173
2184
  }
2185
+ export interface DescribeAddonConfigurationRequest {
2186
+ /**
2187
+ * <p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
2188
+ * <code>DescribeAddonVersions</code>
2189
+ * </a>.</p>
2190
+ */
2191
+ addonName: string | undefined;
2192
+ /**
2193
+ * <p>The version of the add-on. The version must match one of the versions returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
2194
+ * <code>DescribeAddonVersions</code>
2195
+ * </a>.</p>
2196
+ */
2197
+ addonVersion: string | undefined;
2198
+ }
2199
+ export interface DescribeAddonConfigurationResponse {
2200
+ /**
2201
+ * <p>The name of the add-on.</p>
2202
+ */
2203
+ addonName?: string;
2204
+ /**
2205
+ * <p>The version of the add-on. The version must match one of the versions returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html">
2206
+ * <code>DescribeAddonVersions</code>
2207
+ * </a>.</p>
2208
+ */
2209
+ addonVersion?: string;
2210
+ /**
2211
+ * <p>A JSON schema used to validate provided configuration values when creating or updating an addon.</p>
2212
+ */
2213
+ configurationSchema?: string;
2214
+ }
2174
2215
  export interface DescribeAddonVersionsRequest {
2175
2216
  /**
2176
2217
  * <p>The Kubernetes versions that you can use the add-on with.</p>
@@ -2875,6 +2916,11 @@ export interface UpdateAddonRequest {
2875
2916
  * request.</p>
2876
2917
  */
2877
2918
  clientRequestToken?: string;
2919
+ /**
2920
+ * <p>The set of configuration values for the add-on being created. Whatever values provided here are validated against the schema from <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html">DescribeAddonConfiguration</a>
2921
+ * </p>
2922
+ */
2923
+ configurationValues?: string;
2878
2924
  }
2879
2925
  export interface UpdateAddonResponse {
2880
2926
  /**
@@ -3324,6 +3370,14 @@ export declare const DescribeAddonRequestFilterSensitiveLog: (obj: DescribeAddon
3324
3370
  * @internal
3325
3371
  */
3326
3372
  export declare const DescribeAddonResponseFilterSensitiveLog: (obj: DescribeAddonResponse) => any;
3373
+ /**
3374
+ * @internal
3375
+ */
3376
+ export declare const DescribeAddonConfigurationRequestFilterSensitiveLog: (obj: DescribeAddonConfigurationRequest) => any;
3377
+ /**
3378
+ * @internal
3379
+ */
3380
+ export declare const DescribeAddonConfigurationResponseFilterSensitiveLog: (obj: DescribeAddonConfigurationResponse) => any;
3327
3381
  /**
3328
3382
  * @internal
3329
3383
  */
@@ -12,6 +12,7 @@ import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } f
12
12
  import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "../commands/DeleteNodegroupCommand";
13
13
  import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "../commands/DeregisterClusterCommand";
14
14
  import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "../commands/DescribeAddonCommand";
15
+ import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "../commands/DescribeAddonConfigurationCommand";
15
16
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "../commands/DescribeAddonVersionsCommand";
16
17
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
17
18
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
@@ -46,6 +47,7 @@ export declare const serializeAws_restJson1DeleteFargateProfileCommand: (input:
46
47
  export declare const serializeAws_restJson1DeleteNodegroupCommand: (input: DeleteNodegroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
48
  export declare const serializeAws_restJson1DeregisterClusterCommand: (input: DeregisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
49
  export declare const serializeAws_restJson1DescribeAddonCommand: (input: DescribeAddonCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ export declare const serializeAws_restJson1DescribeAddonConfigurationCommand: (input: DescribeAddonConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
51
  export declare const serializeAws_restJson1DescribeAddonVersionsCommand: (input: DescribeAddonVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
52
  export declare const serializeAws_restJson1DescribeClusterCommand: (input: DescribeClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
53
  export declare const serializeAws_restJson1DescribeFargateProfileCommand: (input: DescribeFargateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -80,6 +82,7 @@ export declare const deserializeAws_restJson1DeleteFargateProfileCommand: (outpu
80
82
  export declare const deserializeAws_restJson1DeleteNodegroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteNodegroupCommandOutput>;
81
83
  export declare const deserializeAws_restJson1DeregisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterClusterCommandOutput>;
82
84
  export declare const deserializeAws_restJson1DescribeAddonCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonCommandOutput>;
85
+ export declare const deserializeAws_restJson1DescribeAddonConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonConfigurationCommandOutput>;
83
86
  export declare const deserializeAws_restJson1DescribeAddonVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonVersionsCommandOutput>;
84
87
  export declare const deserializeAws_restJson1DescribeClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeClusterCommandOutput>;
85
88
  export declare const deserializeAws_restJson1DescribeFargateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeFargateProfileCommandOutput>;
@@ -47,6 +47,10 @@ import {
47
47
  DescribeAddonCommandInput,
48
48
  DescribeAddonCommandOutput,
49
49
  } from "./commands/DescribeAddonCommand";
50
+ import {
51
+ DescribeAddonConfigurationCommandInput,
52
+ DescribeAddonConfigurationCommandOutput,
53
+ } from "./commands/DescribeAddonConfigurationCommand";
50
54
  import {
51
55
  DescribeAddonVersionsCommandInput,
52
56
  DescribeAddonVersionsCommandOutput,
@@ -293,6 +297,19 @@ export declare class EKS extends EKSClient {
293
297
  options: __HttpHandlerOptions,
294
298
  cb: (err: any, data?: DescribeAddonCommandOutput) => void
295
299
  ): void;
300
+ describeAddonConfiguration(
301
+ args: DescribeAddonConfigurationCommandInput,
302
+ options?: __HttpHandlerOptions
303
+ ): Promise<DescribeAddonConfigurationCommandOutput>;
304
+ describeAddonConfiguration(
305
+ args: DescribeAddonConfigurationCommandInput,
306
+ cb: (err: any, data?: DescribeAddonConfigurationCommandOutput) => void
307
+ ): void;
308
+ describeAddonConfiguration(
309
+ args: DescribeAddonConfigurationCommandInput,
310
+ options: __HttpHandlerOptions,
311
+ cb: (err: any, data?: DescribeAddonConfigurationCommandOutput) => void
312
+ ): void;
296
313
  describeAddonVersions(
297
314
  args: DescribeAddonVersionsCommandInput,
298
315
  options?: __HttpHandlerOptions
@@ -91,6 +91,10 @@ import {
91
91
  DescribeAddonCommandInput,
92
92
  DescribeAddonCommandOutput,
93
93
  } from "./commands/DescribeAddonCommand";
94
+ import {
95
+ DescribeAddonConfigurationCommandInput,
96
+ DescribeAddonConfigurationCommandOutput,
97
+ } from "./commands/DescribeAddonConfigurationCommand";
94
98
  import {
95
99
  DescribeAddonVersionsCommandInput,
96
100
  DescribeAddonVersionsCommandOutput,
@@ -197,6 +201,7 @@ export declare type ServiceInputTypes =
197
201
  | DeleteNodegroupCommandInput
198
202
  | DeregisterClusterCommandInput
199
203
  | DescribeAddonCommandInput
204
+ | DescribeAddonConfigurationCommandInput
200
205
  | DescribeAddonVersionsCommandInput
201
206
  | DescribeClusterCommandInput
202
207
  | DescribeFargateProfileCommandInput
@@ -232,6 +237,7 @@ export declare type ServiceOutputTypes =
232
237
  | DeleteNodegroupCommandOutput
233
238
  | DeregisterClusterCommandOutput
234
239
  | DescribeAddonCommandOutput
240
+ | DescribeAddonConfigurationCommandOutput
235
241
  | DescribeAddonVersionsCommandOutput
236
242
  | DescribeClusterCommandOutput
237
243
  | DescribeFargateProfileCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ EKSClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../EKSClient";
14
+ import {
15
+ DescribeAddonConfigurationRequest,
16
+ DescribeAddonConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeAddonConfigurationCommandInput
19
+ extends DescribeAddonConfigurationRequest {}
20
+ export interface DescribeAddonConfigurationCommandOutput
21
+ extends DescribeAddonConfigurationResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeAddonConfigurationCommand extends $Command<
24
+ DescribeAddonConfigurationCommandInput,
25
+ DescribeAddonConfigurationCommandOutput,
26
+ EKSClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeAddonConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeAddonConfigurationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: EKSClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeAddonConfigurationCommandInput,
37
+ DescribeAddonConfigurationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -10,6 +10,7 @@ export * from "./DeleteFargateProfileCommand";
10
10
  export * from "./DeleteNodegroupCommand";
11
11
  export * from "./DeregisterClusterCommand";
12
12
  export * from "./DescribeAddonCommand";
13
+ export * from "./DescribeAddonConfigurationCommand";
13
14
  export * from "./DescribeAddonVersionsCommand";
14
15
  export * from "./DescribeClusterCommand";
15
16
  export * from "./DescribeFargateProfileCommand";
@@ -53,6 +53,7 @@ export interface Addon {
53
53
  publisher?: string;
54
54
  owner?: string;
55
55
  marketplaceInformation?: MarketplaceInformation;
56
+ configurationValues?: string;
56
57
  }
57
58
  export interface Compatibility {
58
59
  clusterVersion?: string;
@@ -269,6 +270,7 @@ export interface CreateAddonRequest {
269
270
  resolveConflicts?: ResolveConflicts | string;
270
271
  clientRequestToken?: string;
271
272
  tags?: Record<string, string>;
273
+ configurationValues?: string;
272
274
  }
273
275
  export interface CreateAddonResponse {
274
276
  addon?: Addon;
@@ -635,6 +637,15 @@ export interface DescribeAddonRequest {
635
637
  export interface DescribeAddonResponse {
636
638
  addon?: Addon;
637
639
  }
640
+ export interface DescribeAddonConfigurationRequest {
641
+ addonName: string | undefined;
642
+ addonVersion: string | undefined;
643
+ }
644
+ export interface DescribeAddonConfigurationResponse {
645
+ addonName?: string;
646
+ addonVersion?: string;
647
+ configurationSchema?: string;
648
+ }
638
649
  export interface DescribeAddonVersionsRequest {
639
650
  kubernetesVersion?: string;
640
651
  maxResults?: number;
@@ -843,6 +854,7 @@ export interface UpdateAddonRequest {
843
854
  serviceAccountRoleArn?: string;
844
855
  resolveConflicts?: ResolveConflicts | string;
845
856
  clientRequestToken?: string;
857
+ configurationValues?: string;
846
858
  }
847
859
  export interface UpdateAddonResponse {
848
860
  update?: Update;
@@ -1058,6 +1070,12 @@ export declare const DescribeAddonRequestFilterSensitiveLog: (
1058
1070
  export declare const DescribeAddonResponseFilterSensitiveLog: (
1059
1071
  obj: DescribeAddonResponse
1060
1072
  ) => any;
1073
+ export declare const DescribeAddonConfigurationRequestFilterSensitiveLog: (
1074
+ obj: DescribeAddonConfigurationRequest
1075
+ ) => any;
1076
+ export declare const DescribeAddonConfigurationResponseFilterSensitiveLog: (
1077
+ obj: DescribeAddonConfigurationResponse
1078
+ ) => any;
1061
1079
  export declare const DescribeAddonVersionsRequestFilterSensitiveLog: (
1062
1080
  obj: DescribeAddonVersionsRequest
1063
1081
  ) => any;
@@ -51,6 +51,10 @@ import {
51
51
  DescribeAddonCommandInput,
52
52
  DescribeAddonCommandOutput,
53
53
  } from "../commands/DescribeAddonCommand";
54
+ import {
55
+ DescribeAddonConfigurationCommandInput,
56
+ DescribeAddonConfigurationCommandOutput,
57
+ } from "../commands/DescribeAddonConfigurationCommand";
54
58
  import {
55
59
  DescribeAddonVersionsCommandInput,
56
60
  DescribeAddonVersionsCommandOutput,
@@ -187,6 +191,10 @@ export declare const serializeAws_restJson1DescribeAddonCommand: (
187
191
  input: DescribeAddonCommandInput,
188
192
  context: __SerdeContext
189
193
  ) => Promise<__HttpRequest>;
194
+ export declare const serializeAws_restJson1DescribeAddonConfigurationCommand: (
195
+ input: DescribeAddonConfigurationCommandInput,
196
+ context: __SerdeContext
197
+ ) => Promise<__HttpRequest>;
190
198
  export declare const serializeAws_restJson1DescribeAddonVersionsCommand: (
191
199
  input: DescribeAddonVersionsCommandInput,
192
200
  context: __SerdeContext
@@ -323,6 +331,10 @@ export declare const deserializeAws_restJson1DescribeAddonCommand: (
323
331
  output: __HttpResponse,
324
332
  context: __SerdeContext
325
333
  ) => Promise<DescribeAddonCommandOutput>;
334
+ export declare const deserializeAws_restJson1DescribeAddonConfigurationCommand: (
335
+ output: __HttpResponse,
336
+ context: __SerdeContext
337
+ ) => Promise<DescribeAddonConfigurationCommandOutput>;
326
338
  export declare const deserializeAws_restJson1DescribeAddonVersionsCommand: (
327
339
  output: __HttpResponse,
328
340
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.223.0",
4
+ "version": "3.226.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,39 +19,39 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.223.0",
23
- "@aws-sdk/config-resolver": "3.222.0",
24
- "@aws-sdk/credential-provider-node": "3.223.0",
25
- "@aws-sdk/fetch-http-handler": "3.222.0",
26
- "@aws-sdk/hash-node": "3.222.0",
27
- "@aws-sdk/invalid-dependency": "3.222.0",
28
- "@aws-sdk/middleware-content-length": "3.222.0",
29
- "@aws-sdk/middleware-endpoint": "3.222.0",
30
- "@aws-sdk/middleware-host-header": "3.222.0",
31
- "@aws-sdk/middleware-logger": "3.222.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.222.0",
33
- "@aws-sdk/middleware-retry": "3.222.0",
34
- "@aws-sdk/middleware-serde": "3.222.0",
35
- "@aws-sdk/middleware-signing": "3.222.0",
36
- "@aws-sdk/middleware-stack": "3.222.0",
37
- "@aws-sdk/middleware-user-agent": "3.222.0",
38
- "@aws-sdk/node-config-provider": "3.222.0",
39
- "@aws-sdk/node-http-handler": "3.222.0",
40
- "@aws-sdk/protocol-http": "3.222.0",
41
- "@aws-sdk/smithy-client": "3.222.0",
42
- "@aws-sdk/types": "3.222.0",
43
- "@aws-sdk/url-parser": "3.222.0",
22
+ "@aws-sdk/client-sts": "3.226.0",
23
+ "@aws-sdk/config-resolver": "3.226.0",
24
+ "@aws-sdk/credential-provider-node": "3.226.0",
25
+ "@aws-sdk/fetch-http-handler": "3.226.0",
26
+ "@aws-sdk/hash-node": "3.226.0",
27
+ "@aws-sdk/invalid-dependency": "3.226.0",
28
+ "@aws-sdk/middleware-content-length": "3.226.0",
29
+ "@aws-sdk/middleware-endpoint": "3.226.0",
30
+ "@aws-sdk/middleware-host-header": "3.226.0",
31
+ "@aws-sdk/middleware-logger": "3.226.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.226.0",
33
+ "@aws-sdk/middleware-retry": "3.226.0",
34
+ "@aws-sdk/middleware-serde": "3.226.0",
35
+ "@aws-sdk/middleware-signing": "3.226.0",
36
+ "@aws-sdk/middleware-stack": "3.226.0",
37
+ "@aws-sdk/middleware-user-agent": "3.226.0",
38
+ "@aws-sdk/node-config-provider": "3.226.0",
39
+ "@aws-sdk/node-http-handler": "3.226.0",
40
+ "@aws-sdk/protocol-http": "3.226.0",
41
+ "@aws-sdk/smithy-client": "3.226.0",
42
+ "@aws-sdk/types": "3.226.0",
43
+ "@aws-sdk/url-parser": "3.226.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.222.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.222.0",
49
- "@aws-sdk/util-endpoints": "3.222.0",
50
- "@aws-sdk/util-user-agent-browser": "3.222.0",
51
- "@aws-sdk/util-user-agent-node": "3.222.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.226.0",
49
+ "@aws-sdk/util-endpoints": "3.226.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.226.0",
51
+ "@aws-sdk/util-user-agent-node": "3.226.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
- "@aws-sdk/util-waiter": "3.222.0",
54
+ "@aws-sdk/util-waiter": "3.226.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"
57
57
  },