@aws-sdk/client-eks 3.893.0 → 3.894.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/index.js CHANGED
@@ -104,6 +104,7 @@ __export(index_exports, {
104
104
  NodegroupUpdateStrategies: () => NodegroupUpdateStrategies,
105
105
  NotFoundException: () => NotFoundException,
106
106
  RegisterClusterCommand: () => RegisterClusterCommand,
107
+ RepairAction: () => RepairAction,
107
108
  ResolveConflicts: () => ResolveConflicts,
108
109
  ResourceInUseException: () => ResourceInUseException,
109
110
  ResourceLimitExceededException: () => ResourceLimitExceededException,
@@ -627,6 +628,7 @@ var UpdateParamType = {
627
628
  MAX_UNAVAILABLE: "MaxUnavailable",
628
629
  MAX_UNAVAILABLE_PERCENTAGE: "MaxUnavailablePercentage",
629
630
  MIN_SIZE: "MinSize",
631
+ NODE_REPAIR_CONFIG: "NodeRepairConfig",
630
632
  NODE_REPAIR_ENABLED: "NodeRepairEnabled",
631
633
  PLATFORM_VERSION: "PlatformVersion",
632
634
  POD_IDENTITY_ASSOCIATIONS: "PodIdentityAssociations",
@@ -934,6 +936,11 @@ var CapacityTypes = {
934
936
  ON_DEMAND: "ON_DEMAND",
935
937
  SPOT: "SPOT"
936
938
  };
939
+ var RepairAction = {
940
+ NoAction: "NoAction",
941
+ Reboot: "Reboot",
942
+ Replace: "Replace"
943
+ };
937
944
  var TaintEffect = {
938
945
  NO_EXECUTE: "NO_EXECUTE",
939
946
  NO_SCHEDULE: "NO_SCHEDULE",
@@ -4901,6 +4908,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4901
4908
  FargateProfileIssueCode,
4902
4909
  FargateProfileStatus,
4903
4910
  CapacityTypes,
4911
+ RepairAction,
4904
4912
  TaintEffect,
4905
4913
  NodegroupUpdateStrategies,
4906
4914
  NodegroupIssueCode,
@@ -187,6 +187,7 @@ export const UpdateParamType = {
187
187
  MAX_UNAVAILABLE: "MaxUnavailable",
188
188
  MAX_UNAVAILABLE_PERCENTAGE: "MaxUnavailablePercentage",
189
189
  MIN_SIZE: "MinSize",
190
+ NODE_REPAIR_CONFIG: "NodeRepairConfig",
190
191
  NODE_REPAIR_ENABLED: "NodeRepairEnabled",
191
192
  PLATFORM_VERSION: "PlatformVersion",
192
193
  POD_IDENTITY_ASSOCIATIONS: "PodIdentityAssociations",
@@ -401,6 +402,11 @@ export const CapacityTypes = {
401
402
  ON_DEMAND: "ON_DEMAND",
402
403
  SPOT: "SPOT",
403
404
  };
405
+ export const RepairAction = {
406
+ NoAction: "NoAction",
407
+ Reboot: "Reboot",
408
+ Replace: "Replace",
409
+ };
404
410
  export const TaintEffect = {
405
411
  NO_EXECUTE: "NO_EXECUTE",
406
412
  NO_SCHEDULE: "NO_SCHEDULE",
@@ -62,7 +62,7 @@ declare const AssociateEncryptionConfigCommand_base: {
62
62
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
63
63
  * // params: [ // UpdateParams
64
64
  * // { // UpdateParam
65
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
65
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
66
66
  * // value: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
@@ -71,7 +71,7 @@ declare const AssociateIdentityProviderConfigCommand_base: {
71
71
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
72
72
  * // params: [ // UpdateParams
73
73
  * // { // UpdateParam
74
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
74
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
75
75
  * // value: "STRING_VALUE",
76
76
  * // },
77
77
  * // ],
@@ -102,6 +102,18 @@ declare const CreateNodegroupCommand_base: {
102
102
  * },
103
103
  * nodeRepairConfig: { // NodeRepairConfig
104
104
  * enabled: true || false,
105
+ * maxUnhealthyNodeThresholdCount: Number("int"),
106
+ * maxUnhealthyNodeThresholdPercentage: Number("int"),
107
+ * maxParallelNodesRepairedCount: Number("int"),
108
+ * maxParallelNodesRepairedPercentage: Number("int"),
109
+ * nodeRepairConfigOverrides: [ // NodeRepairConfigOverridesList
110
+ * { // NodeRepairConfigOverrides
111
+ * nodeMonitoringCondition: "STRING_VALUE",
112
+ * nodeUnhealthyReason: "STRING_VALUE",
113
+ * minRepairWaitTimeMins: Number("int"),
114
+ * repairAction: "Replace" || "Reboot" || "NoAction",
115
+ * },
116
+ * ],
105
117
  * },
106
118
  * capacityType: "ON_DEMAND" || "SPOT" || "CAPACITY_BLOCK",
107
119
  * version: "STRING_VALUE",
@@ -174,6 +186,18 @@ declare const CreateNodegroupCommand_base: {
174
186
  * // },
175
187
  * // nodeRepairConfig: { // NodeRepairConfig
176
188
  * // enabled: true || false,
189
+ * // maxUnhealthyNodeThresholdCount: Number("int"),
190
+ * // maxUnhealthyNodeThresholdPercentage: Number("int"),
191
+ * // maxParallelNodesRepairedCount: Number("int"),
192
+ * // maxParallelNodesRepairedPercentage: Number("int"),
193
+ * // nodeRepairConfigOverrides: [ // NodeRepairConfigOverridesList
194
+ * // { // NodeRepairConfigOverrides
195
+ * // nodeMonitoringCondition: "STRING_VALUE",
196
+ * // nodeUnhealthyReason: "STRING_VALUE",
197
+ * // minRepairWaitTimeMins: Number("int"),
198
+ * // repairAction: "Replace" || "Reboot" || "NoAction",
199
+ * // },
200
+ * // ],
177
201
  * // },
178
202
  * // launchTemplate: { // LaunchTemplateSpecification
179
203
  * // name: "STRING_VALUE",
@@ -107,6 +107,18 @@ declare const DeleteNodegroupCommand_base: {
107
107
  * // },
108
108
  * // nodeRepairConfig: { // NodeRepairConfig
109
109
  * // enabled: true || false,
110
+ * // maxUnhealthyNodeThresholdCount: Number("int"),
111
+ * // maxUnhealthyNodeThresholdPercentage: Number("int"),
112
+ * // maxParallelNodesRepairedCount: Number("int"),
113
+ * // maxParallelNodesRepairedPercentage: Number("int"),
114
+ * // nodeRepairConfigOverrides: [ // NodeRepairConfigOverridesList
115
+ * // { // NodeRepairConfigOverrides
116
+ * // nodeMonitoringCondition: "STRING_VALUE",
117
+ * // nodeUnhealthyReason: "STRING_VALUE",
118
+ * // minRepairWaitTimeMins: Number("int"),
119
+ * // repairAction: "Replace" || "Reboot" || "NoAction",
120
+ * // },
121
+ * // ],
110
122
  * // },
111
123
  * // launchTemplate: { // LaunchTemplateSpecification
112
124
  * // name: "STRING_VALUE",
@@ -107,6 +107,18 @@ declare const DescribeNodegroupCommand_base: {
107
107
  * // },
108
108
  * // nodeRepairConfig: { // NodeRepairConfig
109
109
  * // enabled: true || false,
110
+ * // maxUnhealthyNodeThresholdCount: Number("int"),
111
+ * // maxUnhealthyNodeThresholdPercentage: Number("int"),
112
+ * // maxParallelNodesRepairedCount: Number("int"),
113
+ * // maxParallelNodesRepairedPercentage: Number("int"),
114
+ * // nodeRepairConfigOverrides: [ // NodeRepairConfigOverridesList
115
+ * // { // NodeRepairConfigOverrides
116
+ * // nodeMonitoringCondition: "STRING_VALUE",
117
+ * // nodeUnhealthyReason: "STRING_VALUE",
118
+ * // minRepairWaitTimeMins: Number("int"),
119
+ * // repairAction: "Replace" || "Reboot" || "NoAction",
120
+ * // },
121
+ * // ],
110
122
  * // },
111
123
  * // launchTemplate: { // LaunchTemplateSpecification
112
124
  * // name: "STRING_VALUE",
@@ -54,7 +54,7 @@ declare const DescribeUpdateCommand_base: {
54
54
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
55
55
  * // params: [ // UpdateParams
56
56
  * // { // UpdateParam
57
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
57
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
58
58
  * // value: "STRING_VALUE",
59
59
  * // },
60
60
  * // ],
@@ -56,7 +56,7 @@ declare const DisassociateIdentityProviderConfigCommand_base: {
56
56
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
57
57
  * // params: [ // UpdateParams
58
58
  * // { // UpdateParam
59
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
59
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
60
60
  * // value: "STRING_VALUE",
61
61
  * // },
62
62
  * // ],
@@ -60,7 +60,7 @@ declare const UpdateAddonCommand_base: {
60
60
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
61
61
  * // params: [ // UpdateParams
62
62
  * // { // UpdateParam
63
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
63
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
64
64
  * // value: "STRING_VALUE",
65
65
  * // },
66
66
  * // ],
@@ -167,7 +167,7 @@ declare const UpdateClusterConfigCommand_base: {
167
167
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
168
168
  * // params: [ // UpdateParams
169
169
  * // { // UpdateParam
170
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
170
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
171
171
  * // value: "STRING_VALUE",
172
172
  * // },
173
173
  * // ],
@@ -62,7 +62,7 @@ declare const UpdateClusterVersionCommand_base: {
62
62
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
63
63
  * // params: [ // UpdateParams
64
64
  * // { // UpdateParam
65
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
65
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
66
66
  * // value: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
@@ -80,6 +80,18 @@ declare const UpdateNodegroupConfigCommand_base: {
80
80
  * },
81
81
  * nodeRepairConfig: { // NodeRepairConfig
82
82
  * enabled: true || false,
83
+ * maxUnhealthyNodeThresholdCount: Number("int"),
84
+ * maxUnhealthyNodeThresholdPercentage: Number("int"),
85
+ * maxParallelNodesRepairedCount: Number("int"),
86
+ * maxParallelNodesRepairedPercentage: Number("int"),
87
+ * nodeRepairConfigOverrides: [ // NodeRepairConfigOverridesList
88
+ * { // NodeRepairConfigOverrides
89
+ * nodeMonitoringCondition: "STRING_VALUE",
90
+ * nodeUnhealthyReason: "STRING_VALUE",
91
+ * minRepairWaitTimeMins: Number("int"),
92
+ * repairAction: "Replace" || "Reboot" || "NoAction",
93
+ * },
94
+ * ],
83
95
  * },
84
96
  * clientRequestToken: "STRING_VALUE",
85
97
  * };
@@ -92,7 +104,7 @@ declare const UpdateNodegroupConfigCommand_base: {
92
104
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
93
105
  * // params: [ // UpdateParams
94
106
  * // { // UpdateParam
95
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
107
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
96
108
  * // value: "STRING_VALUE",
97
109
  * // },
98
110
  * // ],
@@ -79,7 +79,7 @@ declare const UpdateNodegroupVersionCommand_base: {
79
79
  * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate",
80
80
  * // params: [ // UpdateParams
81
81
  * // { // UpdateParam
82
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection",
82
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig",
83
83
  * // value: "STRING_VALUE",
84
84
  * // },
85
85
  * // ],
@@ -937,6 +937,7 @@ export declare const UpdateParamType: {
937
937
  readonly MAX_UNAVAILABLE: "MaxUnavailable";
938
938
  readonly MAX_UNAVAILABLE_PERCENTAGE: "MaxUnavailablePercentage";
939
939
  readonly MIN_SIZE: "MinSize";
940
+ readonly NODE_REPAIR_CONFIG: "NodeRepairConfig";
940
941
  readonly NODE_REPAIR_ENABLED: "NodeRepairEnabled";
941
942
  readonly PLATFORM_VERSION: "PlatformVersion";
942
943
  readonly POD_IDENTITY_ASSOCIATIONS: "PodIdentityAssociations";
@@ -3313,6 +3314,52 @@ export interface LaunchTemplateSpecification {
3313
3314
  */
3314
3315
  id?: string | undefined;
3315
3316
  }
3317
+ /**
3318
+ * @public
3319
+ * @enum
3320
+ */
3321
+ export declare const RepairAction: {
3322
+ readonly NoAction: "NoAction";
3323
+ readonly Reboot: "Reboot";
3324
+ readonly Replace: "Replace";
3325
+ };
3326
+ /**
3327
+ * @public
3328
+ */
3329
+ export type RepairAction = (typeof RepairAction)[keyof typeof RepairAction];
3330
+ /**
3331
+ * <p>Specify granular overrides for specific repair actions. These overrides control the
3332
+ * repair action and the repair delay time before a node is considered eligible for repair.
3333
+ * If you use this, you must specify all the values.</p>
3334
+ * @public
3335
+ */
3336
+ export interface NodeRepairConfigOverrides {
3337
+ /**
3338
+ * <p>Specify an unhealthy condition reported by the node monitoring agent that this
3339
+ * override would apply to.</p>
3340
+ * @public
3341
+ */
3342
+ nodeMonitoringCondition?: string | undefined;
3343
+ /**
3344
+ * <p>Specify a reason reported by the node monitoring agent that this
3345
+ * override would apply to.</p>
3346
+ * @public
3347
+ */
3348
+ nodeUnhealthyReason?: string | undefined;
3349
+ /**
3350
+ * <p>Specify the minimum time in minutes to wait before attempting to repair a node
3351
+ * with this specific <code>nodeMonitoringCondition</code> and
3352
+ * <code>nodeUnhealthyReason</code>.</p>
3353
+ * @public
3354
+ */
3355
+ minRepairWaitTimeMins?: number | undefined;
3356
+ /**
3357
+ * <p>Specify the repair action to take for nodes when all of the specified conditions are
3358
+ * met.</p>
3359
+ * @public
3360
+ */
3361
+ repairAction?: RepairAction | undefined;
3362
+ }
3316
3363
  /**
3317
3364
  * <p>The node auto repair configuration for the node group.</p>
3318
3365
  * @public
@@ -3324,6 +3371,43 @@ export interface NodeRepairConfig {
3324
3371
  * @public
3325
3372
  */
3326
3373
  enabled?: boolean | undefined;
3374
+ /**
3375
+ * <p>Specify a count threshold of unhealthy nodes, above which node auto
3376
+ * repair actions will stop. When using this, you cannot also set
3377
+ * <code>maxUnhealthyNodeThresholdPercentage</code> at the same time.</p>
3378
+ * @public
3379
+ */
3380
+ maxUnhealthyNodeThresholdCount?: number | undefined;
3381
+ /**
3382
+ * <p>Specify a percentage threshold of unhealthy nodes, above which node auto
3383
+ * repair actions will stop. When using this, you cannot also set
3384
+ * <code>maxUnhealthyNodeThresholdCount</code> at the same time.</p>
3385
+ * @public
3386
+ */
3387
+ maxUnhealthyNodeThresholdPercentage?: number | undefined;
3388
+ /**
3389
+ * <p>Specify the maximum number of nodes that can be repaired concurrently or in parallel,
3390
+ * expressed as a count of unhealthy nodes. This gives you finer-grained control over the
3391
+ * pace of node replacements. When using this, you cannot also set
3392
+ * <code>maxParallelNodesRepairedPercentage</code> at the same time.</p>
3393
+ * @public
3394
+ */
3395
+ maxParallelNodesRepairedCount?: number | undefined;
3396
+ /**
3397
+ * <p>Specify the maximum number of nodes that can be repaired concurrently or in parallel,
3398
+ * expressed as a percentage of unhealthy nodes. This gives you finer-grained control over the
3399
+ * pace of node replacements. When using this, you cannot also set
3400
+ * <code>maxParallelNodesRepairedCount</code> at the same time.</p>
3401
+ * @public
3402
+ */
3403
+ maxParallelNodesRepairedPercentage?: number | undefined;
3404
+ /**
3405
+ * <p>Specify granular overrides for specific repair actions. These overrides control the
3406
+ * repair action and the repair delay time before a node is considered eligible for repair.
3407
+ * If you use this, you must specify all the values.</p>
3408
+ * @public
3409
+ */
3410
+ nodeRepairConfigOverrides?: NodeRepairConfigOverrides[] | undefined;
3327
3411
  }
3328
3412
  /**
3329
3413
  * <p>An object representing the remote access configuration for the managed node
@@ -279,6 +279,7 @@ export declare const UpdateParamType: {
279
279
  readonly MAX_UNAVAILABLE: "MaxUnavailable";
280
280
  readonly MAX_UNAVAILABLE_PERCENTAGE: "MaxUnavailablePercentage";
281
281
  readonly MIN_SIZE: "MinSize";
282
+ readonly NODE_REPAIR_CONFIG: "NodeRepairConfig";
282
283
  readonly NODE_REPAIR_ENABLED: "NodeRepairEnabled";
283
284
  readonly PLATFORM_VERSION: "PlatformVersion";
284
285
  readonly POD_IDENTITY_ASSOCIATIONS: "PodIdentityAssociations";
@@ -790,8 +791,25 @@ export interface LaunchTemplateSpecification {
790
791
  version?: string | undefined;
791
792
  id?: string | undefined;
792
793
  }
794
+ export declare const RepairAction: {
795
+ readonly NoAction: "NoAction";
796
+ readonly Reboot: "Reboot";
797
+ readonly Replace: "Replace";
798
+ };
799
+ export type RepairAction = (typeof RepairAction)[keyof typeof RepairAction];
800
+ export interface NodeRepairConfigOverrides {
801
+ nodeMonitoringCondition?: string | undefined;
802
+ nodeUnhealthyReason?: string | undefined;
803
+ minRepairWaitTimeMins?: number | undefined;
804
+ repairAction?: RepairAction | undefined;
805
+ }
793
806
  export interface NodeRepairConfig {
794
807
  enabled?: boolean | undefined;
808
+ maxUnhealthyNodeThresholdCount?: number | undefined;
809
+ maxUnhealthyNodeThresholdPercentage?: number | undefined;
810
+ maxParallelNodesRepairedCount?: number | undefined;
811
+ maxParallelNodesRepairedPercentage?: number | undefined;
812
+ nodeRepairConfigOverrides?: NodeRepairConfigOverrides[] | undefined;
795
813
  }
796
814
  export interface RemoteAccessConfig {
797
815
  ec2SshKey?: string | undefined;
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.893.0",
4
+ "version": "3.894.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eks",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.893.0",
24
- "@aws-sdk/credential-provider-node": "3.893.0",
23
+ "@aws-sdk/core": "3.894.0",
24
+ "@aws-sdk/credential-provider-node": "3.894.0",
25
25
  "@aws-sdk/middleware-host-header": "3.893.0",
26
26
  "@aws-sdk/middleware-logger": "3.893.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.893.0",
28
+ "@aws-sdk/middleware-user-agent": "3.894.0",
29
29
  "@aws-sdk/region-config-resolver": "3.893.0",
30
30
  "@aws-sdk/types": "3.893.0",
31
31
  "@aws-sdk/util-endpoints": "3.893.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.893.0",
33
+ "@aws-sdk/util-user-agent-node": "3.894.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
35
  "@smithy/core": "^3.11.1",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",