@aws-sdk/client-eks 3.46.0 → 3.47.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/endpoints.js +0 -24
- package/dist-cjs/models/models_0.js +3 -81
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -24
- package/dist-es/models/models_0.js +0 -52
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/EKSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -78
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/EKSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
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.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "eks.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "fips.eks.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "eks.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "fips.eks.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-east-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "eks.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "eks.us-gov-east-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "eks.us-gov-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "eks.us-gov-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "eks.us-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "fips.eks.us-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-2": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "eks.us-west-2.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "fips.eks.us-west-2.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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.
|
|
6
|
-
var AccessDeniedException;
|
|
7
|
-
(function (AccessDeniedException) {
|
|
8
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
9
|
-
...obj,
|
|
10
|
-
});
|
|
11
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
3
|
+
exports.CreateNodegroupRequest = exports.NodegroupUpdateConfig = exports.Taint = exports.TaintEffect = exports.NodegroupScalingConfig = exports.RemoteAccessConfig = exports.LaunchTemplateSpecification = exports.CreateFargateProfileResponse = exports.FargateProfile = exports.CreateFargateProfileRequest = exports.FargateProfileSelector = 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.IpFamily = exports.CreateAddonResponse = exports.CreateAddonRequest = exports.AutoScalingGroup = exports.AssociateIdentityProviderConfigResponse = exports.AssociateIdentityProviderConfigRequest = exports.OidcIdentityProviderConfigRequest = 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 = void 0;
|
|
4
|
+
exports.ListUpdatesResponse = exports.ListUpdatesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListNodegroupsResponse = exports.ListNodegroupsRequest = exports.ListIdentityProviderConfigsResponse = exports.ListIdentityProviderConfigsRequest = exports.ListFargateProfilesResponse = 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 = 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 = void 0;
|
|
12
6
|
var AddonIssueCode;
|
|
13
7
|
(function (AddonIssueCode) {
|
|
14
8
|
AddonIssueCode["ACCESS_DENIED"] = "AccessDenied";
|
|
@@ -162,42 +156,6 @@ var AssociateEncryptionConfigResponse;
|
|
|
162
156
|
...obj,
|
|
163
157
|
});
|
|
164
158
|
})(AssociateEncryptionConfigResponse = exports.AssociateEncryptionConfigResponse || (exports.AssociateEncryptionConfigResponse = {}));
|
|
165
|
-
var ClientException;
|
|
166
|
-
(function (ClientException) {
|
|
167
|
-
ClientException.filterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
});
|
|
170
|
-
})(ClientException = exports.ClientException || (exports.ClientException = {}));
|
|
171
|
-
var InvalidParameterException;
|
|
172
|
-
(function (InvalidParameterException) {
|
|
173
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
177
|
-
var InvalidRequestException;
|
|
178
|
-
(function (InvalidRequestException) {
|
|
179
|
-
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
183
|
-
var ResourceInUseException;
|
|
184
|
-
(function (ResourceInUseException) {
|
|
185
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
189
|
-
var ResourceNotFoundException;
|
|
190
|
-
(function (ResourceNotFoundException) {
|
|
191
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
});
|
|
194
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
195
|
-
var ServerException;
|
|
196
|
-
(function (ServerException) {
|
|
197
|
-
ServerException.filterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
})(ServerException = exports.ServerException || (exports.ServerException = {}));
|
|
201
159
|
var OidcIdentityProviderConfigRequest;
|
|
202
160
|
(function (OidcIdentityProviderConfigRequest) {
|
|
203
161
|
OidcIdentityProviderConfigRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -325,24 +283,6 @@ var CreateClusterResponse;
|
|
|
325
283
|
...obj,
|
|
326
284
|
});
|
|
327
285
|
})(CreateClusterResponse = exports.CreateClusterResponse || (exports.CreateClusterResponse = {}));
|
|
328
|
-
var ResourceLimitExceededException;
|
|
329
|
-
(function (ResourceLimitExceededException) {
|
|
330
|
-
ResourceLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
331
|
-
...obj,
|
|
332
|
-
});
|
|
333
|
-
})(ResourceLimitExceededException = exports.ResourceLimitExceededException || (exports.ResourceLimitExceededException = {}));
|
|
334
|
-
var ServiceUnavailableException;
|
|
335
|
-
(function (ServiceUnavailableException) {
|
|
336
|
-
ServiceUnavailableException.filterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
});
|
|
339
|
-
})(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
|
|
340
|
-
var UnsupportedAvailabilityZoneException;
|
|
341
|
-
(function (UnsupportedAvailabilityZoneException) {
|
|
342
|
-
UnsupportedAvailabilityZoneException.filterSensitiveLog = (obj) => ({
|
|
343
|
-
...obj,
|
|
344
|
-
});
|
|
345
|
-
})(UnsupportedAvailabilityZoneException = exports.UnsupportedAvailabilityZoneException || (exports.UnsupportedAvailabilityZoneException = {}));
|
|
346
286
|
var FargateProfileSelector;
|
|
347
287
|
(function (FargateProfileSelector) {
|
|
348
288
|
FargateProfileSelector.filterSensitiveLog = (obj) => ({
|
|
@@ -700,12 +640,6 @@ var ListNodegroupsResponse;
|
|
|
700
640
|
...obj,
|
|
701
641
|
});
|
|
702
642
|
})(ListNodegroupsResponse = exports.ListNodegroupsResponse || (exports.ListNodegroupsResponse = {}));
|
|
703
|
-
var BadRequestException;
|
|
704
|
-
(function (BadRequestException) {
|
|
705
|
-
BadRequestException.filterSensitiveLog = (obj) => ({
|
|
706
|
-
...obj,
|
|
707
|
-
});
|
|
708
|
-
})(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
|
|
709
643
|
var ListTagsForResourceRequest;
|
|
710
644
|
(function (ListTagsForResourceRequest) {
|
|
711
645
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -718,12 +652,6 @@ var ListTagsForResourceResponse;
|
|
|
718
652
|
...obj,
|
|
719
653
|
});
|
|
720
654
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
721
|
-
var NotFoundException;
|
|
722
|
-
(function (NotFoundException) {
|
|
723
|
-
NotFoundException.filterSensitiveLog = (obj) => ({
|
|
724
|
-
...obj,
|
|
725
|
-
});
|
|
726
|
-
})(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
|
|
727
655
|
var ListUpdatesRequest;
|
|
728
656
|
(function (ListUpdatesRequest) {
|
|
729
657
|
ListUpdatesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -766,12 +694,6 @@ var RegisterClusterResponse;
|
|
|
766
694
|
...obj,
|
|
767
695
|
});
|
|
768
696
|
})(RegisterClusterResponse = exports.RegisterClusterResponse || (exports.RegisterClusterResponse = {}));
|
|
769
|
-
var ResourcePropagationDelayException;
|
|
770
|
-
(function (ResourcePropagationDelayException) {
|
|
771
|
-
ResourcePropagationDelayException.filterSensitiveLog = (obj) => ({
|
|
772
|
-
...obj,
|
|
773
|
-
});
|
|
774
|
-
})(ResourcePropagationDelayException = exports.ResourcePropagationDelayException || (exports.ResourcePropagationDelayException = {}));
|
|
775
697
|
var TagResourceRequest;
|
|
776
698
|
(function (TagResourceRequest) {
|
|
777
699
|
TagResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "eks.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "fips.eks.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "eks.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "fips.eks.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-east-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "eks.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "eks.us-gov-east-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-gov-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "eks.us-gov-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "eks.us-gov-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-1": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "eks.us-west-1.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "fips.eks.us-west-1.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -63,10 +43,6 @@ var regionHash = {
|
|
|
63
43
|
},
|
|
64
44
|
"us-west-2": {
|
|
65
45
|
variants: [
|
|
66
|
-
{
|
|
67
|
-
hostname: "eks.us-west-2.amazonaws.com",
|
|
68
|
-
tags: [],
|
|
69
|
-
},
|
|
70
46
|
{
|
|
71
47
|
hostname: "fips.eks.us-west-2.amazonaws.com",
|
|
72
48
|
tags: ["fips"],
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
2
|
export var AddonIssueCode;
|
|
7
3
|
(function (AddonIssueCode) {
|
|
8
4
|
AddonIssueCode["ACCESS_DENIED"] = "AccessDenied";
|
|
@@ -130,30 +126,6 @@ export var AssociateEncryptionConfigResponse;
|
|
|
130
126
|
(function (AssociateEncryptionConfigResponse) {
|
|
131
127
|
AssociateEncryptionConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
128
|
})(AssociateEncryptionConfigResponse || (AssociateEncryptionConfigResponse = {}));
|
|
133
|
-
export var ClientException;
|
|
134
|
-
(function (ClientException) {
|
|
135
|
-
ClientException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
-
})(ClientException || (ClientException = {}));
|
|
137
|
-
export var InvalidParameterException;
|
|
138
|
-
(function (InvalidParameterException) {
|
|
139
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
141
|
-
export var InvalidRequestException;
|
|
142
|
-
(function (InvalidRequestException) {
|
|
143
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
145
|
-
export var ResourceInUseException;
|
|
146
|
-
(function (ResourceInUseException) {
|
|
147
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
149
|
-
export var ResourceNotFoundException;
|
|
150
|
-
(function (ResourceNotFoundException) {
|
|
151
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
153
|
-
export var ServerException;
|
|
154
|
-
(function (ServerException) {
|
|
155
|
-
ServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
-
})(ServerException || (ServerException = {}));
|
|
157
129
|
export var OidcIdentityProviderConfigRequest;
|
|
158
130
|
(function (OidcIdentityProviderConfigRequest) {
|
|
159
131
|
OidcIdentityProviderConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -243,18 +215,6 @@ export var CreateClusterResponse;
|
|
|
243
215
|
(function (CreateClusterResponse) {
|
|
244
216
|
CreateClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
217
|
})(CreateClusterResponse || (CreateClusterResponse = {}));
|
|
246
|
-
export var ResourceLimitExceededException;
|
|
247
|
-
(function (ResourceLimitExceededException) {
|
|
248
|
-
ResourceLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
-
})(ResourceLimitExceededException || (ResourceLimitExceededException = {}));
|
|
250
|
-
export var ServiceUnavailableException;
|
|
251
|
-
(function (ServiceUnavailableException) {
|
|
252
|
-
ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
-
})(ServiceUnavailableException || (ServiceUnavailableException = {}));
|
|
254
|
-
export var UnsupportedAvailabilityZoneException;
|
|
255
|
-
(function (UnsupportedAvailabilityZoneException) {
|
|
256
|
-
UnsupportedAvailabilityZoneException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
-
})(UnsupportedAvailabilityZoneException || (UnsupportedAvailabilityZoneException = {}));
|
|
258
218
|
export var FargateProfileSelector;
|
|
259
219
|
(function (FargateProfileSelector) {
|
|
260
220
|
FargateProfileSelector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -504,10 +464,6 @@ export var ListNodegroupsResponse;
|
|
|
504
464
|
(function (ListNodegroupsResponse) {
|
|
505
465
|
ListNodegroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
506
466
|
})(ListNodegroupsResponse || (ListNodegroupsResponse = {}));
|
|
507
|
-
export var BadRequestException;
|
|
508
|
-
(function (BadRequestException) {
|
|
509
|
-
BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
510
|
-
})(BadRequestException || (BadRequestException = {}));
|
|
511
467
|
export var ListTagsForResourceRequest;
|
|
512
468
|
(function (ListTagsForResourceRequest) {
|
|
513
469
|
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -516,10 +472,6 @@ export var ListTagsForResourceResponse;
|
|
|
516
472
|
(function (ListTagsForResourceResponse) {
|
|
517
473
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
518
474
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
519
|
-
export var NotFoundException;
|
|
520
|
-
(function (NotFoundException) {
|
|
521
|
-
NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
522
|
-
})(NotFoundException || (NotFoundException = {}));
|
|
523
475
|
export var ListUpdatesRequest;
|
|
524
476
|
(function (ListUpdatesRequest) {
|
|
525
477
|
ListUpdatesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -552,10 +504,6 @@ export var RegisterClusterResponse;
|
|
|
552
504
|
(function (RegisterClusterResponse) {
|
|
553
505
|
RegisterClusterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
554
506
|
})(RegisterClusterResponse || (RegisterClusterResponse = {}));
|
|
555
|
-
export var ResourcePropagationDelayException;
|
|
556
|
-
(function (ResourcePropagationDelayException) {
|
|
557
|
-
ResourcePropagationDelayException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
558
|
-
})(ResourcePropagationDelayException || (ResourcePropagationDelayException = {}));
|
|
559
507
|
export var TagResourceRequest;
|
|
560
508
|
(function (TagResourceRequest) {
|
|
561
509
|
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
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
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), 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 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
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
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
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
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, 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 RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), 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 });
|
|
19
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
10
10
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -142,6 +142,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
142
|
* @internal
|
|
143
143
|
*/
|
|
144
144
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
145
|
+
/**
|
|
146
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
147
|
+
*/
|
|
148
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
145
149
|
}
|
|
146
150
|
declare type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
147
151
|
/**
|
|
@@ -10,12 +10,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
10
10
|
$fault: "client";
|
|
11
11
|
message?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare namespace AccessDeniedException {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
18
|
-
}
|
|
19
13
|
export declare enum AddonIssueCode {
|
|
20
14
|
ACCESS_DENIED = "AccessDenied",
|
|
21
15
|
ADMISSION_REQUEST_DENIED = "AdmissionRequestDenied",
|
|
@@ -459,12 +453,6 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
459
453
|
addonName?: string;
|
|
460
454
|
message?: string;
|
|
461
455
|
}
|
|
462
|
-
export declare namespace ClientException {
|
|
463
|
-
/**
|
|
464
|
-
* @internal
|
|
465
|
-
*/
|
|
466
|
-
const filterSensitiveLog: (obj: ClientException) => any;
|
|
467
|
-
}
|
|
468
456
|
/**
|
|
469
457
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
470
458
|
* request.</p>
|
|
@@ -487,12 +475,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
487
475
|
addonName?: string;
|
|
488
476
|
message?: string;
|
|
489
477
|
}
|
|
490
|
-
export declare namespace InvalidParameterException {
|
|
491
|
-
/**
|
|
492
|
-
* @internal
|
|
493
|
-
*/
|
|
494
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
495
|
-
}
|
|
496
478
|
/**
|
|
497
479
|
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
498
480
|
* and the associated operations.</p>
|
|
@@ -511,12 +493,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
511
493
|
addonName?: string;
|
|
512
494
|
message?: string;
|
|
513
495
|
}
|
|
514
|
-
export declare namespace InvalidRequestException {
|
|
515
|
-
/**
|
|
516
|
-
* @internal
|
|
517
|
-
*/
|
|
518
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
519
|
-
}
|
|
520
496
|
/**
|
|
521
497
|
* <p>The specified resource is in use.</p>
|
|
522
498
|
*/
|
|
@@ -534,12 +510,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
534
510
|
addonName?: string;
|
|
535
511
|
message?: string;
|
|
536
512
|
}
|
|
537
|
-
export declare namespace ResourceInUseException {
|
|
538
|
-
/**
|
|
539
|
-
* @internal
|
|
540
|
-
*/
|
|
541
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
542
|
-
}
|
|
543
513
|
/**
|
|
544
514
|
* <p>The specified resource could not be found. You can view your available clusters with
|
|
545
515
|
* <a>ListClusters</a>. You can view your available managed node groups with
|
|
@@ -564,12 +534,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
564
534
|
addonName?: string;
|
|
565
535
|
message?: string;
|
|
566
536
|
}
|
|
567
|
-
export declare namespace ResourceNotFoundException {
|
|
568
|
-
/**
|
|
569
|
-
* @internal
|
|
570
|
-
*/
|
|
571
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
572
|
-
}
|
|
573
537
|
/**
|
|
574
538
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
575
539
|
*/
|
|
@@ -587,12 +551,6 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
587
551
|
addonName?: string;
|
|
588
552
|
message?: string;
|
|
589
553
|
}
|
|
590
|
-
export declare namespace ServerException {
|
|
591
|
-
/**
|
|
592
|
-
* @internal
|
|
593
|
-
*/
|
|
594
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
595
|
-
}
|
|
596
554
|
/**
|
|
597
555
|
* <p>An object representing an OpenID Connect (OIDC) configuration. Before associating an
|
|
598
556
|
* OIDC identity provider to your cluster, review the considerations in <a href="https://docs.aws.amazon.com/eks/latest/userguide/authenticate-oidc-identity-provider.html">Authenticating
|
|
@@ -1338,12 +1296,6 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
|
|
|
1338
1296
|
nodegroupName?: string;
|
|
1339
1297
|
message?: string;
|
|
1340
1298
|
}
|
|
1341
|
-
export declare namespace ResourceLimitExceededException {
|
|
1342
|
-
/**
|
|
1343
|
-
* @internal
|
|
1344
|
-
*/
|
|
1345
|
-
const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
|
|
1346
|
-
}
|
|
1347
1299
|
/**
|
|
1348
1300
|
* <p>The service is unavailable. Back off and retry the operation.</p>
|
|
1349
1301
|
*/
|
|
@@ -1352,12 +1304,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
1352
1304
|
$fault: "server";
|
|
1353
1305
|
message?: string;
|
|
1354
1306
|
}
|
|
1355
|
-
export declare namespace ServiceUnavailableException {
|
|
1356
|
-
/**
|
|
1357
|
-
* @internal
|
|
1358
|
-
*/
|
|
1359
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
1360
|
-
}
|
|
1361
1307
|
/**
|
|
1362
1308
|
* <p>At least one of your specified cluster subnets is in an Availability Zone that does
|
|
1363
1309
|
* not support Amazon EKS. The exception output specifies the supported
|
|
@@ -1382,12 +1328,6 @@ export interface UnsupportedAvailabilityZoneException extends __SmithyException,
|
|
|
1382
1328
|
*/
|
|
1383
1329
|
validZones?: string[];
|
|
1384
1330
|
}
|
|
1385
|
-
export declare namespace UnsupportedAvailabilityZoneException {
|
|
1386
|
-
/**
|
|
1387
|
-
* @internal
|
|
1388
|
-
*/
|
|
1389
|
-
const filterSensitiveLog: (obj: UnsupportedAvailabilityZoneException) => any;
|
|
1390
|
-
}
|
|
1391
1331
|
/**
|
|
1392
1332
|
* <p>An object representing an Fargate profile selector.</p>
|
|
1393
1333
|
*/
|
|
@@ -2955,12 +2895,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
2955
2895
|
$fault: "client";
|
|
2956
2896
|
message?: string;
|
|
2957
2897
|
}
|
|
2958
|
-
export declare namespace BadRequestException {
|
|
2959
|
-
/**
|
|
2960
|
-
* @internal
|
|
2961
|
-
*/
|
|
2962
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
2963
|
-
}
|
|
2964
2898
|
export interface ListTagsForResourceRequest {
|
|
2965
2899
|
/**
|
|
2966
2900
|
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the
|
|
@@ -2997,12 +2931,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
2997
2931
|
$fault: "client";
|
|
2998
2932
|
message?: string;
|
|
2999
2933
|
}
|
|
3000
|
-
export declare namespace NotFoundException {
|
|
3001
|
-
/**
|
|
3002
|
-
* @internal
|
|
3003
|
-
*/
|
|
3004
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
3005
|
-
}
|
|
3006
2934
|
export interface ListUpdatesRequest {
|
|
3007
2935
|
/**
|
|
3008
2936
|
* <p>The name of the Amazon EKS cluster to list updates for.</p>
|
|
@@ -3142,12 +3070,6 @@ export interface ResourcePropagationDelayException extends __SmithyException, $M
|
|
|
3142
3070
|
$fault: "client";
|
|
3143
3071
|
message?: string;
|
|
3144
3072
|
}
|
|
3145
|
-
export declare namespace ResourcePropagationDelayException {
|
|
3146
|
-
/**
|
|
3147
|
-
* @internal
|
|
3148
|
-
*/
|
|
3149
|
-
const filterSensitiveLog: (obj: ResourcePropagationDelayException) => any;
|
|
3150
|
-
}
|
|
3151
3073
|
export interface TagResourceRequest {
|
|
3152
3074
|
/**
|
|
3153
3075
|
* <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { EKSClientConfig } from "./EKSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { EKSClientConfig } from "./EKSClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
10
10
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -85,6 +85,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
85
85
|
regionInfoProvider?: RegionInfoProvider;
|
|
86
86
|
|
|
87
87
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
88
|
+
|
|
89
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
88
90
|
}
|
|
89
91
|
declare type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
90
92
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export declare enum AddonIssueCode {
|
|
13
9
|
ACCESS_DENIED = "AccessDenied",
|
|
14
10
|
ADMISSION_REQUEST_DENIED = "AdmissionRequestDenied",
|
|
@@ -265,10 +261,6 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
265
261
|
addonName?: string;
|
|
266
262
|
message?: string;
|
|
267
263
|
}
|
|
268
|
-
export declare namespace ClientException {
|
|
269
|
-
|
|
270
|
-
const filterSensitiveLog: (obj: ClientException) => any;
|
|
271
|
-
}
|
|
272
264
|
|
|
273
265
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
274
266
|
name: "InvalidParameterException";
|
|
@@ -282,10 +274,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
282
274
|
addonName?: string;
|
|
283
275
|
message?: string;
|
|
284
276
|
}
|
|
285
|
-
export declare namespace InvalidParameterException {
|
|
286
|
-
|
|
287
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
288
|
-
}
|
|
289
277
|
|
|
290
278
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
291
279
|
name: "InvalidRequestException";
|
|
@@ -297,10 +285,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
297
285
|
addonName?: string;
|
|
298
286
|
message?: string;
|
|
299
287
|
}
|
|
300
|
-
export declare namespace InvalidRequestException {
|
|
301
|
-
|
|
302
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
303
|
-
}
|
|
304
288
|
|
|
305
289
|
export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
|
|
306
290
|
name: "ResourceInUseException";
|
|
@@ -312,10 +296,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
312
296
|
addonName?: string;
|
|
313
297
|
message?: string;
|
|
314
298
|
}
|
|
315
|
-
export declare namespace ResourceInUseException {
|
|
316
|
-
|
|
317
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
318
|
-
}
|
|
319
299
|
|
|
320
300
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
321
301
|
name: "ResourceNotFoundException";
|
|
@@ -329,10 +309,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
329
309
|
addonName?: string;
|
|
330
310
|
message?: string;
|
|
331
311
|
}
|
|
332
|
-
export declare namespace ResourceNotFoundException {
|
|
333
|
-
|
|
334
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
335
|
-
}
|
|
336
312
|
|
|
337
313
|
export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
338
314
|
name: "ServerException";
|
|
@@ -344,10 +320,6 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
344
320
|
addonName?: string;
|
|
345
321
|
message?: string;
|
|
346
322
|
}
|
|
347
|
-
export declare namespace ServerException {
|
|
348
|
-
|
|
349
|
-
const filterSensitiveLog: (obj: ServerException) => any;
|
|
350
|
-
}
|
|
351
323
|
|
|
352
324
|
export interface OidcIdentityProviderConfigRequest {
|
|
353
325
|
|
|
@@ -666,20 +638,12 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
|
|
|
666
638
|
nodegroupName?: string;
|
|
667
639
|
message?: string;
|
|
668
640
|
}
|
|
669
|
-
export declare namespace ResourceLimitExceededException {
|
|
670
|
-
|
|
671
|
-
const filterSensitiveLog: (obj: ResourceLimitExceededException) => any;
|
|
672
|
-
}
|
|
673
641
|
|
|
674
642
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
675
643
|
name: "ServiceUnavailableException";
|
|
676
644
|
$fault: "server";
|
|
677
645
|
message?: string;
|
|
678
646
|
}
|
|
679
|
-
export declare namespace ServiceUnavailableException {
|
|
680
|
-
|
|
681
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
682
|
-
}
|
|
683
647
|
|
|
684
648
|
export interface UnsupportedAvailabilityZoneException extends __SmithyException, $MetadataBearer {
|
|
685
649
|
name: "UnsupportedAvailabilityZoneException";
|
|
@@ -692,10 +656,6 @@ export interface UnsupportedAvailabilityZoneException extends __SmithyException,
|
|
|
692
656
|
|
|
693
657
|
validZones?: string[];
|
|
694
658
|
}
|
|
695
|
-
export declare namespace UnsupportedAvailabilityZoneException {
|
|
696
|
-
|
|
697
|
-
const filterSensitiveLog: (obj: UnsupportedAvailabilityZoneException) => any;
|
|
698
|
-
}
|
|
699
659
|
|
|
700
660
|
export interface FargateProfileSelector {
|
|
701
661
|
|
|
@@ -1417,10 +1377,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
1417
1377
|
$fault: "client";
|
|
1418
1378
|
message?: string;
|
|
1419
1379
|
}
|
|
1420
|
-
export declare namespace BadRequestException {
|
|
1421
|
-
|
|
1422
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
1423
|
-
}
|
|
1424
1380
|
export interface ListTagsForResourceRequest {
|
|
1425
1381
|
|
|
1426
1382
|
resourceArn: string | undefined;
|
|
@@ -1445,10 +1401,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
1445
1401
|
$fault: "client";
|
|
1446
1402
|
message?: string;
|
|
1447
1403
|
}
|
|
1448
|
-
export declare namespace NotFoundException {
|
|
1449
|
-
|
|
1450
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
1451
|
-
}
|
|
1452
1404
|
export interface ListUpdatesRequest {
|
|
1453
1405
|
|
|
1454
1406
|
name: string | undefined;
|
|
@@ -1527,10 +1479,6 @@ export interface ResourcePropagationDelayException extends __SmithyException, $M
|
|
|
1527
1479
|
$fault: "client";
|
|
1528
1480
|
message?: string;
|
|
1529
1481
|
}
|
|
1530
|
-
export declare namespace ResourcePropagationDelayException {
|
|
1531
|
-
|
|
1532
|
-
const filterSensitiveLog: (obj: ResourcePropagationDelayException) => any;
|
|
1533
|
-
}
|
|
1534
1482
|
export interface TagResourceRequest {
|
|
1535
1483
|
|
|
1536
1484
|
resourceArn: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { EKSClientConfig } from "./EKSClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { EKSClientConfig } from "./EKSClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
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.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,40 +18,42 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
52
52
|
"tslib": "^2.3.0",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0"
|
|
59
59
|
},
|