@aws-sdk/client-eks 3.165.0 → 3.169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/models/models_0.js +28 -3
- package/dist-cjs/protocols/Aws_restJson1.js +43 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +41 -2
- package/dist-types/EKS.d.ts +19 -17
- package/dist-types/commands/CreateClusterCommand.d.ts +19 -17
- package/dist-types/models/models_0.d.ts +259 -55
- package/dist-types/ts3.4/models/models_0.d.ts +54 -2
- package/package.json +35 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-eks:** Adding support for local Amazon EKS clusters on Outposts ([0ec0300](https://github.com/aws/aws-sdk-js-v3/commit/0ec030003c10c57f23d277bd166fcfd2fe13ce9d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.166.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.165.0...v3.166.0) (2022-09-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-eks:** Adds support for EKS Addons ResolveConflicts "preserve" flag. Also adds new update failed status for EKS Addons. ([315a2c6](https://github.com/aws/aws-sdk-js-v3/commit/315a2c6c37c60006640d21abfcba9a261e13869b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-eks
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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 = void 0;
|
|
3
|
+
exports.CreateClusterRequestFilterSensitiveLog = exports.VpcConfigRequestFilterSensitiveLog = exports.OutpostConfigRequestFilterSensitiveLog = exports.LoggingFilterSensitiveLog = exports.LogSetupFilterSensitiveLog = exports.KubernetesNetworkConfigRequestFilterSensitiveLog = exports.CreateAddonResponseFilterSensitiveLog = exports.CreateAddonRequestFilterSensitiveLog = 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.AddonHealthFilterSensitiveLog = exports.AddonIssueFilterSensitiveLog = exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.ConfigStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ServerException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.AddonIssueCode = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.DescribeNodegroupRequestFilterSensitiveLog = exports.DescribeIdentityProviderConfigResponseFilterSensitiveLog = exports.IdentityProviderConfigResponseFilterSensitiveLog = exports.OidcIdentityProviderConfigFilterSensitiveLog = exports.DescribeIdentityProviderConfigRequestFilterSensitiveLog = exports.IdentityProviderConfigFilterSensitiveLog = exports.DescribeFargateProfileResponseFilterSensitiveLog = exports.DescribeFargateProfileRequestFilterSensitiveLog = exports.DescribeClusterResponseFilterSensitiveLog = exports.DescribeClusterRequestFilterSensitiveLog = 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.KubernetesNetworkConfigResponseFilterSensitiveLog = exports.IdentityFilterSensitiveLog = exports.OIDCFilterSensitiveLog = exports.ClusterHealthFilterSensitiveLog = exports.ClusterIssueFilterSensitiveLog = exports.ConnectorConfigResponseFilterSensitiveLog = exports.CertificateFilterSensitiveLog = 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 = void 0;
|
|
6
6
|
const EKSServiceException_1 = require("./EKSServiceException");
|
|
7
7
|
class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -203,6 +203,15 @@ var LogType;
|
|
|
203
203
|
LogType["CONTROLLER_MANAGER"] = "controllerManager";
|
|
204
204
|
LogType["SCHEDULER"] = "scheduler";
|
|
205
205
|
})(LogType = exports.LogType || (exports.LogType = {}));
|
|
206
|
+
var ClusterIssueCode;
|
|
207
|
+
(function (ClusterIssueCode) {
|
|
208
|
+
ClusterIssueCode["ACCESS_DENIED"] = "AccessDenied";
|
|
209
|
+
ClusterIssueCode["CLUSTER_UNREACHABLE"] = "ClusterUnreachable";
|
|
210
|
+
ClusterIssueCode["CONFIGURATION_CONFLICT"] = "ConfigurationConflict";
|
|
211
|
+
ClusterIssueCode["INTERNAL_FAILURE"] = "InternalFailure";
|
|
212
|
+
ClusterIssueCode["RESOURCE_LIMIT_EXCEEDED"] = "ResourceLimitExceeded";
|
|
213
|
+
ClusterIssueCode["RESOURCE_NOT_FOUND"] = "ResourceNotFound";
|
|
214
|
+
})(ClusterIssueCode = exports.ClusterIssueCode || (exports.ClusterIssueCode = {}));
|
|
206
215
|
class ResourceLimitExceededException extends EKSServiceException_1.EKSServiceException {
|
|
207
216
|
constructor(opts) {
|
|
208
217
|
super({
|
|
@@ -420,6 +429,10 @@ const LoggingFilterSensitiveLog = (obj) => ({
|
|
|
420
429
|
...obj,
|
|
421
430
|
});
|
|
422
431
|
exports.LoggingFilterSensitiveLog = LoggingFilterSensitiveLog;
|
|
432
|
+
const OutpostConfigRequestFilterSensitiveLog = (obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
});
|
|
435
|
+
exports.OutpostConfigRequestFilterSensitiveLog = OutpostConfigRequestFilterSensitiveLog;
|
|
423
436
|
const VpcConfigRequestFilterSensitiveLog = (obj) => ({
|
|
424
437
|
...obj,
|
|
425
438
|
});
|
|
@@ -436,6 +449,14 @@ const ConnectorConfigResponseFilterSensitiveLog = (obj) => ({
|
|
|
436
449
|
...obj,
|
|
437
450
|
});
|
|
438
451
|
exports.ConnectorConfigResponseFilterSensitiveLog = ConnectorConfigResponseFilterSensitiveLog;
|
|
452
|
+
const ClusterIssueFilterSensitiveLog = (obj) => ({
|
|
453
|
+
...obj,
|
|
454
|
+
});
|
|
455
|
+
exports.ClusterIssueFilterSensitiveLog = ClusterIssueFilterSensitiveLog;
|
|
456
|
+
const ClusterHealthFilterSensitiveLog = (obj) => ({
|
|
457
|
+
...obj,
|
|
458
|
+
});
|
|
459
|
+
exports.ClusterHealthFilterSensitiveLog = ClusterHealthFilterSensitiveLog;
|
|
439
460
|
const OIDCFilterSensitiveLog = (obj) => ({
|
|
440
461
|
...obj,
|
|
441
462
|
});
|
|
@@ -448,6 +469,10 @@ const KubernetesNetworkConfigResponseFilterSensitiveLog = (obj) => ({
|
|
|
448
469
|
...obj,
|
|
449
470
|
});
|
|
450
471
|
exports.KubernetesNetworkConfigResponseFilterSensitiveLog = KubernetesNetworkConfigResponseFilterSensitiveLog;
|
|
472
|
+
const OutpostConfigResponseFilterSensitiveLog = (obj) => ({
|
|
473
|
+
...obj,
|
|
474
|
+
});
|
|
475
|
+
exports.OutpostConfigResponseFilterSensitiveLog = OutpostConfigResponseFilterSensitiveLog;
|
|
451
476
|
const VpcConfigResponseFilterSensitiveLog = (obj) => ({
|
|
452
477
|
...obj,
|
|
453
478
|
});
|
|
@@ -106,6 +106,9 @@ const serializeAws_restJson1CreateClusterCommand = async (input, context) => {
|
|
|
106
106
|
}),
|
|
107
107
|
...(input.logging != null && { logging: serializeAws_restJson1Logging(input.logging, context) }),
|
|
108
108
|
...(input.name != null && { name: input.name }),
|
|
109
|
+
...(input.outpostConfig != null && {
|
|
110
|
+
outpostConfig: serializeAws_restJson1OutpostConfigRequest(input.outpostConfig, context),
|
|
111
|
+
}),
|
|
109
112
|
...(input.resourcesVpcConfig != null && {
|
|
110
113
|
resourcesVpcConfig: serializeAws_restJson1VpcConfigRequest(input.resourcesVpcConfig, context),
|
|
111
114
|
}),
|
|
@@ -2786,6 +2789,12 @@ const serializeAws_restJson1OidcIdentityProviderConfigRequest = (input, context)
|
|
|
2786
2789
|
...(input.usernamePrefix != null && { usernamePrefix: input.usernamePrefix }),
|
|
2787
2790
|
};
|
|
2788
2791
|
};
|
|
2792
|
+
const serializeAws_restJson1OutpostConfigRequest = (input, context) => {
|
|
2793
|
+
return {
|
|
2794
|
+
...(input.controlPlaneInstanceType != null && { controlPlaneInstanceType: input.controlPlaneInstanceType }),
|
|
2795
|
+
...(input.outpostArns != null && { outpostArns: serializeAws_restJson1StringList(input.outpostArns, context) }),
|
|
2796
|
+
};
|
|
2797
|
+
};
|
|
2789
2798
|
const serializeAws_restJson1Provider = (input, context) => {
|
|
2790
2799
|
return {
|
|
2791
2800
|
...(input.keyArn != null && { keyArn: input.keyArn }),
|
|
@@ -2986,12 +2995,17 @@ const deserializeAws_restJson1Cluster = (output, context) => {
|
|
|
2986
2995
|
? deserializeAws_restJson1EncryptionConfigList(output.encryptionConfig, context)
|
|
2987
2996
|
: undefined,
|
|
2988
2997
|
endpoint: (0, smithy_client_1.expectString)(output.endpoint),
|
|
2998
|
+
health: output.health != null ? deserializeAws_restJson1ClusterHealth(output.health, context) : undefined,
|
|
2999
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2989
3000
|
identity: output.identity != null ? deserializeAws_restJson1Identity(output.identity, context) : undefined,
|
|
2990
3001
|
kubernetesNetworkConfig: output.kubernetesNetworkConfig != null
|
|
2991
3002
|
? deserializeAws_restJson1KubernetesNetworkConfigResponse(output.kubernetesNetworkConfig, context)
|
|
2992
3003
|
: undefined,
|
|
2993
3004
|
logging: output.logging != null ? deserializeAws_restJson1Logging(output.logging, context) : undefined,
|
|
2994
3005
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
3006
|
+
outpostConfig: output.outpostConfig != null
|
|
3007
|
+
? deserializeAws_restJson1OutpostConfigResponse(output.outpostConfig, context)
|
|
3008
|
+
: undefined,
|
|
2995
3009
|
platformVersion: (0, smithy_client_1.expectString)(output.platformVersion),
|
|
2996
3010
|
resourcesVpcConfig: output.resourcesVpcConfig != null
|
|
2997
3011
|
? deserializeAws_restJson1VpcConfigResponse(output.resourcesVpcConfig, context)
|
|
@@ -3002,6 +3016,29 @@ const deserializeAws_restJson1Cluster = (output, context) => {
|
|
|
3002
3016
|
version: (0, smithy_client_1.expectString)(output.version),
|
|
3003
3017
|
};
|
|
3004
3018
|
};
|
|
3019
|
+
const deserializeAws_restJson1ClusterHealth = (output, context) => {
|
|
3020
|
+
return {
|
|
3021
|
+
issues: output.issues != null ? deserializeAws_restJson1ClusterIssueList(output.issues, context) : undefined,
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
const deserializeAws_restJson1ClusterIssue = (output, context) => {
|
|
3025
|
+
return {
|
|
3026
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
3027
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3028
|
+
resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
|
|
3029
|
+
};
|
|
3030
|
+
};
|
|
3031
|
+
const deserializeAws_restJson1ClusterIssueList = (output, context) => {
|
|
3032
|
+
const retVal = (output || [])
|
|
3033
|
+
.filter((e) => e != null)
|
|
3034
|
+
.map((entry) => {
|
|
3035
|
+
if (entry === null) {
|
|
3036
|
+
return null;
|
|
3037
|
+
}
|
|
3038
|
+
return deserializeAws_restJson1ClusterIssue(entry, context);
|
|
3039
|
+
});
|
|
3040
|
+
return retVal;
|
|
3041
|
+
};
|
|
3005
3042
|
const deserializeAws_restJson1Compatibilities = (output, context) => {
|
|
3006
3043
|
const retVal = (output || [])
|
|
3007
3044
|
.filter((e) => e != null)
|
|
@@ -3296,6 +3333,12 @@ const deserializeAws_restJson1OidcIdentityProviderConfig = (output, context) =>
|
|
|
3296
3333
|
usernamePrefix: (0, smithy_client_1.expectString)(output.usernamePrefix),
|
|
3297
3334
|
};
|
|
3298
3335
|
};
|
|
3336
|
+
const deserializeAws_restJson1OutpostConfigResponse = (output, context) => {
|
|
3337
|
+
return {
|
|
3338
|
+
controlPlaneInstanceType: (0, smithy_client_1.expectString)(output.controlPlaneInstanceType),
|
|
3339
|
+
outpostArns: output.outpostArns != null ? deserializeAws_restJson1StringList(output.outpostArns, context) : undefined,
|
|
3340
|
+
};
|
|
3341
|
+
};
|
|
3299
3342
|
const deserializeAws_restJson1Provider = (output, context) => {
|
|
3300
3343
|
return {
|
|
3301
3344
|
keyArn: (0, smithy_client_1.expectString)(output.keyArn),
|
|
@@ -192,6 +192,15 @@ export var LogType;
|
|
|
192
192
|
LogType["CONTROLLER_MANAGER"] = "controllerManager";
|
|
193
193
|
LogType["SCHEDULER"] = "scheduler";
|
|
194
194
|
})(LogType || (LogType = {}));
|
|
195
|
+
export var ClusterIssueCode;
|
|
196
|
+
(function (ClusterIssueCode) {
|
|
197
|
+
ClusterIssueCode["ACCESS_DENIED"] = "AccessDenied";
|
|
198
|
+
ClusterIssueCode["CLUSTER_UNREACHABLE"] = "ClusterUnreachable";
|
|
199
|
+
ClusterIssueCode["CONFIGURATION_CONFLICT"] = "ConfigurationConflict";
|
|
200
|
+
ClusterIssueCode["INTERNAL_FAILURE"] = "InternalFailure";
|
|
201
|
+
ClusterIssueCode["RESOURCE_LIMIT_EXCEEDED"] = "ResourceLimitExceeded";
|
|
202
|
+
ClusterIssueCode["RESOURCE_NOT_FOUND"] = "ResourceNotFound";
|
|
203
|
+
})(ClusterIssueCode || (ClusterIssueCode = {}));
|
|
195
204
|
var ResourceLimitExceededException = (function (_super) {
|
|
196
205
|
__extends(ResourceLimitExceededException, _super);
|
|
197
206
|
function ResourceLimitExceededException(opts) {
|
|
@@ -337,13 +346,17 @@ export var CreateAddonResponseFilterSensitiveLog = function (obj) { return (__as
|
|
|
337
346
|
export var KubernetesNetworkConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
338
347
|
export var LogSetupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
339
348
|
export var LoggingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
|
+
export var OutpostConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
340
350
|
export var VpcConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
341
351
|
export var CreateClusterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
342
352
|
export var CertificateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
343
353
|
export var ConnectorConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
354
|
+
export var ClusterIssueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
+
export var ClusterHealthFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
344
356
|
export var OIDCFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
345
357
|
export var IdentityFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
346
358
|
export var KubernetesNetworkConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
359
|
+
export var OutpostConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
347
360
|
export var VpcConfigResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
361
|
export var ClusterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
349
362
|
export var CreateClusterResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -98,11 +98,13 @@ export var serializeAws_restJson1CreateClusterCommand = function (input, context
|
|
|
98
98
|
"content-type": "application/json",
|
|
99
99
|
};
|
|
100
100
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/clusters";
|
|
101
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientRequestToken: (_c = input.clientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.encryptionConfig != null && {
|
|
101
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientRequestToken: (_c = input.clientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.encryptionConfig != null && {
|
|
102
102
|
encryptionConfig: serializeAws_restJson1EncryptionConfigList(input.encryptionConfig, context),
|
|
103
103
|
})), (input.kubernetesNetworkConfig != null && {
|
|
104
104
|
kubernetesNetworkConfig: serializeAws_restJson1KubernetesNetworkConfigRequest(input.kubernetesNetworkConfig, context),
|
|
105
|
-
})), (input.logging != null && { logging: serializeAws_restJson1Logging(input.logging, context) })), (input.name != null && { name: input.name })), (input.
|
|
105
|
+
})), (input.logging != null && { logging: serializeAws_restJson1Logging(input.logging, context) })), (input.name != null && { name: input.name })), (input.outpostConfig != null && {
|
|
106
|
+
outpostConfig: serializeAws_restJson1OutpostConfigRequest(input.outpostConfig, context),
|
|
107
|
+
})), (input.resourcesVpcConfig != null && {
|
|
106
108
|
resourcesVpcConfig: serializeAws_restJson1VpcConfigRequest(input.resourcesVpcConfig, context),
|
|
107
109
|
})), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.version != null && { version: input.version })));
|
|
108
110
|
return [2, new __HttpRequest({
|
|
@@ -3707,6 +3709,9 @@ var serializeAws_restJson1OidcIdentityProviderConfigRequest = function (input, c
|
|
|
3707
3709
|
requiredClaims: serializeAws_restJson1requiredClaimsMap(input.requiredClaims, context),
|
|
3708
3710
|
})), (input.usernameClaim != null && { usernameClaim: input.usernameClaim })), (input.usernamePrefix != null && { usernamePrefix: input.usernamePrefix }));
|
|
3709
3711
|
};
|
|
3712
|
+
var serializeAws_restJson1OutpostConfigRequest = function (input, context) {
|
|
3713
|
+
return __assign(__assign({}, (input.controlPlaneInstanceType != null && { controlPlaneInstanceType: input.controlPlaneInstanceType })), (input.outpostArns != null && { outpostArns: serializeAws_restJson1StringList(input.outpostArns, context) }));
|
|
3714
|
+
};
|
|
3710
3715
|
var serializeAws_restJson1Provider = function (input, context) {
|
|
3711
3716
|
return __assign({}, (input.keyArn != null && { keyArn: input.keyArn }));
|
|
3712
3717
|
};
|
|
@@ -3884,12 +3889,17 @@ var deserializeAws_restJson1Cluster = function (output, context) {
|
|
|
3884
3889
|
? deserializeAws_restJson1EncryptionConfigList(output.encryptionConfig, context)
|
|
3885
3890
|
: undefined,
|
|
3886
3891
|
endpoint: __expectString(output.endpoint),
|
|
3892
|
+
health: output.health != null ? deserializeAws_restJson1ClusterHealth(output.health, context) : undefined,
|
|
3893
|
+
id: __expectString(output.id),
|
|
3887
3894
|
identity: output.identity != null ? deserializeAws_restJson1Identity(output.identity, context) : undefined,
|
|
3888
3895
|
kubernetesNetworkConfig: output.kubernetesNetworkConfig != null
|
|
3889
3896
|
? deserializeAws_restJson1KubernetesNetworkConfigResponse(output.kubernetesNetworkConfig, context)
|
|
3890
3897
|
: undefined,
|
|
3891
3898
|
logging: output.logging != null ? deserializeAws_restJson1Logging(output.logging, context) : undefined,
|
|
3892
3899
|
name: __expectString(output.name),
|
|
3900
|
+
outpostConfig: output.outpostConfig != null
|
|
3901
|
+
? deserializeAws_restJson1OutpostConfigResponse(output.outpostConfig, context)
|
|
3902
|
+
: undefined,
|
|
3893
3903
|
platformVersion: __expectString(output.platformVersion),
|
|
3894
3904
|
resourcesVpcConfig: output.resourcesVpcConfig != null
|
|
3895
3905
|
? deserializeAws_restJson1VpcConfigResponse(output.resourcesVpcConfig, context)
|
|
@@ -3900,6 +3910,29 @@ var deserializeAws_restJson1Cluster = function (output, context) {
|
|
|
3900
3910
|
version: __expectString(output.version),
|
|
3901
3911
|
};
|
|
3902
3912
|
};
|
|
3913
|
+
var deserializeAws_restJson1ClusterHealth = function (output, context) {
|
|
3914
|
+
return {
|
|
3915
|
+
issues: output.issues != null ? deserializeAws_restJson1ClusterIssueList(output.issues, context) : undefined,
|
|
3916
|
+
};
|
|
3917
|
+
};
|
|
3918
|
+
var deserializeAws_restJson1ClusterIssue = function (output, context) {
|
|
3919
|
+
return {
|
|
3920
|
+
code: __expectString(output.code),
|
|
3921
|
+
message: __expectString(output.message),
|
|
3922
|
+
resourceIds: output.resourceIds != null ? deserializeAws_restJson1StringList(output.resourceIds, context) : undefined,
|
|
3923
|
+
};
|
|
3924
|
+
};
|
|
3925
|
+
var deserializeAws_restJson1ClusterIssueList = function (output, context) {
|
|
3926
|
+
var retVal = (output || [])
|
|
3927
|
+
.filter(function (e) { return e != null; })
|
|
3928
|
+
.map(function (entry) {
|
|
3929
|
+
if (entry === null) {
|
|
3930
|
+
return null;
|
|
3931
|
+
}
|
|
3932
|
+
return deserializeAws_restJson1ClusterIssue(entry, context);
|
|
3933
|
+
});
|
|
3934
|
+
return retVal;
|
|
3935
|
+
};
|
|
3903
3936
|
var deserializeAws_restJson1Compatibilities = function (output, context) {
|
|
3904
3937
|
var retVal = (output || [])
|
|
3905
3938
|
.filter(function (e) { return e != null; })
|
|
@@ -4192,6 +4225,12 @@ var deserializeAws_restJson1OidcIdentityProviderConfig = function (output, conte
|
|
|
4192
4225
|
usernamePrefix: __expectString(output.usernamePrefix),
|
|
4193
4226
|
};
|
|
4194
4227
|
};
|
|
4228
|
+
var deserializeAws_restJson1OutpostConfigResponse = function (output, context) {
|
|
4229
|
+
return {
|
|
4230
|
+
controlPlaneInstanceType: __expectString(output.controlPlaneInstanceType),
|
|
4231
|
+
outpostArns: output.outpostArns != null ? deserializeAws_restJson1StringList(output.outpostArns, context) : undefined,
|
|
4232
|
+
};
|
|
4233
|
+
};
|
|
4195
4234
|
var deserializeAws_restJson1Provider = function (output, context) {
|
|
4196
4235
|
return {
|
|
4197
4236
|
keyArn: __expectString(output.keyArn),
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -83,25 +83,27 @@ export declare class EKS extends EKSClient {
|
|
|
83
83
|
createAddon(args: CreateAddonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAddonCommandOutput) => void): void;
|
|
84
84
|
/**
|
|
85
85
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
86
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
87
|
-
* software, such as <code>etcd</code> and the API server. The control plane
|
|
88
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
89
|
-
* endpoint. Each Amazon EKS cluster control
|
|
90
|
-
* own set of Amazon EC2
|
|
86
|
+
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
87
|
+
* Kubernetes software, such as <code>etcd</code> and the API server. The control plane
|
|
88
|
+
* runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
89
|
+
* the Amazon EKS API server endpoint. Each Amazon EKS cluster control
|
|
90
|
+
* plane is single tenant and unique. It runs on its own set of Amazon EC2
|
|
91
|
+
* instances.</p>
|
|
91
92
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
92
|
-
* fronted by an Elastic Load Balancing
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* cluster
|
|
93
|
+
* fronted by an Elastic Load Balancing
|
|
94
|
+
* Network Load Balancer. Amazon EKS also provisions elastic network interfaces in
|
|
95
|
+
* your VPC subnets to provide connectivity from the control plane instances to the nodes
|
|
96
|
+
* (for example, to support <code>kubectl exec</code>, <code>logs</code>, and
|
|
97
|
+
* <code>proxy</code> data flows).</p>
|
|
98
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your
|
|
99
|
+
* cluster's control plane over the Kubernetes API server endpoint and a certificate file
|
|
100
|
+
* that is created for your cluster.</p>
|
|
99
101
|
*
|
|
100
|
-
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
101
|
-
*
|
|
102
|
-
* nodes into your cluster. For more
|
|
103
|
-
*
|
|
104
|
-
*
|
|
102
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
103
|
+
* Amazon EKS cluster, you must configure your Kubernetes tooling to
|
|
104
|
+
* communicate with the API server and launch nodes into your cluster. For more
|
|
105
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching
|
|
106
|
+
* Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
105
107
|
*/
|
|
106
108
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
107
109
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
@@ -8,25 +8,27 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
11
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
12
|
-
* software, such as <code>etcd</code> and the API server. The control plane
|
|
13
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
14
|
-
* endpoint. Each Amazon EKS cluster control
|
|
15
|
-
* own set of Amazon EC2
|
|
11
|
+
* <p>The Amazon EKS control plane consists of control plane instances that run the
|
|
12
|
+
* Kubernetes software, such as <code>etcd</code> and the API server. The control plane
|
|
13
|
+
* runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by
|
|
14
|
+
* the Amazon EKS API server endpoint. Each Amazon EKS cluster control
|
|
15
|
+
* plane is single tenant and unique. It runs on its own set of Amazon EC2
|
|
16
|
+
* instances.</p>
|
|
16
17
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
17
|
-
* fronted by an Elastic Load Balancing
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* cluster
|
|
18
|
+
* fronted by an Elastic Load Balancing
|
|
19
|
+
* Network Load Balancer. Amazon EKS also provisions elastic network interfaces in
|
|
20
|
+
* your VPC subnets to provide connectivity from the control plane instances to the nodes
|
|
21
|
+
* (for example, to support <code>kubectl exec</code>, <code>logs</code>, and
|
|
22
|
+
* <code>proxy</code> data flows).</p>
|
|
23
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your
|
|
24
|
+
* cluster's control plane over the Kubernetes API server endpoint and a certificate file
|
|
25
|
+
* that is created for your cluster.</p>
|
|
24
26
|
*
|
|
25
|
-
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
26
|
-
*
|
|
27
|
-
* nodes into your cluster. For more
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an
|
|
28
|
+
* Amazon EKS cluster, you must configure your Kubernetes tooling to
|
|
29
|
+
* communicate with the API server and launch nodes into your cluster. For more
|
|
30
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching
|
|
31
|
+
* Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -46,11 +46,11 @@ export interface AddonIssue {
|
|
|
46
46
|
*/
|
|
47
47
|
export interface AddonHealth {
|
|
48
48
|
/**
|
|
49
|
-
* <p>An object
|
|
49
|
+
* <p>An object representing the health issues for an add-on.</p>
|
|
50
50
|
*/
|
|
51
51
|
issues?: AddonIssue[];
|
|
52
52
|
}
|
|
53
|
-
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATING";
|
|
53
|
+
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATE_FAILED" | "UPDATING";
|
|
54
54
|
/**
|
|
55
55
|
* <p>An Amazon EKS add-on. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS add-ons</a> in
|
|
56
56
|
* the <i>Amazon EKS User Guide</i>.</p>
|
|
@@ -73,7 +73,7 @@ export interface Addon {
|
|
|
73
73
|
*/
|
|
74
74
|
addonVersion?: string;
|
|
75
75
|
/**
|
|
76
|
-
* <p>An object
|
|
76
|
+
* <p>An object representing the health of the add-on.</p>
|
|
77
77
|
*/
|
|
78
78
|
health?: AddonHealth;
|
|
79
79
|
/**
|
|
@@ -95,9 +95,8 @@ export interface Addon {
|
|
|
95
95
|
serviceAccountRoleArn?: string;
|
|
96
96
|
/**
|
|
97
97
|
* <p>The metadata that you apply to the add-on to assist with categorization and
|
|
98
|
-
* organization. Each tag consists of a key and an optional value. You define both.
|
|
99
|
-
*
|
|
100
|
-
* </p>
|
|
98
|
+
* organization. Each tag consists of a key and an optional value. You define both. Add-on
|
|
99
|
+
* tags do not propagate to any other resources associated with the cluster. </p>
|
|
101
100
|
*/
|
|
102
101
|
tags?: Record<string, string>;
|
|
103
102
|
}
|
|
@@ -131,7 +130,7 @@ export interface AddonVersionInfo {
|
|
|
131
130
|
*/
|
|
132
131
|
architecture?: string[];
|
|
133
132
|
/**
|
|
134
|
-
* <p>An object
|
|
133
|
+
* <p>An object representing the compatibilities of a version.</p>
|
|
135
134
|
*/
|
|
136
135
|
compatibilities?: Compatibility[];
|
|
137
136
|
}
|
|
@@ -148,7 +147,7 @@ export interface AddonInfo {
|
|
|
148
147
|
*/
|
|
149
148
|
type?: string;
|
|
150
149
|
/**
|
|
151
|
-
* <p>An object
|
|
150
|
+
* <p>An object representing information about available add-on versions and compatible
|
|
152
151
|
* Kubernetes versions.</p>
|
|
153
152
|
*/
|
|
154
153
|
addonVersions?: AddonVersionInfo[];
|
|
@@ -560,7 +559,7 @@ export interface AssociateIdentityProviderConfigRequest {
|
|
|
560
559
|
*/
|
|
561
560
|
clusterName: string | undefined;
|
|
562
561
|
/**
|
|
563
|
-
* <p>An object
|
|
562
|
+
* <p>An object representing an OpenID Connect (OIDC) identity provider
|
|
564
563
|
* configuration.</p>
|
|
565
564
|
*/
|
|
566
565
|
oidc: OidcIdentityProviderConfigRequest | undefined;
|
|
@@ -596,7 +595,7 @@ export interface AutoScalingGroup {
|
|
|
596
595
|
*/
|
|
597
596
|
name?: string;
|
|
598
597
|
}
|
|
599
|
-
export declare type ResolveConflicts = "NONE" | "OVERWRITE";
|
|
598
|
+
export declare type ResolveConflicts = "NONE" | "OVERWRITE" | "PRESERVE";
|
|
600
599
|
export interface CreateAddonRequest {
|
|
601
600
|
/**
|
|
602
601
|
* <p>The name of the cluster to create the add-on for.</p>
|
|
@@ -626,8 +625,31 @@ export interface CreateAddonRequest {
|
|
|
626
625
|
*/
|
|
627
626
|
serviceAccountRoleArn?: string;
|
|
628
627
|
/**
|
|
629
|
-
* <p>How to resolve
|
|
630
|
-
*
|
|
628
|
+
* <p>How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are
|
|
629
|
+
* handled based on the value you choose:</p>
|
|
630
|
+
* <ul>
|
|
631
|
+
* <li>
|
|
632
|
+
* <p>
|
|
633
|
+
* <b>None</b> – If the self-managed version of
|
|
634
|
+
* the add-on is installed on your cluster, Amazon EKS doesn't change the
|
|
635
|
+
* value. Creation of the add-on might fail.</p>
|
|
636
|
+
* </li>
|
|
637
|
+
* <li>
|
|
638
|
+
* <p>
|
|
639
|
+
* <b>Overwrite</b> – If the self-managed
|
|
640
|
+
* version of the add-on is installed on your cluster and the Amazon EKS
|
|
641
|
+
* default value is different than the existing value, Amazon EKS changes
|
|
642
|
+
* the value to the Amazon EKS default value.</p>
|
|
643
|
+
* </li>
|
|
644
|
+
* <li>
|
|
645
|
+
* <p>
|
|
646
|
+
* <b>Preserve</b> – Not supported. You can set
|
|
647
|
+
* this value when updating an add-on though. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html">UpdateAddon</a>.</p>
|
|
648
|
+
* </li>
|
|
649
|
+
* </ul>
|
|
650
|
+
* <p>If you don't currently have the self-managed version of the add-on installed on your
|
|
651
|
+
* cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values
|
|
652
|
+
* to default values, regardless of the option that you specify.</p>
|
|
631
653
|
*/
|
|
632
654
|
resolveConflicts?: ResolveConflicts | string;
|
|
633
655
|
/**
|
|
@@ -729,6 +751,45 @@ export interface Logging {
|
|
|
729
751
|
*/
|
|
730
752
|
clusterLogging?: LogSetup[];
|
|
731
753
|
}
|
|
754
|
+
/**
|
|
755
|
+
* <p>The configuration of your local Amazon EKS cluster on an Amazon Web Services
|
|
756
|
+
* Outpost. Before creating a cluster on an Outpost, review <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-cluster-outpost.html">Creating a local Amazon EKS cluster on an Amazon Web Services Outpost</a> in the
|
|
757
|
+
* <i>Amazon EKS User Guide</i>. This API isn't available for Amazon EKS clusters on the
|
|
758
|
+
* Amazon Web Services cloud.</p>
|
|
759
|
+
*/
|
|
760
|
+
export interface OutpostConfigRequest {
|
|
761
|
+
/**
|
|
762
|
+
* <p>The ARN of the Outpost that you want to use for your local Amazon EKS
|
|
763
|
+
* cluster on Outposts. Only a single Outpost ARN is
|
|
764
|
+
* supported.</p>
|
|
765
|
+
*/
|
|
766
|
+
outpostArns: string[] | undefined;
|
|
767
|
+
/**
|
|
768
|
+
* <p>The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. The instance type that you specify is used for all
|
|
769
|
+
* Kubernetes control plane instances. The instance type can't be changed after cluster
|
|
770
|
+
* creation.</p>
|
|
771
|
+
* <p>Choose an instance type based on the number of nodes that your cluster will have. If
|
|
772
|
+
* your cluster will have:</p>
|
|
773
|
+
* <ul>
|
|
774
|
+
* <li>
|
|
775
|
+
* <p>1–20 nodes, then we recommend specifying a <code>large</code> instance
|
|
776
|
+
* type.</p>
|
|
777
|
+
* </li>
|
|
778
|
+
* <li>
|
|
779
|
+
* <p>21–100 nodes, then we recommend specifying an <code>xlarge</code>
|
|
780
|
+
* instance type.</p>
|
|
781
|
+
* </li>
|
|
782
|
+
* <li>
|
|
783
|
+
* <p>101–250 nodes, then we recommend specifying a <code>2xlarge</code>
|
|
784
|
+
* instance type.</p>
|
|
785
|
+
* </li>
|
|
786
|
+
* </ul>
|
|
787
|
+
* <p>For a list of the available Amazon EC2 instance types, see Compute and storage
|
|
788
|
+
* in <a href="http://aws.amazon.com/outposts/rack/features/">Outposts rack
|
|
789
|
+
* features</a>. The control plane is not automatically scaled by Amazon EKS.</p>
|
|
790
|
+
*/
|
|
791
|
+
controlPlaneInstanceType: string | undefined;
|
|
792
|
+
}
|
|
732
793
|
/**
|
|
733
794
|
* <p>An object representing the VPC configuration to use for an Amazon EKS
|
|
734
795
|
* cluster.</p>
|
|
@@ -805,7 +866,10 @@ export interface CreateClusterRequest {
|
|
|
805
866
|
name: string | undefined;
|
|
806
867
|
/**
|
|
807
868
|
* <p>The desired Kubernetes version for your cluster. If you don't specify a value here,
|
|
808
|
-
* the
|
|
869
|
+
* the default version available in Amazon EKS is used.</p>
|
|
870
|
+
* <note>
|
|
871
|
+
* <p>The default version might not be the latest version available.</p>
|
|
872
|
+
* </note>
|
|
809
873
|
*/
|
|
810
874
|
version?: string;
|
|
811
875
|
/**
|
|
@@ -817,12 +881,12 @@ export interface CreateClusterRequest {
|
|
|
817
881
|
*/
|
|
818
882
|
roleArn: string | undefined;
|
|
819
883
|
/**
|
|
820
|
-
* <p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC
|
|
821
|
-
* specific requirements to work properly with Kubernetes. For more
|
|
822
|
-
*
|
|
823
|
-
*
|
|
824
|
-
* security groups. However, we recommend that you use
|
|
825
|
-
* cluster control plane.</p>
|
|
884
|
+
* <p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC
|
|
885
|
+
* resources have specific requirements to work properly with Kubernetes. For more
|
|
886
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">Cluster VPC Considerations</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Cluster Security
|
|
887
|
+
* Group Considerations</a> in the <i>Amazon EKS User Guide</i>. You must specify at least two
|
|
888
|
+
* subnets. You can specify up to five security groups. However, we recommend that you use
|
|
889
|
+
* a dedicated security group for your cluster control plane.</p>
|
|
826
890
|
*/
|
|
827
891
|
resourcesVpcConfig: VpcConfigRequest | undefined;
|
|
828
892
|
/**
|
|
@@ -857,6 +921,15 @@ export interface CreateClusterRequest {
|
|
|
857
921
|
* <p>The encryption configuration for the cluster.</p>
|
|
858
922
|
*/
|
|
859
923
|
encryptionConfig?: EncryptionConfig[];
|
|
924
|
+
/**
|
|
925
|
+
* <p>An object representing the configuration of your local Amazon EKS cluster on
|
|
926
|
+
* an Amazon Web Services Outpost. Before creating a local cluster on an Outpost, review
|
|
927
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-cluster-outpost.html">Creating an Amazon EKS cluster on an Amazon Web Services Outpost</a> in
|
|
928
|
+
* the <i>Amazon EKS User Guide</i>. This object isn't available for creating Amazon EKS
|
|
929
|
+
* clusters on the Amazon Web Services
|
|
930
|
+
* cloud.</p>
|
|
931
|
+
*/
|
|
932
|
+
outpostConfig?: OutpostConfigRequest;
|
|
860
933
|
}
|
|
861
934
|
/**
|
|
862
935
|
* <p>An object representing the <code>certificate-authority-data</code> for your
|
|
@@ -897,6 +970,47 @@ export interface ConnectorConfigResponse {
|
|
|
897
970
|
*/
|
|
898
971
|
roleArn?: string;
|
|
899
972
|
}
|
|
973
|
+
export declare enum ClusterIssueCode {
|
|
974
|
+
ACCESS_DENIED = "AccessDenied",
|
|
975
|
+
CLUSTER_UNREACHABLE = "ClusterUnreachable",
|
|
976
|
+
CONFIGURATION_CONFLICT = "ConfigurationConflict",
|
|
977
|
+
INTERNAL_FAILURE = "InternalFailure",
|
|
978
|
+
RESOURCE_LIMIT_EXCEEDED = "ResourceLimitExceeded",
|
|
979
|
+
RESOURCE_NOT_FOUND = "ResourceNotFound"
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* <p>An issue with your local Amazon EKS cluster on an Amazon Web Services Outpost.
|
|
983
|
+
* You can't use this API with an Amazon EKS cluster on the Amazon Web Services
|
|
984
|
+
* cloud.</p>
|
|
985
|
+
*/
|
|
986
|
+
export interface ClusterIssue {
|
|
987
|
+
/**
|
|
988
|
+
* <p>The error code of the issue.</p>
|
|
989
|
+
*/
|
|
990
|
+
code?: ClusterIssueCode | string;
|
|
991
|
+
/**
|
|
992
|
+
* <p>A description of the issue.</p>
|
|
993
|
+
*/
|
|
994
|
+
message?: string;
|
|
995
|
+
/**
|
|
996
|
+
* <p>The resource IDs that the issue relates
|
|
997
|
+
* to.</p>
|
|
998
|
+
*/
|
|
999
|
+
resourceIds?: string[];
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>An object representing the health of your local Amazon EKS cluster on an
|
|
1003
|
+
* Amazon Web Services Outpost. You can't use this API with an Amazon EKS
|
|
1004
|
+
* cluster on the Amazon Web Services cloud.
|
|
1005
|
+
* </p>
|
|
1006
|
+
*/
|
|
1007
|
+
export interface ClusterHealth {
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>An object representing the health issues of your local Amazon EKS cluster on
|
|
1010
|
+
* an Amazon Web Services Outpost.</p>
|
|
1011
|
+
*/
|
|
1012
|
+
issues?: ClusterIssue[];
|
|
1013
|
+
}
|
|
900
1014
|
/**
|
|
901
1015
|
* <p>An object representing the <a href="https://openid.net/connect/">OpenID
|
|
902
1016
|
* Connect</a> (OIDC) identity provider information for the cluster.</p>
|
|
@@ -948,6 +1062,24 @@ export interface KubernetesNetworkConfigResponse {
|
|
|
948
1062
|
*/
|
|
949
1063
|
ipFamily?: IpFamily | string;
|
|
950
1064
|
}
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>An object representing the configuration of your local Amazon EKS cluster on
|
|
1067
|
+
* an Amazon Web Services Outpost. This API isn't available for Amazon EKS clusters
|
|
1068
|
+
* on the Amazon Web Services cloud.</p>
|
|
1069
|
+
*/
|
|
1070
|
+
export interface OutpostConfigResponse {
|
|
1071
|
+
/**
|
|
1072
|
+
* <p>The ARN of the Outpost that you specified for use with your local Amazon EKS
|
|
1073
|
+
* cluster on Outposts.</p>
|
|
1074
|
+
*/
|
|
1075
|
+
outpostArns: string[] | undefined;
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>The Amazon EC2 instance type used for the control plane. The instance type is
|
|
1078
|
+
* the same for all control plane
|
|
1079
|
+
* instances.</p>
|
|
1080
|
+
*/
|
|
1081
|
+
controlPlaneInstanceType: string | undefined;
|
|
1082
|
+
}
|
|
951
1083
|
/**
|
|
952
1084
|
* <p>An object representing an Amazon EKS cluster VPC configuration
|
|
953
1085
|
* response.</p>
|
|
@@ -1077,9 +1209,8 @@ export interface Cluster {
|
|
|
1077
1209
|
platformVersion?: string;
|
|
1078
1210
|
/**
|
|
1079
1211
|
* <p>The metadata that you apply to the cluster to assist with categorization and
|
|
1080
|
-
* organization. Each tag consists of a key and an optional value. You define both.
|
|
1081
|
-
*
|
|
1082
|
-
* cluster.</p>
|
|
1212
|
+
* organization. Each tag consists of a key and an optional value. You define both. Cluster
|
|
1213
|
+
* tags do not propagate to any other resources associated with the cluster.</p>
|
|
1083
1214
|
*/
|
|
1084
1215
|
tags?: Record<string, string>;
|
|
1085
1216
|
/**
|
|
@@ -1090,6 +1221,22 @@ export interface Cluster {
|
|
|
1090
1221
|
* <p>The configuration used to connect to a cluster for registration.</p>
|
|
1091
1222
|
*/
|
|
1092
1223
|
connectorConfig?: ConnectorConfigResponse;
|
|
1224
|
+
/**
|
|
1225
|
+
* <p>The ID of your local Amazon EKS cluster on an Amazon Web Services Outpost. This
|
|
1226
|
+
* property isn't available for an Amazon EKS cluster on the Amazon Web Services
|
|
1227
|
+
* cloud.</p>
|
|
1228
|
+
*/
|
|
1229
|
+
id?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* <p>An object representing the health of your local Amazon EKS cluster on an
|
|
1232
|
+
* Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.</p>
|
|
1233
|
+
*/
|
|
1234
|
+
health?: ClusterHealth;
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>An object representing the configuration of your local Amazon EKS cluster on
|
|
1237
|
+
* an Amazon Web Services Outpost. This object isn't available for clusters on the Amazon Web Services cloud.</p>
|
|
1238
|
+
*/
|
|
1239
|
+
outpostConfig?: OutpostConfigResponse;
|
|
1093
1240
|
}
|
|
1094
1241
|
export interface CreateClusterResponse {
|
|
1095
1242
|
/**
|
|
@@ -1204,10 +1351,11 @@ export interface CreateFargateProfileRequest {
|
|
|
1204
1351
|
*/
|
|
1205
1352
|
clientRequestToken?: string;
|
|
1206
1353
|
/**
|
|
1207
|
-
* <p>The metadata to apply to the Fargate profile to assist with
|
|
1208
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1209
|
-
* Fargate profile tags do not propagate to any other resources
|
|
1210
|
-
* Fargate profile, such as the pods that are scheduled
|
|
1354
|
+
* <p>The metadata to apply to the Fargate profile to assist with
|
|
1355
|
+
* categorization and organization. Each tag consists of a key and an optional value. You
|
|
1356
|
+
* define both. Fargate profile tags do not propagate to any other resources
|
|
1357
|
+
* associated with the Fargate profile, such as the pods that are scheduled
|
|
1358
|
+
* with it.</p>
|
|
1211
1359
|
*/
|
|
1212
1360
|
tags?: Record<string, string>;
|
|
1213
1361
|
}
|
|
@@ -1253,10 +1401,11 @@ export interface FargateProfile {
|
|
|
1253
1401
|
*/
|
|
1254
1402
|
status?: FargateProfileStatus | string;
|
|
1255
1403
|
/**
|
|
1256
|
-
* <p>The metadata applied to the Fargate profile to assist with
|
|
1257
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1258
|
-
* Fargate profile tags do not propagate to any other resources
|
|
1259
|
-
* Fargate profile, such as the pods that are scheduled
|
|
1404
|
+
* <p>The metadata applied to the Fargate profile to assist with
|
|
1405
|
+
* categorization and organization. Each tag consists of a key and an optional value. You
|
|
1406
|
+
* define both. Fargate profile tags do not propagate to any other resources
|
|
1407
|
+
* associated with the Fargate profile, such as the pods that are scheduled
|
|
1408
|
+
* with it.</p>
|
|
1260
1409
|
*/
|
|
1261
1410
|
tags?: Record<string, string>;
|
|
1262
1411
|
}
|
|
@@ -1269,7 +1418,7 @@ export interface CreateFargateProfileResponse {
|
|
|
1269
1418
|
export declare type CapacityTypes = "ON_DEMAND" | "SPOT";
|
|
1270
1419
|
/**
|
|
1271
1420
|
* <p>An object representing a node group launch template specification. The launch template
|
|
1272
|
-
*
|
|
1421
|
+
* can't include <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html">
|
|
1273
1422
|
* <code>SubnetId</code>
|
|
1274
1423
|
* </a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html">
|
|
1275
1424
|
* <code>IamInstanceProfile</code>
|
|
@@ -1284,20 +1433,30 @@ export declare type CapacityTypes = "ON_DEMAND" | "SPOT";
|
|
|
1284
1433
|
* <code>CreateLaunchTemplate</code>
|
|
1285
1434
|
* </a> in the Amazon EC2 API
|
|
1286
1435
|
* Reference. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
1287
|
-
* <p>
|
|
1436
|
+
* <p>You must specify either the launch template ID or the launch template name in the
|
|
1437
|
+
* request, but not both.</p>
|
|
1288
1438
|
*/
|
|
1289
1439
|
export interface LaunchTemplateSpecification {
|
|
1290
1440
|
/**
|
|
1291
1441
|
* <p>The name of the launch template.</p>
|
|
1442
|
+
* <p>You must specify either the launch template name or the launch template ID in the
|
|
1443
|
+
* request, but not both.</p>
|
|
1292
1444
|
*/
|
|
1293
1445
|
name?: string;
|
|
1294
1446
|
/**
|
|
1295
|
-
* <p>The
|
|
1296
|
-
*
|
|
1447
|
+
* <p>The launch template version number, <code>$Latest</code>, or
|
|
1448
|
+
* <code>$Default</code>.</p>
|
|
1449
|
+
* <p>If the value is <code>$Latest</code>, Amazon EKS uses the latest version of
|
|
1450
|
+
* the launch template.</p>
|
|
1451
|
+
* <p>If the value is <code>$Default</code>, Amazon EKS uses the default version of
|
|
1452
|
+
* the launch template.</p>
|
|
1453
|
+
* <p>Default: The default version of the launch template.</p>
|
|
1297
1454
|
*/
|
|
1298
1455
|
version?: string;
|
|
1299
1456
|
/**
|
|
1300
1457
|
* <p>The ID of the launch template.</p>
|
|
1458
|
+
* <p>You must specify either the launch template ID or the launch template name in the
|
|
1459
|
+
* request, but not both.</p>
|
|
1301
1460
|
*/
|
|
1302
1461
|
id?: string;
|
|
1303
1462
|
}
|
|
@@ -1478,14 +1637,16 @@ export interface CreateNodegroupRequest {
|
|
|
1478
1637
|
*/
|
|
1479
1638
|
labels?: Record<string, string>;
|
|
1480
1639
|
/**
|
|
1481
|
-
* <p>The Kubernetes taints to be applied to the nodes in the node group. For more
|
|
1640
|
+
* <p>The Kubernetes taints to be applied to the nodes in the node group. For more
|
|
1641
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
1642
|
+
* managed node groups</a>.</p>
|
|
1482
1643
|
*/
|
|
1483
1644
|
taints?: Taint[];
|
|
1484
1645
|
/**
|
|
1485
1646
|
* <p>The metadata to apply to the node group to assist with categorization and
|
|
1486
|
-
* organization. Each tag consists of a key and an optional value. You
|
|
1487
|
-
*
|
|
1488
|
-
*
|
|
1647
|
+
* organization. Each tag consists of a key and an optional value. You define both. Node
|
|
1648
|
+
* group tags do not propagate to any other resources associated with the node group, such
|
|
1649
|
+
* as the Amazon EC2 instances or subnets.</p>
|
|
1489
1650
|
*/
|
|
1490
1651
|
tags?: Record<string, string>;
|
|
1491
1652
|
/**
|
|
@@ -1644,9 +1805,10 @@ export interface Issue {
|
|
|
1644
1805
|
* <li>
|
|
1645
1806
|
* <p>
|
|
1646
1807
|
* <b>NodeCreationFailure</b>: Your launched instances
|
|
1647
|
-
* are unable to register with your Amazon EKS cluster. Common causes of
|
|
1648
|
-
* are insufficient <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">node IAM
|
|
1649
|
-
*
|
|
1808
|
+
* are unable to register with your Amazon EKS cluster. Common causes of
|
|
1809
|
+
* this failure are insufficient <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html">node IAM
|
|
1810
|
+
* role</a> permissions or lack of outbound internet access for the nodes.
|
|
1811
|
+
* </p>
|
|
1650
1812
|
* </li>
|
|
1651
1813
|
* </ul>
|
|
1652
1814
|
*/
|
|
@@ -1807,9 +1969,8 @@ export interface Nodegroup {
|
|
|
1807
1969
|
launchTemplate?: LaunchTemplateSpecification;
|
|
1808
1970
|
/**
|
|
1809
1971
|
* <p>The metadata applied to the node group to assist with categorization and organization.
|
|
1810
|
-
* Each tag consists of a key and an optional value. You define both. Node group
|
|
1811
|
-
*
|
|
1812
|
-
* Amazon EC2 instances or subnets. </p>
|
|
1972
|
+
* Each tag consists of a key and an optional value. You define both. Node group tags do
|
|
1973
|
+
* not propagate to any other resources associated with the node group, such as the Amazon EC2 instances or subnets. </p>
|
|
1813
1974
|
*/
|
|
1814
1975
|
tags?: Record<string, string>;
|
|
1815
1976
|
}
|
|
@@ -2013,7 +2174,7 @@ export interface DescribeIdentityProviderConfigRequest {
|
|
|
2013
2174
|
*/
|
|
2014
2175
|
clusterName: string | undefined;
|
|
2015
2176
|
/**
|
|
2016
|
-
* <p>An object
|
|
2177
|
+
* <p>An object representing an identity provider configuration.</p>
|
|
2017
2178
|
*/
|
|
2018
2179
|
identityProviderConfig: IdentityProviderConfig | undefined;
|
|
2019
2180
|
}
|
|
@@ -2023,7 +2184,7 @@ export declare enum ConfigStatus {
|
|
|
2023
2184
|
DELETING = "DELETING"
|
|
2024
2185
|
}
|
|
2025
2186
|
/**
|
|
2026
|
-
* <p>An object
|
|
2187
|
+
* <p>An object representing the configuration for an OpenID Connect (OIDC) identity
|
|
2027
2188
|
* provider. </p>
|
|
2028
2189
|
*/
|
|
2029
2190
|
export interface OidcIdentityProviderConfig {
|
|
@@ -2091,7 +2252,7 @@ export interface OidcIdentityProviderConfig {
|
|
|
2091
2252
|
*/
|
|
2092
2253
|
export interface IdentityProviderConfigResponse {
|
|
2093
2254
|
/**
|
|
2094
|
-
* <p>An object
|
|
2255
|
+
* <p>An object representing an OpenID Connect (OIDC) identity provider
|
|
2095
2256
|
* configuration.</p>
|
|
2096
2257
|
*/
|
|
2097
2258
|
oidc?: OidcIdentityProviderConfig;
|
|
@@ -2152,7 +2313,7 @@ export interface DisassociateIdentityProviderConfigRequest {
|
|
|
2152
2313
|
*/
|
|
2153
2314
|
clusterName: string | undefined;
|
|
2154
2315
|
/**
|
|
2155
|
-
* <p>An object
|
|
2316
|
+
* <p>An object representing an identity provider configuration.</p>
|
|
2156
2317
|
*/
|
|
2157
2318
|
identityProviderConfig: IdentityProviderConfig | undefined;
|
|
2158
2319
|
/**
|
|
@@ -2237,7 +2398,9 @@ export interface ListClustersRequest {
|
|
|
2237
2398
|
*/
|
|
2238
2399
|
nextToken?: string;
|
|
2239
2400
|
/**
|
|
2240
|
-
* <p>Indicates whether external clusters are included in the returned list. Use
|
|
2401
|
+
* <p>Indicates whether external clusters are included in the returned list. Use
|
|
2402
|
+
* '<code>all</code>' to return connected clusters, or blank to return only Amazon EKS clusters. '<code>all</code>' must be in lowercase otherwise an error
|
|
2403
|
+
* occurs.</p>
|
|
2241
2404
|
*/
|
|
2242
2405
|
include?: string[];
|
|
2243
2406
|
}
|
|
@@ -2510,7 +2673,8 @@ export interface RegisterClusterResponse {
|
|
|
2510
2673
|
cluster?: Cluster;
|
|
2511
2674
|
}
|
|
2512
2675
|
/**
|
|
2513
|
-
* <p>Required resources (such as service-linked roles) were created and are still
|
|
2676
|
+
* <p>Required resources (such as service-linked roles) were created and are still
|
|
2677
|
+
* propagating. Retry later.</p>
|
|
2514
2678
|
*/
|
|
2515
2679
|
export declare class ResourcePropagationDelayException extends __BaseException {
|
|
2516
2680
|
readonly name: "ResourcePropagationDelayException";
|
|
@@ -2575,8 +2739,29 @@ export interface UpdateAddonRequest {
|
|
|
2575
2739
|
*/
|
|
2576
2740
|
serviceAccountRoleArn?: string;
|
|
2577
2741
|
/**
|
|
2578
|
-
* <p>How to resolve
|
|
2579
|
-
*
|
|
2742
|
+
* <p>How to resolve field value conflicts for an Amazon EKS add-on if you've
|
|
2743
|
+
* changed a value from the Amazon EKS default value. Conflicts are handled based
|
|
2744
|
+
* on the option you choose:</p>
|
|
2745
|
+
* <ul>
|
|
2746
|
+
* <li>
|
|
2747
|
+
* <p>
|
|
2748
|
+
* <b>None</b> – Amazon EKS doesn't
|
|
2749
|
+
* change the value. The update might fail.</p>
|
|
2750
|
+
* </li>
|
|
2751
|
+
* <li>
|
|
2752
|
+
* <p>
|
|
2753
|
+
* <b>Overwrite</b> – Amazon EKS
|
|
2754
|
+
* overwrites the changed value back to the Amazon EKS default
|
|
2755
|
+
* value.</p>
|
|
2756
|
+
* </li>
|
|
2757
|
+
* <li>
|
|
2758
|
+
* <p>
|
|
2759
|
+
* <b>Preserve</b> – Amazon EKS
|
|
2760
|
+
* preserves the value. If you choose this option, we recommend that you test any
|
|
2761
|
+
* field and value changes on a non-production cluster before updating the add-on
|
|
2762
|
+
* on your production cluster.</p>
|
|
2763
|
+
* </li>
|
|
2764
|
+
* </ul>
|
|
2580
2765
|
*/
|
|
2581
2766
|
resolveConflicts?: ResolveConflicts | string;
|
|
2582
2767
|
/**
|
|
@@ -2662,7 +2847,9 @@ export interface UpdateLabelsPayload {
|
|
|
2662
2847
|
removeLabels?: string[];
|
|
2663
2848
|
}
|
|
2664
2849
|
/**
|
|
2665
|
-
* <p>An object representing the details of an update to a taints payload. For more
|
|
2850
|
+
* <p>An object representing the details of an update to a taints payload. For more
|
|
2851
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
2852
|
+
* managed node groups</a>.</p>
|
|
2666
2853
|
*/
|
|
2667
2854
|
export interface UpdateTaintsPayload {
|
|
2668
2855
|
/**
|
|
@@ -2690,8 +2877,9 @@ export interface UpdateNodegroupConfigRequest {
|
|
|
2690
2877
|
*/
|
|
2691
2878
|
labels?: UpdateLabelsPayload;
|
|
2692
2879
|
/**
|
|
2693
|
-
* <p>The Kubernetes taints to be applied to the nodes in the node group after the
|
|
2694
|
-
*
|
|
2880
|
+
* <p>The Kubernetes taints to be applied to the nodes in the node group after the update.
|
|
2881
|
+
* For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html">Node taints on
|
|
2882
|
+
* managed node groups</a>.</p>
|
|
2695
2883
|
*/
|
|
2696
2884
|
taints?: UpdateTaintsPayload;
|
|
2697
2885
|
/**
|
|
@@ -2854,6 +3042,10 @@ export declare const LogSetupFilterSensitiveLog: (obj: LogSetup) => any;
|
|
|
2854
3042
|
* @internal
|
|
2855
3043
|
*/
|
|
2856
3044
|
export declare const LoggingFilterSensitiveLog: (obj: Logging) => any;
|
|
3045
|
+
/**
|
|
3046
|
+
* @internal
|
|
3047
|
+
*/
|
|
3048
|
+
export declare const OutpostConfigRequestFilterSensitiveLog: (obj: OutpostConfigRequest) => any;
|
|
2857
3049
|
/**
|
|
2858
3050
|
* @internal
|
|
2859
3051
|
*/
|
|
@@ -2870,6 +3062,14 @@ export declare const CertificateFilterSensitiveLog: (obj: Certificate) => any;
|
|
|
2870
3062
|
* @internal
|
|
2871
3063
|
*/
|
|
2872
3064
|
export declare const ConnectorConfigResponseFilterSensitiveLog: (obj: ConnectorConfigResponse) => any;
|
|
3065
|
+
/**
|
|
3066
|
+
* @internal
|
|
3067
|
+
*/
|
|
3068
|
+
export declare const ClusterIssueFilterSensitiveLog: (obj: ClusterIssue) => any;
|
|
3069
|
+
/**
|
|
3070
|
+
* @internal
|
|
3071
|
+
*/
|
|
3072
|
+
export declare const ClusterHealthFilterSensitiveLog: (obj: ClusterHealth) => any;
|
|
2873
3073
|
/**
|
|
2874
3074
|
* @internal
|
|
2875
3075
|
*/
|
|
@@ -2882,6 +3082,10 @@ export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
|
|
|
2882
3082
|
* @internal
|
|
2883
3083
|
*/
|
|
2884
3084
|
export declare const KubernetesNetworkConfigResponseFilterSensitiveLog: (obj: KubernetesNetworkConfigResponse) => any;
|
|
3085
|
+
/**
|
|
3086
|
+
* @internal
|
|
3087
|
+
*/
|
|
3088
|
+
export declare const OutpostConfigResponseFilterSensitiveLog: (obj: OutpostConfigResponse) => any;
|
|
2885
3089
|
/**
|
|
2886
3090
|
* @internal
|
|
2887
3091
|
*/
|
|
@@ -31,7 +31,7 @@ export interface AddonHealth {
|
|
|
31
31
|
|
|
32
32
|
issues?: AddonIssue[];
|
|
33
33
|
}
|
|
34
|
-
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATING";
|
|
34
|
+
export declare type AddonStatus = "ACTIVE" | "CREATE_FAILED" | "CREATING" | "DEGRADED" | "DELETE_FAILED" | "DELETING" | "UPDATE_FAILED" | "UPDATING";
|
|
35
35
|
|
|
36
36
|
export interface Addon {
|
|
37
37
|
|
|
@@ -314,7 +314,7 @@ export interface AutoScalingGroup {
|
|
|
314
314
|
|
|
315
315
|
name?: string;
|
|
316
316
|
}
|
|
317
|
-
export declare type ResolveConflicts = "NONE" | "OVERWRITE";
|
|
317
|
+
export declare type ResolveConflicts = "NONE" | "OVERWRITE" | "PRESERVE";
|
|
318
318
|
export interface CreateAddonRequest {
|
|
319
319
|
|
|
320
320
|
clusterName: string | undefined;
|
|
@@ -366,6 +366,13 @@ export interface Logging {
|
|
|
366
366
|
clusterLogging?: LogSetup[];
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
export interface OutpostConfigRequest {
|
|
370
|
+
|
|
371
|
+
outpostArns: string[] | undefined;
|
|
372
|
+
|
|
373
|
+
controlPlaneInstanceType: string | undefined;
|
|
374
|
+
}
|
|
375
|
+
|
|
369
376
|
export interface VpcConfigRequest {
|
|
370
377
|
|
|
371
378
|
subnetIds?: string[];
|
|
@@ -397,6 +404,8 @@ export interface CreateClusterRequest {
|
|
|
397
404
|
tags?: Record<string, string>;
|
|
398
405
|
|
|
399
406
|
encryptionConfig?: EncryptionConfig[];
|
|
407
|
+
|
|
408
|
+
outpostConfig?: OutpostConfigRequest;
|
|
400
409
|
}
|
|
401
410
|
|
|
402
411
|
export interface Certificate {
|
|
@@ -416,6 +425,28 @@ export interface ConnectorConfigResponse {
|
|
|
416
425
|
|
|
417
426
|
roleArn?: string;
|
|
418
427
|
}
|
|
428
|
+
export declare enum ClusterIssueCode {
|
|
429
|
+
ACCESS_DENIED = "AccessDenied",
|
|
430
|
+
CLUSTER_UNREACHABLE = "ClusterUnreachable",
|
|
431
|
+
CONFIGURATION_CONFLICT = "ConfigurationConflict",
|
|
432
|
+
INTERNAL_FAILURE = "InternalFailure",
|
|
433
|
+
RESOURCE_LIMIT_EXCEEDED = "ResourceLimitExceeded",
|
|
434
|
+
RESOURCE_NOT_FOUND = "ResourceNotFound"
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export interface ClusterIssue {
|
|
438
|
+
|
|
439
|
+
code?: ClusterIssueCode | string;
|
|
440
|
+
|
|
441
|
+
message?: string;
|
|
442
|
+
|
|
443
|
+
resourceIds?: string[];
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface ClusterHealth {
|
|
447
|
+
|
|
448
|
+
issues?: ClusterIssue[];
|
|
449
|
+
}
|
|
419
450
|
|
|
420
451
|
export interface OIDC {
|
|
421
452
|
|
|
@@ -436,6 +467,13 @@ export interface KubernetesNetworkConfigResponse {
|
|
|
436
467
|
ipFamily?: IpFamily | string;
|
|
437
468
|
}
|
|
438
469
|
|
|
470
|
+
export interface OutpostConfigResponse {
|
|
471
|
+
|
|
472
|
+
outpostArns: string[] | undefined;
|
|
473
|
+
|
|
474
|
+
controlPlaneInstanceType: string | undefined;
|
|
475
|
+
}
|
|
476
|
+
|
|
439
477
|
export interface VpcConfigResponse {
|
|
440
478
|
|
|
441
479
|
subnetIds?: string[];
|
|
@@ -489,6 +527,12 @@ export interface Cluster {
|
|
|
489
527
|
encryptionConfig?: EncryptionConfig[];
|
|
490
528
|
|
|
491
529
|
connectorConfig?: ConnectorConfigResponse;
|
|
530
|
+
|
|
531
|
+
id?: string;
|
|
532
|
+
|
|
533
|
+
health?: ClusterHealth;
|
|
534
|
+
|
|
535
|
+
outpostConfig?: OutpostConfigResponse;
|
|
492
536
|
}
|
|
493
537
|
export interface CreateClusterResponse {
|
|
494
538
|
|
|
@@ -1245,6 +1289,8 @@ export declare const LogSetupFilterSensitiveLog: (obj: LogSetup) => any;
|
|
|
1245
1289
|
|
|
1246
1290
|
export declare const LoggingFilterSensitiveLog: (obj: Logging) => any;
|
|
1247
1291
|
|
|
1292
|
+
export declare const OutpostConfigRequestFilterSensitiveLog: (obj: OutpostConfigRequest) => any;
|
|
1293
|
+
|
|
1248
1294
|
export declare const VpcConfigRequestFilterSensitiveLog: (obj: VpcConfigRequest) => any;
|
|
1249
1295
|
|
|
1250
1296
|
export declare const CreateClusterRequestFilterSensitiveLog: (obj: CreateClusterRequest) => any;
|
|
@@ -1253,12 +1299,18 @@ export declare const CertificateFilterSensitiveLog: (obj: Certificate) => any;
|
|
|
1253
1299
|
|
|
1254
1300
|
export declare const ConnectorConfigResponseFilterSensitiveLog: (obj: ConnectorConfigResponse) => any;
|
|
1255
1301
|
|
|
1302
|
+
export declare const ClusterIssueFilterSensitiveLog: (obj: ClusterIssue) => any;
|
|
1303
|
+
|
|
1304
|
+
export declare const ClusterHealthFilterSensitiveLog: (obj: ClusterHealth) => any;
|
|
1305
|
+
|
|
1256
1306
|
export declare const OIDCFilterSensitiveLog: (obj: OIDC) => any;
|
|
1257
1307
|
|
|
1258
1308
|
export declare const IdentityFilterSensitiveLog: (obj: Identity) => any;
|
|
1259
1309
|
|
|
1260
1310
|
export declare const KubernetesNetworkConfigResponseFilterSensitiveLog: (obj: KubernetesNetworkConfigResponse) => any;
|
|
1261
1311
|
|
|
1312
|
+
export declare const OutpostConfigResponseFilterSensitiveLog: (obj: OutpostConfigResponse) => any;
|
|
1313
|
+
|
|
1262
1314
|
export declare const VpcConfigResponseFilterSensitiveLog: (obj: VpcConfigResponse) => any;
|
|
1263
1315
|
|
|
1264
1316
|
export declare const ClusterFilterSensitiveLog: (obj: Cluster) => any;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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.
|
|
4
|
+
"version": "3.169.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",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
@@ -18,43 +19,43 @@
|
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-node": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.169.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.168.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.169.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.168.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.168.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.168.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.168.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.168.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.168.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.168.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.169.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.168.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.168.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.168.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.168.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.168.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.168.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.168.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.168.0",
|
|
41
|
+
"@aws-sdk/types": "3.168.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.168.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.168.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.168.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.168.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.168.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.168.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.168.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.168.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.168.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.168.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.168.0",
|
|
53
|
+
"@aws-sdk/util-waiter": "3.168.0",
|
|
53
54
|
"tslib": "^2.3.1",
|
|
54
55
|
"uuid": "^8.3.2"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.168.0",
|
|
58
59
|
"@tsconfig/recommended": "1.0.1",
|
|
59
60
|
"@types/node": "^12.7.5",
|
|
60
61
|
"@types/uuid": "^8.3.0",
|