@aws-sdk/client-eks 3.39.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 +49 -0
- package/dist-cjs/endpoints.js +140 -23
- package/dist-cjs/models/models_0.js +15 -3
- package/dist-cjs/protocols/Aws_restJson1.js +59 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +140 -23
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +135 -71
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/EKS.d.ts +10 -9
- package/dist-types/EKSClient.d.ts +8 -0
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateAddonCommand.d.ts +6 -5
- package/dist-types/commands/CreateClusterCommand.d.ts +5 -5
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateNodegroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAddonCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNodegroupCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddonCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFargateProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNodegroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListAddonsCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListFargateProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListNodegroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/RegisterClusterCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAddonCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +89 -28
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/EKSClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var AccessDeniedException;
|
|
3
|
+
(function (AccessDeniedException) {
|
|
4
|
+
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
2
6
|
export var AddonIssueCode;
|
|
3
7
|
(function (AddonIssueCode) {
|
|
4
8
|
AddonIssueCode["ACCESS_DENIED"] = "AccessDenied";
|
|
@@ -543,6 +547,10 @@ export var RegisterClusterResponse;
|
|
|
543
547
|
(function (RegisterClusterResponse) {
|
|
544
548
|
RegisterClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
545
549
|
})(RegisterClusterResponse || (RegisterClusterResponse = {}));
|
|
550
|
+
export var ResourcePropagationDelayException;
|
|
551
|
+
(function (ResourcePropagationDelayException) {
|
|
552
|
+
ResourcePropagationDelayException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
553
|
+
})(ResourcePropagationDelayException || (ResourcePropagationDelayException = {}));
|
|
546
554
|
export var TagResourceRequest;
|
|
547
555
|
(function (TagResourceRequest) {
|
|
548
556
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -967,10 +967,10 @@ export var serializeAws_restJson1RegisterClusterCommand = function (input, conte
|
|
|
967
967
|
"content-type": "application/json",
|
|
968
968
|
};
|
|
969
969
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cluster-registrations";
|
|
970
|
-
body = JSON.stringify(__assign(__assign({ clientRequestToken: (_c = input.clientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.connectorConfig !== undefined &&
|
|
970
|
+
body = JSON.stringify(__assign(__assign(__assign({ clientRequestToken: (_c = input.clientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.connectorConfig !== undefined &&
|
|
971
971
|
input.connectorConfig !== null && {
|
|
972
972
|
connectorConfig: serializeAws_restJson1ConnectorConfigRequest(input.connectorConfig, context),
|
|
973
|
-
})), (input.name !== undefined && input.name !== null && { name: input.name })));
|
|
973
|
+
})), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
974
974
|
return [2, new __HttpRequest({
|
|
975
975
|
protocol: protocol,
|
|
976
976
|
hostname: hostname,
|
|
@@ -2309,68 +2309,76 @@ export var deserializeAws_restJson1DeregisterClusterCommand = function (output,
|
|
|
2309
2309
|
});
|
|
2310
2310
|
}); };
|
|
2311
2311
|
var deserializeAws_restJson1DeregisterClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2312
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
2313
|
-
var
|
|
2314
|
-
return __generator(this, function (
|
|
2315
|
-
switch (
|
|
2312
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
|
|
2313
|
+
var _j;
|
|
2314
|
+
return __generator(this, function (_k) {
|
|
2315
|
+
switch (_k.label) {
|
|
2316
2316
|
case 0:
|
|
2317
2317
|
_a = [__assign({}, output)];
|
|
2318
|
-
|
|
2318
|
+
_j = {};
|
|
2319
2319
|
return [4, parseBody(output.body, context)];
|
|
2320
2320
|
case 1:
|
|
2321
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2321
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
|
|
2322
2322
|
errorCode = "UnknownError";
|
|
2323
2323
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2324
2324
|
_b = errorCode;
|
|
2325
2325
|
switch (_b) {
|
|
2326
|
-
case "
|
|
2327
|
-
case "com.amazonaws.eks#
|
|
2328
|
-
case "
|
|
2329
|
-
case "com.amazonaws.eks#
|
|
2330
|
-
case "
|
|
2331
|
-
case "com.amazonaws.eks#
|
|
2332
|
-
case "
|
|
2333
|
-
case "com.amazonaws.eks#
|
|
2334
|
-
case "
|
|
2335
|
-
case "com.amazonaws.eks#
|
|
2326
|
+
case "AccessDeniedException": return [3, 2];
|
|
2327
|
+
case "com.amazonaws.eks#AccessDeniedException": return [3, 2];
|
|
2328
|
+
case "ClientException": return [3, 4];
|
|
2329
|
+
case "com.amazonaws.eks#ClientException": return [3, 4];
|
|
2330
|
+
case "ResourceInUseException": return [3, 6];
|
|
2331
|
+
case "com.amazonaws.eks#ResourceInUseException": return [3, 6];
|
|
2332
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
2333
|
+
case "com.amazonaws.eks#ResourceNotFoundException": return [3, 8];
|
|
2334
|
+
case "ServerException": return [3, 10];
|
|
2335
|
+
case "com.amazonaws.eks#ServerException": return [3, 10];
|
|
2336
|
+
case "ServiceUnavailableException": return [3, 12];
|
|
2337
|
+
case "com.amazonaws.eks#ServiceUnavailableException": return [3, 12];
|
|
2336
2338
|
}
|
|
2337
|
-
return [3,
|
|
2339
|
+
return [3, 14];
|
|
2338
2340
|
case 2:
|
|
2339
2341
|
_c = [{}];
|
|
2340
|
-
return [4,
|
|
2342
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2341
2343
|
case 3:
|
|
2342
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
2343
|
-
return [3,
|
|
2344
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2345
|
+
return [3, 15];
|
|
2344
2346
|
case 4:
|
|
2345
2347
|
_d = [{}];
|
|
2346
|
-
return [4,
|
|
2348
|
+
return [4, deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)];
|
|
2347
2349
|
case 5:
|
|
2348
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
2349
|
-
return [3,
|
|
2350
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2351
|
+
return [3, 15];
|
|
2350
2352
|
case 6:
|
|
2351
2353
|
_e = [{}];
|
|
2352
|
-
return [4,
|
|
2354
|
+
return [4, deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
2353
2355
|
case 7:
|
|
2354
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
2355
|
-
return [3,
|
|
2356
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2357
|
+
return [3, 15];
|
|
2356
2358
|
case 8:
|
|
2357
2359
|
_f = [{}];
|
|
2358
|
-
return [4,
|
|
2360
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2359
2361
|
case 9:
|
|
2360
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
2361
|
-
return [3,
|
|
2362
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2363
|
+
return [3, 15];
|
|
2362
2364
|
case 10:
|
|
2363
2365
|
_g = [{}];
|
|
2364
|
-
return [4,
|
|
2366
|
+
return [4, deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)];
|
|
2365
2367
|
case 11:
|
|
2366
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
2367
|
-
return [3,
|
|
2368
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2369
|
+
return [3, 15];
|
|
2368
2370
|
case 12:
|
|
2371
|
+
_h = [{}];
|
|
2372
|
+
return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
2373
|
+
case 13:
|
|
2374
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2375
|
+
return [3, 15];
|
|
2376
|
+
case 14:
|
|
2369
2377
|
parsedBody = parsedOutput.body;
|
|
2370
2378
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2371
2379
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2372
|
-
|
|
2373
|
-
case
|
|
2380
|
+
_k.label = 15;
|
|
2381
|
+
case 15:
|
|
2374
2382
|
message = response.message || response.Message || errorCode;
|
|
2375
2383
|
response.message = message;
|
|
2376
2384
|
delete response.Message;
|
|
@@ -3761,68 +3769,92 @@ export var deserializeAws_restJson1RegisterClusterCommand = function (output, co
|
|
|
3761
3769
|
});
|
|
3762
3770
|
}); };
|
|
3763
3771
|
var deserializeAws_restJson1RegisterClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3764
|
-
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
3765
|
-
var
|
|
3766
|
-
return __generator(this, function (
|
|
3767
|
-
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) {
|
|
3768
3776
|
case 0:
|
|
3769
3777
|
_a = [__assign({}, output)];
|
|
3770
|
-
|
|
3778
|
+
_l = {};
|
|
3771
3779
|
return [4, parseBody(output.body, context)];
|
|
3772
3780
|
case 1:
|
|
3773
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
3781
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_l.body = _m.sent(), _l)]));
|
|
3774
3782
|
errorCode = "UnknownError";
|
|
3775
3783
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3776
3784
|
_b = errorCode;
|
|
3777
3785
|
switch (_b) {
|
|
3778
|
-
case "
|
|
3779
|
-
case "com.amazonaws.eks#
|
|
3780
|
-
case "
|
|
3781
|
-
case "com.amazonaws.eks#
|
|
3782
|
-
case "
|
|
3783
|
-
case "com.amazonaws.eks#
|
|
3784
|
-
case "
|
|
3785
|
-
case "com.amazonaws.eks#
|
|
3786
|
-
case "
|
|
3787
|
-
case "com.amazonaws.eks#
|
|
3788
|
-
|
|
3789
|
-
|
|
3786
|
+
case "AccessDeniedException": return [3, 2];
|
|
3787
|
+
case "com.amazonaws.eks#AccessDeniedException": return [3, 2];
|
|
3788
|
+
case "ClientException": return [3, 4];
|
|
3789
|
+
case "com.amazonaws.eks#ClientException": return [3, 4];
|
|
3790
|
+
case "InvalidParameterException": return [3, 6];
|
|
3791
|
+
case "com.amazonaws.eks#InvalidParameterException": return [3, 6];
|
|
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];
|
|
3790
3804
|
case 2:
|
|
3791
3805
|
_c = [{}];
|
|
3792
|
-
return [4,
|
|
3806
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
3793
3807
|
case 3:
|
|
3794
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
3795
|
-
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];
|
|
3796
3810
|
case 4:
|
|
3797
3811
|
_d = [{}];
|
|
3798
|
-
return [4,
|
|
3812
|
+
return [4, deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)];
|
|
3799
3813
|
case 5:
|
|
3800
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(
|
|
3801
|
-
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];
|
|
3802
3816
|
case 6:
|
|
3803
3817
|
_e = [{}];
|
|
3804
|
-
return [4,
|
|
3818
|
+
return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
3805
3819
|
case 7:
|
|
3806
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(
|
|
3807
|
-
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];
|
|
3808
3822
|
case 8:
|
|
3809
3823
|
_f = [{}];
|
|
3810
|
-
return [4,
|
|
3824
|
+
return [4, deserializeAws_restJson1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
3811
3825
|
case 9:
|
|
3812
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(
|
|
3813
|
-
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];
|
|
3814
3828
|
case 10:
|
|
3815
3829
|
_g = [{}];
|
|
3816
|
-
return [4,
|
|
3830
|
+
return [4, deserializeAws_restJson1ResourceLimitExceededExceptionResponse(parsedOutput, context)];
|
|
3817
3831
|
case 11:
|
|
3818
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(
|
|
3819
|
-
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];
|
|
3820
3834
|
case 12:
|
|
3835
|
+
_h = [{}];
|
|
3836
|
+
return [4, deserializeAws_restJson1ResourcePropagationDelayExceptionResponse(parsedOutput, context)];
|
|
3837
|
+
case 13:
|
|
3838
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3839
|
+
return [3, 19];
|
|
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:
|
|
3821
3853
|
parsedBody = parsedOutput.body;
|
|
3822
3854
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
3823
3855
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
3824
|
-
|
|
3825
|
-
case
|
|
3856
|
+
_m.label = 19;
|
|
3857
|
+
case 19:
|
|
3826
3858
|
message = response.message || response.Message || errorCode;
|
|
3827
3859
|
response.message = message;
|
|
3828
3860
|
delete response.Message;
|
|
@@ -4468,6 +4500,22 @@ var deserializeAws_restJson1UpdateNodegroupVersionCommandError = function (outpu
|
|
|
4468
4500
|
}
|
|
4469
4501
|
});
|
|
4470
4502
|
}); };
|
|
4503
|
+
var deserializeAws_restJson1AccessDeniedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4504
|
+
var contents, data;
|
|
4505
|
+
return __generator(this, function (_a) {
|
|
4506
|
+
contents = {
|
|
4507
|
+
name: "AccessDeniedException",
|
|
4508
|
+
$fault: "client",
|
|
4509
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4510
|
+
message: undefined,
|
|
4511
|
+
};
|
|
4512
|
+
data = parsedOutput.body;
|
|
4513
|
+
if (data.message !== undefined && data.message !== null) {
|
|
4514
|
+
contents.message = __expectString(data.message);
|
|
4515
|
+
}
|
|
4516
|
+
return [2, contents];
|
|
4517
|
+
});
|
|
4518
|
+
}); };
|
|
4471
4519
|
var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4472
4520
|
var contents, data;
|
|
4473
4521
|
return __generator(this, function (_a) {
|
|
@@ -4672,6 +4720,22 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
4672
4720
|
return [2, contents];
|
|
4673
4721
|
});
|
|
4674
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
|
+
}); };
|
|
4675
4739
|
var deserializeAws_restJson1ServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4676
4740
|
var contents, data;
|
|
4677
4741
|
return __generator(this, function (_a) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
package/dist-types/EKS.d.ts
CHANGED
|
@@ -71,11 +71,12 @@ export declare class EKS extends EKSClient {
|
|
|
71
71
|
associateIdentityProviderConfig(args: AssociateIdentityProviderConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void): void;
|
|
72
72
|
/**
|
|
73
73
|
* <p>Creates an Amazon EKS add-on.</p>
|
|
74
|
-
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management
|
|
75
|
-
* operational software for Amazon EKS clusters. Amazon EKS
|
|
76
|
-
* clusters running version 1.18
|
|
74
|
+
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management
|
|
75
|
+
* of common operational software for Amazon EKS clusters. Amazon EKS
|
|
76
|
+
* add-ons require clusters running version 1.18 or later because Amazon EKS
|
|
77
77
|
* add-ons rely on the Server-side Apply Kubernetes feature, which is only available in
|
|
78
|
-
* Kubernetes 1.18 and later
|
|
78
|
+
* Kubernetes 1.18 and later. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS add-ons</a> in
|
|
79
|
+
* the <i>Amazon EKS User Guide</i>.</p>
|
|
79
80
|
*/
|
|
80
81
|
createAddon(args: CreateAddonCommandInput, options?: __HttpHandlerOptions): Promise<CreateAddonCommandOutput>;
|
|
81
82
|
createAddon(args: CreateAddonCommandInput, cb: (err: any, data?: CreateAddonCommandOutput) => void): void;
|
|
@@ -84,19 +85,19 @@ export declare class EKS extends EKSClient {
|
|
|
84
85
|
* <p>Creates an Amazon EKS control plane. </p>
|
|
85
86
|
* <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
|
|
86
87
|
* software, such as <code>etcd</code> and the API server. The control plane runs in an
|
|
87
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed
|
|
88
|
-
* 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
|
|
89
90
|
* own set of Amazon EC2 instances.</p>
|
|
90
91
|
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
91
92
|
* fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
|
|
92
93
|
* subnets to provide connectivity from the control plane instances to the nodes (for
|
|
93
94
|
* example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
|
|
94
95
|
* data flows).</p>
|
|
95
|
-
* <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
|
|
96
97
|
* the Kubernetes API server endpoint and a certificate file that is created for your
|
|
97
98
|
* cluster.</p>
|
|
98
99
|
*
|
|
99
|
-
* <p>
|
|
100
|
+
* <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
|
|
100
101
|
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
101
102
|
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
102
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>
|
|
@@ -311,7 +312,7 @@ export declare class EKS extends EKSClient {
|
|
|
311
312
|
* </code> to add it to the Amazon EKS control plane.</p>
|
|
312
313
|
* <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p>
|
|
313
314
|
*
|
|
314
|
-
* <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within
|
|
315
|
+
* <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days,
|
|
315
316
|
* then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
|
|
316
317
|
*/
|
|
317
318
|
registerCluster(args: RegisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClusterCommandOutput>;
|
|
@@ -110,6 +110,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
110
110
|
* Optional logger for logging debug/info/warn/error.
|
|
111
111
|
*/
|
|
112
112
|
logger?: __Logger;
|
|
113
|
+
/**
|
|
114
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
115
|
+
*/
|
|
116
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
117
|
+
/**
|
|
118
|
+
* Enables FIPS compatible endpoints.
|
|
119
|
+
*/
|
|
120
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
113
121
|
/**
|
|
114
122
|
* Unique service identifier.
|
|
115
123
|
* @internal
|
|
@@ -23,7 +23,7 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link AssociateEncryptionConfigCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link AssociateEncryptionConfigCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class AssociateEncryptionConfigCommand extends $Command<AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface AssociateIdentityProviderConfigCommandOutput extends AssociateI
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link AssociateIdentityProviderConfigCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link AssociateIdentityProviderConfigCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class AssociateIdentityProviderConfigCommand extends $Command<AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -8,11 +8,12 @@ export interface CreateAddonCommandOutput extends CreateAddonResponse, __Metadat
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates an Amazon EKS add-on.</p>
|
|
11
|
-
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management
|
|
12
|
-
* operational software for Amazon EKS clusters. Amazon EKS
|
|
13
|
-
* clusters running version 1.18
|
|
11
|
+
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management
|
|
12
|
+
* of common operational software for Amazon EKS clusters. Amazon EKS
|
|
13
|
+
* add-ons require clusters running version 1.18 or later because Amazon EKS
|
|
14
14
|
* add-ons rely on the Server-side Apply Kubernetes feature, which is only available in
|
|
15
|
-
* Kubernetes 1.18 and later
|
|
15
|
+
* Kubernetes 1.18 and later. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html">Amazon EKS add-ons</a> in
|
|
16
|
+
* the <i>Amazon EKS User Guide</i>.</p>
|
|
16
17
|
* @example
|
|
17
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
19
|
* ```javascript
|
|
@@ -25,7 +26,7 @@ export interface CreateAddonCommandOutput extends CreateAddonResponse, __Metadat
|
|
|
25
26
|
*
|
|
26
27
|
* @see {@link CreateAddonCommandInput} for command's `input` shape.
|
|
27
28
|
* @see {@link CreateAddonCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
29
30
|
*
|
|
30
31
|
*/
|
|
31
32
|
export declare class CreateAddonCommand extends $Command<CreateAddonCommandInput, CreateAddonCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -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>
|
|
@@ -38,7 +38,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
38
38
|
*
|
|
39
39
|
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
40
40
|
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
41
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -43,7 +43,7 @@ export interface CreateFargateProfileCommandOutput extends CreateFargateProfileR
|
|
|
43
43
|
*
|
|
44
44
|
* @see {@link CreateFargateProfileCommandInput} for command's `input` shape.
|
|
45
45
|
* @see {@link CreateFargateProfileCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
46
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
49
|
export declare class CreateFargateProfileCommand extends $Command<CreateFargateProfileCommandInput, CreateFargateProfileCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -29,7 +29,7 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link CreateNodegroupCommandInput} for command's `input` shape.
|
|
31
31
|
* @see {@link CreateNodegroupCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
export declare class CreateNodegroupCommand extends $Command<CreateNodegroupCommandInput, CreateNodegroupCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DeleteAddonCommandOutput extends DeleteAddonResponse, __Metadat
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DeleteAddonCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DeleteAddonCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DeleteAddonCommand extends $Command<DeleteAddonCommandInput, DeleteAddonCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link DeleteClusterCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link DeleteClusterCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link DeleteFargateProfileCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link DeleteFargateProfileCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class DeleteFargateProfileCommand extends $Command<DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteNodegroupCommandOutput extends DeleteNodegroupResponse, _
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteNodegroupCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteNodegroupCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteNodegroupCommand extends $Command<DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeregisterClusterCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeregisterClusterCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeregisterClusterCommand extends $Command<DeregisterClusterCommandInput, DeregisterClusterCommandOutput, EKSClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeAddonCommandOutput extends DescribeAddonResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeAddonCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeAddonCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EKSClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeAddonCommand extends $Command<DescribeAddonCommandInput, DescribeAddonCommandOutput, EKSClientResolvedConfig> {
|