@aws-sdk/client-eks 3.42.0 → 3.43.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 +11 -0
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +29 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +63 -31
- package/dist-types/EKS.d.ts +4 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +32 -20
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateFargateProfileRequest = exports.FargateProfileSelector = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.CreateClusterResponse = exports.Cluster = exports.VpcConfigResponse = exports.KubernetesNetworkConfigResponse = exports.Identity = exports.OIDC = exports.ConnectorConfigResponse = exports.Certificate = exports.CreateClusterRequest = exports.VpcConfigRequest = exports.Logging = exports.LogSetup = exports.LogType = exports.KubernetesNetworkConfigRequest = exports.CreateAddonResponse = exports.CreateAddonRequest = exports.AutoScalingGroup = exports.AssociateIdentityProviderConfigResponse = exports.AssociateIdentityProviderConfigRequest = exports.OidcIdentityProviderConfigRequest = exports.ServerException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ClientException = exports.AssociateEncryptionConfigResponse = exports.Update = exports.UpdateType = exports.UpdateStatus = exports.UpdateParam = exports.UpdateParamType = exports.ErrorDetail = exports.ErrorCode = exports.AssociateEncryptionConfigRequest = exports.EncryptionConfig = exports.Provider = exports.AddonInfo = exports.AddonVersionInfo = exports.Compatibility = exports.Addon = exports.AddonHealth = exports.AddonIssue = exports.AddonIssueCode = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.ListFargateProfilesRequest = exports.ListClustersResponse = exports.ListClustersRequest = exports.ListAddonsResponse = exports.ListAddonsRequest = exports.DisassociateIdentityProviderConfigResponse = exports.DisassociateIdentityProviderConfigRequest = exports.DescribeUpdateResponse = exports.DescribeUpdateRequest = exports.DescribeNodegroupResponse = exports.DescribeNodegroupRequest = exports.DescribeIdentityProviderConfigResponse = exports.IdentityProviderConfigResponse = exports.OidcIdentityProviderConfig = exports.ConfigStatus = exports.DescribeIdentityProviderConfigRequest = exports.IdentityProviderConfig = exports.DescribeFargateProfileResponse = exports.DescribeFargateProfileRequest = exports.DescribeClusterResponse = exports.DescribeClusterRequest = exports.DescribeAddonVersionsResponse = exports.DescribeAddonVersionsRequest = exports.DescribeAddonResponse = exports.DescribeAddonRequest = exports.DeregisterClusterResponse = exports.DeregisterClusterRequest = exports.DeleteNodegroupResponse = exports.DeleteNodegroupRequest = exports.DeleteFargateProfileResponse = exports.DeleteFargateProfileRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.DeleteAddonResponse = exports.DeleteAddonRequest = exports.CreateNodegroupResponse = exports.Nodegroup = exports.NodegroupResources = exports.NodegroupHealth = exports.Issue = exports.NodegroupIssueCode = exports.CreateNodegroupRequest = exports.NodegroupUpdateConfig = exports.Taint = exports.TaintEffect = exports.NodegroupScalingConfig = exports.RemoteAccessConfig = exports.LaunchTemplateSpecification = exports.CreateFargateProfileResponse = exports.FargateProfile = void 0;
|
|
5
|
-
exports.UpdateNodegroupVersionResponse = exports.UpdateNodegroupVersionRequest = exports.UpdateNodegroupConfigResponse = exports.UpdateNodegroupConfigRequest = exports.UpdateTaintsPayload = exports.UpdateLabelsPayload = exports.UpdateClusterVersionResponse = exports.UpdateClusterVersionRequest = exports.UpdateClusterConfigResponse = exports.UpdateClusterConfigRequest = exports.UpdateAddonResponse = exports.UpdateAddonRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RegisterClusterResponse = exports.RegisterClusterRequest = exports.ConnectorConfigRequest = exports.ConnectorConfigProvider = exports.ListUpdatesResponse = exports.ListUpdatesRequest = exports.NotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.BadRequestException = exports.ListNodegroupsResponse = exports.ListNodegroupsRequest = exports.ListIdentityProviderConfigsResponse = exports.ListIdentityProviderConfigsRequest = exports.ListFargateProfilesResponse = void 0;
|
|
5
|
+
exports.UpdateNodegroupVersionResponse = exports.UpdateNodegroupVersionRequest = exports.UpdateNodegroupConfigResponse = exports.UpdateNodegroupConfigRequest = exports.UpdateTaintsPayload = exports.UpdateLabelsPayload = exports.UpdateClusterVersionResponse = exports.UpdateClusterVersionRequest = exports.UpdateClusterConfigResponse = exports.UpdateClusterConfigRequest = exports.UpdateAddonResponse = exports.UpdateAddonRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.ResourcePropagationDelayException = exports.RegisterClusterResponse = exports.RegisterClusterRequest = exports.ConnectorConfigRequest = exports.ConnectorConfigProvider = exports.ListUpdatesResponse = exports.ListUpdatesRequest = exports.NotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.BadRequestException = exports.ListNodegroupsResponse = exports.ListNodegroupsRequest = exports.ListIdentityProviderConfigsResponse = exports.ListIdentityProviderConfigsRequest = exports.ListFargateProfilesResponse = void 0;
|
|
6
6
|
var AccessDeniedException;
|
|
7
7
|
(function (AccessDeniedException) {
|
|
8
8
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
@@ -761,6 +761,12 @@ var RegisterClusterResponse;
|
|
|
761
761
|
...obj,
|
|
762
762
|
});
|
|
763
763
|
})(RegisterClusterResponse = exports.RegisterClusterResponse || (exports.RegisterClusterResponse = {}));
|
|
764
|
+
var ResourcePropagationDelayException;
|
|
765
|
+
(function (ResourcePropagationDelayException) {
|
|
766
|
+
ResourcePropagationDelayException.filterSensitiveLog = (obj) => ({
|
|
767
|
+
...obj,
|
|
768
|
+
});
|
|
769
|
+
})(ResourcePropagationDelayException = exports.ResourcePropagationDelayException || (exports.ResourcePropagationDelayException = {}));
|
|
764
770
|
var TagResourceRequest;
|
|
765
771
|
(function (TagResourceRequest) {
|
|
766
772
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -3379,6 +3379,14 @@ const deserializeAws_restJson1RegisterClusterCommandError = async (output, conte
|
|
|
3379
3379
|
$metadata: deserializeMetadata(output),
|
|
3380
3380
|
};
|
|
3381
3381
|
break;
|
|
3382
|
+
case "ResourceInUseException":
|
|
3383
|
+
case "com.amazonaws.eks#ResourceInUseException":
|
|
3384
|
+
response = {
|
|
3385
|
+
...(await deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context)),
|
|
3386
|
+
name: errorCode,
|
|
3387
|
+
$metadata: deserializeMetadata(output),
|
|
3388
|
+
};
|
|
3389
|
+
break;
|
|
3382
3390
|
case "ResourceLimitExceededException":
|
|
3383
3391
|
case "com.amazonaws.eks#ResourceLimitExceededException":
|
|
3384
3392
|
response = {
|
|
@@ -3387,6 +3395,14 @@ const deserializeAws_restJson1RegisterClusterCommandError = async (output, conte
|
|
|
3387
3395
|
$metadata: deserializeMetadata(output),
|
|
3388
3396
|
};
|
|
3389
3397
|
break;
|
|
3398
|
+
case "ResourcePropagationDelayException":
|
|
3399
|
+
case "com.amazonaws.eks#ResourcePropagationDelayException":
|
|
3400
|
+
response = {
|
|
3401
|
+
...(await deserializeAws_restJson1ResourcePropagationDelayExceptionResponse(parsedOutput, context)),
|
|
3402
|
+
name: errorCode,
|
|
3403
|
+
$metadata: deserializeMetadata(output),
|
|
3404
|
+
};
|
|
3405
|
+
break;
|
|
3390
3406
|
case "ServerException":
|
|
3391
3407
|
case "com.amazonaws.eks#ServerException":
|
|
3392
3408
|
response = {
|
|
@@ -4156,6 +4172,19 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
4156
4172
|
}
|
|
4157
4173
|
return contents;
|
|
4158
4174
|
};
|
|
4175
|
+
const deserializeAws_restJson1ResourcePropagationDelayExceptionResponse = async (parsedOutput, context) => {
|
|
4176
|
+
const contents = {
|
|
4177
|
+
name: "ResourcePropagationDelayException",
|
|
4178
|
+
$fault: "client",
|
|
4179
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4180
|
+
message: undefined,
|
|
4181
|
+
};
|
|
4182
|
+
const data = parsedOutput.body;
|
|
4183
|
+
if (data.message !== undefined && data.message !== null) {
|
|
4184
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
4185
|
+
}
|
|
4186
|
+
return contents;
|
|
4187
|
+
};
|
|
4159
4188
|
const deserializeAws_restJson1ServerExceptionResponse = async (parsedOutput, context) => {
|
|
4160
4189
|
const contents = {
|
|
4161
4190
|
name: "ServerException",
|
|
@@ -547,6 +547,10 @@ export var RegisterClusterResponse;
|
|
|
547
547
|
(function (RegisterClusterResponse) {
|
|
548
548
|
RegisterClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
549
549
|
})(RegisterClusterResponse || (RegisterClusterResponse = {}));
|
|
550
|
+
export var ResourcePropagationDelayException;
|
|
551
|
+
(function (ResourcePropagationDelayException) {
|
|
552
|
+
ResourcePropagationDelayException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
553
|
+
})(ResourcePropagationDelayException || (ResourcePropagationDelayException = {}));
|
|
550
554
|
export var TagResourceRequest;
|
|
551
555
|
(function (TagResourceRequest) {
|
|
552
556
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -3769,16 +3769,16 @@ export var deserializeAws_restJson1RegisterClusterCommand = function (output, co
|
|
|
3769
3769
|
});
|
|
3770
3770
|
}); };
|
|
3771
3771
|
var deserializeAws_restJson1RegisterClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3772
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
3773
|
-
var
|
|
3774
|
-
return __generator(this, function (
|
|
3775
|
-
switch (
|
|
3772
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, _j, _k, parsedBody, message;
|
|
3773
|
+
var _l;
|
|
3774
|
+
return __generator(this, function (_m) {
|
|
3775
|
+
switch (_m.label) {
|
|
3776
3776
|
case 0:
|
|
3777
3777
|
_a = [__assign({}, output)];
|
|
3778
|
-
|
|
3778
|
+
_l = {};
|
|
3779
3779
|
return [4, parseBody(output.body, context)];
|
|
3780
3780
|
case 1:
|
|
3781
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
3781
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_l.body = _m.sent(), _l)]));
|
|
3782
3782
|
errorCode = "UnknownError";
|
|
3783
3783
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3784
3784
|
_b = errorCode;
|
|
@@ -3789,56 +3789,72 @@ var deserializeAws_restJson1RegisterClusterCommandError = function (output, cont
|
|
|
3789
3789
|
case "com.amazonaws.eks#ClientException": return [3, 4];
|
|
3790
3790
|
case "InvalidParameterException": return [3, 6];
|
|
3791
3791
|
case "com.amazonaws.eks#InvalidParameterException": return [3, 6];
|
|
3792
|
-
case "
|
|
3793
|
-
case "com.amazonaws.eks#
|
|
3794
|
-
case "
|
|
3795
|
-
case "com.amazonaws.eks#
|
|
3796
|
-
case "
|
|
3797
|
-
case "com.amazonaws.eks#
|
|
3798
|
-
|
|
3799
|
-
|
|
3792
|
+
case "ResourceInUseException": return [3, 8];
|
|
3793
|
+
case "com.amazonaws.eks#ResourceInUseException": return [3, 8];
|
|
3794
|
+
case "ResourceLimitExceededException": return [3, 10];
|
|
3795
|
+
case "com.amazonaws.eks#ResourceLimitExceededException": return [3, 10];
|
|
3796
|
+
case "ResourcePropagationDelayException": return [3, 12];
|
|
3797
|
+
case "com.amazonaws.eks#ResourcePropagationDelayException": return [3, 12];
|
|
3798
|
+
case "ServerException": return [3, 14];
|
|
3799
|
+
case "com.amazonaws.eks#ServerException": return [3, 14];
|
|
3800
|
+
case "ServiceUnavailableException": return [3, 16];
|
|
3801
|
+
case "com.amazonaws.eks#ServiceUnavailableException": return [3, 16];
|
|
3802
|
+
}
|
|
3803
|
+
return [3, 18];
|
|
3800
3804
|
case 2:
|
|
3801
3805
|
_c = [{}];
|
|
3802
3806
|
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
3803
3807
|
case 3:
|
|
3804
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
3805
|
-
return [3,
|
|
3808
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3809
|
+
return [3, 19];
|
|
3806
3810
|
case 4:
|
|
3807
3811
|
_d = [{}];
|
|
3808
3812
|
return [4, deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)];
|
|
3809
3813
|
case 5:
|
|
3810
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
3811
|
-
return [3,
|
|
3814
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3815
|
+
return [3, 19];
|
|
3812
3816
|
case 6:
|
|
3813
3817
|
_e = [{}];
|
|
3814
3818
|
return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
3815
3819
|
case 7:
|
|
3816
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
3817
|
-
return [3,
|
|
3820
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3821
|
+
return [3, 19];
|
|
3818
3822
|
case 8:
|
|
3819
3823
|
_f = [{}];
|
|
3820
|
-
return [4,
|
|
3824
|
+
return [4, deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
3821
3825
|
case 9:
|
|
3822
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
3823
|
-
return [3,
|
|
3826
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3827
|
+
return [3, 19];
|
|
3824
3828
|
case 10:
|
|
3825
3829
|
_g = [{}];
|
|
3826
|
-
return [4,
|
|
3830
|
+
return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
3827
3831
|
case 11:
|
|
3828
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
3829
|
-
return [3,
|
|
3832
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3833
|
+
return [3, 19];
|
|
3830
3834
|
case 12:
|
|
3831
3835
|
_h = [{}];
|
|
3832
|
-
return [4,
|
|
3836
|
+
return [4, deserializeAws_restJson1ResourcePropagationDelayExceptionResponse(parsedOutput, context)];
|
|
3833
3837
|
case 13:
|
|
3834
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(
|
|
3835
|
-
return [3,
|
|
3838
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3839
|
+
return [3, 19];
|
|
3836
3840
|
case 14:
|
|
3841
|
+
_j = [{}];
|
|
3842
|
+
return [4, deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)];
|
|
3843
|
+
case 15:
|
|
3844
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3845
|
+
return [3, 19];
|
|
3846
|
+
case 16:
|
|
3847
|
+
_k = [{}];
|
|
3848
|
+
return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
3849
|
+
case 17:
|
|
3850
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3851
|
+
return [3, 19];
|
|
3852
|
+
case 18:
|
|
3837
3853
|
parsedBody = parsedOutput.body;
|
|
3838
3854
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
3839
3855
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
3840
|
-
|
|
3841
|
-
case
|
|
3856
|
+
_m.label = 19;
|
|
3857
|
+
case 19:
|
|
3842
3858
|
message = response.message || response.Message || errorCode;
|
|
3843
3859
|
response.message = message;
|
|
3844
3860
|
delete response.Message;
|
|
@@ -4704,6 +4720,22 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
4704
4720
|
return [2, contents];
|
|
4705
4721
|
});
|
|
4706
4722
|
}); };
|
|
4723
|
+
var deserializeAws_restJson1ResourcePropagationDelayExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4724
|
+
var contents, data;
|
|
4725
|
+
return __generator(this, function (_a) {
|
|
4726
|
+
contents = {
|
|
4727
|
+
name: "ResourcePropagationDelayException",
|
|
4728
|
+
$fault: "client",
|
|
4729
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4730
|
+
message: undefined,
|
|
4731
|
+
};
|
|
4732
|
+
data = parsedOutput.body;
|
|
4733
|
+
if (data.message !== undefined && data.message !== null) {
|
|
4734
|
+
contents.message = __expectString(data.message);
|
|
4735
|
+
}
|
|
4736
|
+
return [2, contents];
|
|
4737
|
+
});
|
|
4738
|
+
}); };
|
|
4707
4739
|
var deserializeAws_restJson1ServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4708
4740
|
var contents, data;
|
|
4709
4741
|
return __generator(this, function (_a) {
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -85,19 +85,19 @@ export declare class EKS extends EKSClient {
|
|
|
85
85
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
86
86
|
* <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
|
|
87
87
|
* software, such as <code>etcd</code> and the API server. The control plane runs in an
|
|
88
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed
|
|
89
|
-
* endpoint. Each Amazon EKS cluster control plane is single
|
|
88
|
+
* account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server
|
|
89
|
+
* endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its
|
|
90
90
|
* own set of Amazon EC2 instances.</p>
|
|
91
91
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
92
92
|
* fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
|
|
93
93
|
* subnets to provide connectivity from the control plane instances to the nodes (for
|
|
94
94
|
* example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
|
|
95
95
|
* data flows).</p>
|
|
96
|
-
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane
|
|
96
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over
|
|
97
97
|
* the Kubernetes API server endpoint and a certificate file that is created for your
|
|
98
98
|
* cluster.</p>
|
|
99
99
|
*
|
|
100
|
-
* <p>
|
|
100
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
|
|
101
101
|
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
102
102
|
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
103
103
|
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
@@ -10,19 +10,19 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
10
10
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
11
11
|
* <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
|
|
12
12
|
* software, such as <code>etcd</code> and the API server. The control plane runs in an
|
|
13
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed
|
|
14
|
-
* endpoint. Each Amazon EKS cluster control plane is single
|
|
13
|
+
* account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server
|
|
14
|
+
* endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its
|
|
15
15
|
* own set of Amazon EC2 instances.</p>
|
|
16
16
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
17
17
|
* fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
|
|
18
18
|
* subnets to provide connectivity from the control plane instances to the nodes (for
|
|
19
19
|
* example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
|
|
20
20
|
* data flows).</p>
|
|
21
|
-
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane
|
|
21
|
+
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over
|
|
22
22
|
* the Kubernetes API server endpoint and a certificate file that is created for your
|
|
23
23
|
* cluster.</p>
|
|
24
24
|
*
|
|
25
|
-
* <p>
|
|
25
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
|
|
26
26
|
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
27
27
|
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
28
28
|
* Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
@@ -109,8 +109,8 @@ export interface Addon {
|
|
|
109
109
|
serviceAccountRoleArn?: string;
|
|
110
110
|
/**
|
|
111
111
|
* <p>The metadata that you apply to the add-on to assist with categorization and
|
|
112
|
-
* organization. Each tag consists of a key and an optional value
|
|
113
|
-
*
|
|
112
|
+
* organization. Each tag consists of a key and an optional value. You define both.
|
|
113
|
+
* Add-on tags do not propagate to any other resources associated with the cluster.
|
|
114
114
|
* </p>
|
|
115
115
|
*/
|
|
116
116
|
tags?: {
|
|
@@ -673,8 +673,7 @@ export interface AssociateIdentityProviderConfigRequest {
|
|
|
673
673
|
oidc: OidcIdentityProviderConfigRequest | undefined;
|
|
674
674
|
/**
|
|
675
675
|
* <p>The metadata to apply to the configuration to assist with categorization and
|
|
676
|
-
* organization. Each tag consists of a key and an optional value
|
|
677
|
-
* define.</p>
|
|
676
|
+
* organization. Each tag consists of a key and an optional value. You define both.</p>
|
|
678
677
|
*/
|
|
679
678
|
tags?: {
|
|
680
679
|
[key: string]: string;
|
|
@@ -765,7 +764,7 @@ export interface CreateAddonRequest {
|
|
|
765
764
|
clientRequestToken?: string;
|
|
766
765
|
/**
|
|
767
766
|
* <p>The metadata to apply to the cluster to assist with categorization and organization.
|
|
768
|
-
* Each tag consists of a key and an optional value
|
|
767
|
+
* Each tag consists of a key and an optional value. You define both.</p>
|
|
769
768
|
*/
|
|
770
769
|
tags?: {
|
|
771
770
|
[key: string]: string;
|
|
@@ -961,11 +960,11 @@ export interface CreateClusterRequest {
|
|
|
961
960
|
*/
|
|
962
961
|
roleArn: string | undefined;
|
|
963
962
|
/**
|
|
964
|
-
* <p>The VPC configuration used by the cluster control plane. Amazon EKS VPC resources have
|
|
963
|
+
* <p>The VPC configuration that's used by the cluster control plane. Amazon EKS VPC resources have
|
|
965
964
|
* specific requirements to work properly with Kubernetes. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">Cluster VPC
|
|
966
965
|
* Considerations</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html">Cluster Security Group Considerations</a> in the
|
|
967
966
|
* <i>Amazon EKS User Guide</i>. You must specify at least two subnets. You can specify up to five
|
|
968
|
-
* security groups,
|
|
967
|
+
* security groups. However, we recommend that you use a dedicated security group for your
|
|
969
968
|
* cluster control plane.</p>
|
|
970
969
|
*/
|
|
971
970
|
resourcesVpcConfig: VpcConfigRequest | undefined;
|
|
@@ -993,7 +992,7 @@ export interface CreateClusterRequest {
|
|
|
993
992
|
clientRequestToken?: string;
|
|
994
993
|
/**
|
|
995
994
|
* <p>The metadata to apply to the cluster to assist with categorization and organization.
|
|
996
|
-
* Each tag consists of a key and an optional value
|
|
995
|
+
* Each tag consists of a key and an optional value. You define both.</p>
|
|
997
996
|
*/
|
|
998
997
|
tags?: {
|
|
999
998
|
[key: string]: string;
|
|
@@ -1239,8 +1238,8 @@ export interface Cluster {
|
|
|
1239
1238
|
platformVersion?: string;
|
|
1240
1239
|
/**
|
|
1241
1240
|
* <p>The metadata that you apply to the cluster to assist with categorization and
|
|
1242
|
-
* organization. Each tag consists of a key and an optional value
|
|
1243
|
-
*
|
|
1241
|
+
* organization. Each tag consists of a key and an optional value. You define both.
|
|
1242
|
+
* Cluster tags do not propagate to any other resources associated with the
|
|
1244
1243
|
* cluster.</p>
|
|
1245
1244
|
*/
|
|
1246
1245
|
tags?: {
|
|
@@ -1396,8 +1395,8 @@ export interface CreateFargateProfileRequest {
|
|
|
1396
1395
|
clientRequestToken?: string;
|
|
1397
1396
|
/**
|
|
1398
1397
|
* <p>The metadata to apply to the Fargate profile to assist with categorization and
|
|
1399
|
-
* organization. Each tag consists of a key and an optional value
|
|
1400
|
-
*
|
|
1398
|
+
* organization. Each tag consists of a key and an optional value. You define both.
|
|
1399
|
+
* Fargate profile tags do not propagate to any other resources associated with the
|
|
1401
1400
|
* Fargate profile, such as the pods that are scheduled with it.</p>
|
|
1402
1401
|
*/
|
|
1403
1402
|
tags?: {
|
|
@@ -1451,8 +1450,8 @@ export interface FargateProfile {
|
|
|
1451
1450
|
status?: FargateProfileStatus | string;
|
|
1452
1451
|
/**
|
|
1453
1452
|
* <p>The metadata applied to the Fargate profile to assist with categorization and
|
|
1454
|
-
* organization. Each tag consists of a key and an optional value
|
|
1455
|
-
*
|
|
1453
|
+
* organization. Each tag consists of a key and an optional value. You define both.
|
|
1454
|
+
* Fargate profile tags do not propagate to any other resources associated with the
|
|
1456
1455
|
* Fargate profile, such as the pods that are scheduled with it.</p>
|
|
1457
1456
|
*/
|
|
1458
1457
|
tags?: {
|
|
@@ -1726,8 +1725,8 @@ export interface CreateNodegroupRequest {
|
|
|
1726
1725
|
taints?: Taint[];
|
|
1727
1726
|
/**
|
|
1728
1727
|
* <p>The metadata to apply to the node group to assist with categorization and
|
|
1729
|
-
* organization. Each tag consists of a key and an optional value
|
|
1730
|
-
* define. Node group tags do not propagate to any other resources associated with the node
|
|
1728
|
+
* organization. Each tag consists of a key and an optional value. You
|
|
1729
|
+
* define both. Node group tags do not propagate to any other resources associated with the node
|
|
1731
1730
|
* group, such as the Amazon EC2 instances or subnets.</p>
|
|
1732
1731
|
*/
|
|
1733
1732
|
tags?: {
|
|
@@ -2076,7 +2075,7 @@ export interface Nodegroup {
|
|
|
2076
2075
|
launchTemplate?: LaunchTemplateSpecification;
|
|
2077
2076
|
/**
|
|
2078
2077
|
* <p>The metadata applied to the node group to assist with categorization and organization.
|
|
2079
|
-
* Each tag consists of a key and an optional value
|
|
2078
|
+
* Each tag consists of a key and an optional value. You define both. Node group
|
|
2080
2079
|
* tags do not propagate to any other resources associated with the node group, such as the
|
|
2081
2080
|
* Amazon EC2 instances or subnets. </p>
|
|
2082
2081
|
*/
|
|
@@ -2478,8 +2477,7 @@ export interface OidcIdentityProviderConfig {
|
|
|
2478
2477
|
};
|
|
2479
2478
|
/**
|
|
2480
2479
|
* <p>The metadata to apply to the provider configuration to assist with categorization and
|
|
2481
|
-
* organization. Each tag consists of a key and an optional value
|
|
2482
|
-
* defined.</p>
|
|
2480
|
+
* organization. Each tag consists of a key and an optional value. You define both.</p>
|
|
2483
2481
|
*/
|
|
2484
2482
|
tags?: {
|
|
2485
2483
|
[key: string]: string;
|
|
@@ -2705,7 +2703,7 @@ export interface ListClustersRequest {
|
|
|
2705
2703
|
*/
|
|
2706
2704
|
nextToken?: string;
|
|
2707
2705
|
/**
|
|
2708
|
-
* <p>Indicates whether
|
|
2706
|
+
* <p>Indicates whether external clusters are included in the returned list. Use '<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 occurs.</p>
|
|
2709
2707
|
*/
|
|
2710
2708
|
include?: string[];
|
|
2711
2709
|
}
|
|
@@ -3073,6 +3071,20 @@ export declare namespace RegisterClusterResponse {
|
|
|
3073
3071
|
*/
|
|
3074
3072
|
const filterSensitiveLog: (obj: RegisterClusterResponse) => any;
|
|
3075
3073
|
}
|
|
3074
|
+
/**
|
|
3075
|
+
* <p>Required resources (such as Service Linked Roles) were created and are still propagating. Retry later.</p>
|
|
3076
|
+
*/
|
|
3077
|
+
export interface ResourcePropagationDelayException extends __SmithyException, $MetadataBearer {
|
|
3078
|
+
name: "ResourcePropagationDelayException";
|
|
3079
|
+
$fault: "client";
|
|
3080
|
+
message?: string;
|
|
3081
|
+
}
|
|
3082
|
+
export declare namespace ResourcePropagationDelayException {
|
|
3083
|
+
/**
|
|
3084
|
+
* @internal
|
|
3085
|
+
*/
|
|
3086
|
+
const filterSensitiveLog: (obj: ResourcePropagationDelayException) => any;
|
|
3087
|
+
}
|
|
3076
3088
|
export interface TagResourceRequest {
|
|
3077
3089
|
/**
|
|
3078
3090
|
* <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
|
|
@@ -1511,6 +1511,16 @@ export declare namespace RegisterClusterResponse {
|
|
|
1511
1511
|
|
|
1512
1512
|
const filterSensitiveLog: (obj: RegisterClusterResponse) => any;
|
|
1513
1513
|
}
|
|
1514
|
+
|
|
1515
|
+
export interface ResourcePropagationDelayException extends __SmithyException, $MetadataBearer {
|
|
1516
|
+
name: "ResourcePropagationDelayException";
|
|
1517
|
+
$fault: "client";
|
|
1518
|
+
message?: string;
|
|
1519
|
+
}
|
|
1520
|
+
export declare namespace ResourcePropagationDelayException {
|
|
1521
|
+
|
|
1522
|
+
const filterSensitiveLog: (obj: ResourcePropagationDelayException) => any;
|
|
1523
|
+
}
|
|
1514
1524
|
export interface TagResourceRequest {
|
|
1515
1525
|
|
|
1516
1526
|
resourceArn: 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.
|
|
4
|
+
"version": "3.43.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|