@aws-sdk/client-eks 3.474.0 → 3.476.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/README.md +75 -3
- package/dist-cjs/EKS.js +18 -0
- package/dist-cjs/commands/AssociateAccessPolicyCommand.js +51 -0
- package/dist-cjs/commands/CreateAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DeleteAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DescribeAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListAccessEntriesCommand.js +51 -0
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +51 -0
- package/dist-cjs/commands/UpdateAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +87 -76
- package/dist-cjs/pagination/ListAccessEntriesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +610 -2
- package/dist-es/EKS.js +18 -0
- package/dist-es/commands/AssociateAccessPolicyCommand.js +47 -0
- package/dist-es/commands/CreateAccessEntryCommand.js +47 -0
- package/dist-es/commands/DeleteAccessEntryCommand.js +47 -0
- package/dist-es/commands/DescribeAccessEntryCommand.js +47 -0
- package/dist-es/commands/DisassociateAccessPolicyCommand.js +47 -0
- package/dist-es/commands/ListAccessEntriesCommand.js +47 -0
- package/dist-es/commands/ListAccessPoliciesCommand.js +47 -0
- package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +47 -0
- package/dist-es/commands/UpdateAccessEntryCommand.js +47 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +81 -70
- package/dist-es/pagination/ListAccessEntriesPaginator.js +25 -0
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +589 -0
- package/dist-types/EKS.d.ts +66 -3
- package/dist-types/EKSClient.d.ts +14 -5
- package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +111 -0
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +8 -9
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +9 -10
- package/dist-types/commands/CreateAccessEntryCommand.d.ts +131 -0
- package/dist-types/commands/CreateAddonCommand.d.ts +2 -3
- package/dist-types/commands/CreateClusterCommand.d.ts +9 -1
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateNodegroupCommand.d.ts +8 -5
- package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +3 -4
- package/dist-types/commands/DeleteAccessEntryCommand.d.ts +87 -0
- package/dist-types/commands/DeleteAddonCommand.d.ts +5 -6
- package/dist-types/commands/DeleteClusterCommand.d.ts +10 -6
- package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
- package/dist-types/commands/DeleteNodegroupCommand.d.ts +3 -4
- package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +2 -3
- package/dist-types/commands/DeregisterClusterCommand.d.ts +8 -3
- package/dist-types/commands/DescribeAccessEntryCommand.d.ts +100 -0
- package/dist-types/commands/DescribeAddonCommand.d.ts +2 -3
- package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeClusterCommand.d.ts +10 -6
- package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/DescribeFargateProfileCommand.d.ts +3 -4
- package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +3 -4
- package/dist-types/commands/DescribeNodegroupCommand.d.ts +3 -4
- package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +2 -3
- package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -7
- package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +85 -0
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +8 -9
- package/dist-types/commands/ListAccessEntriesCommand.d.ts +95 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +83 -0
- package/dist-types/commands/ListAddonsCommand.d.ts +2 -3
- package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +103 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListFargateProfilesCommand.d.ts +3 -4
- package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +3 -4
- package/dist-types/commands/ListNodegroupsCommand.d.ts +4 -6
- package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +2 -3
- package/dist-types/commands/ListUpdatesCommand.d.ts +3 -5
- package/dist-types/commands/RegisterClusterCommand.d.ts +8 -3
- package/dist-types/commands/TagResourceCommand.d.ts +6 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessEntryCommand.d.ts +109 -0
- package/dist-types/commands/UpdateAddonCommand.d.ts +4 -5
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +9 -8
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +4 -5
- package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +8 -9
- package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +3 -4
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +1256 -556
- package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/EKS.d.ts +153 -0
- package/dist-types/ts3.4/EKSClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +189 -54
- package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +4 -4
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAccessEntryCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateAccessEntryCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAccessEntryCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "EKSClient";
|
|
29
|
+
const commandName = "UpdateAccessEntryCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSWesleyFrontend",
|
|
38
|
+
operation: "UpdateAccessEntry",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateAccessEntryCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateAccessEntryCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateAccessEntryCommand = UpdateAccessEntryCommand;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AssociateAccessPolicyCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./AssociateEncryptionConfigCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AssociateIdentityProviderConfigCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateAccessEntryCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./CreateAddonCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./CreateEksAnywhereSubscriptionCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateFargateProfileCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./CreateNodegroupCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./CreatePodIdentityAssociationCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteAccessEntryCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./DeleteAddonCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./DeleteEksAnywhereSubscriptionCommand"), exports);
|
|
@@ -16,6 +19,7 @@ tslib_1.__exportStar(require("./DeleteFargateProfileCommand"), exports);
|
|
|
16
19
|
tslib_1.__exportStar(require("./DeleteNodegroupCommand"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./DeletePodIdentityAssociationCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./DeregisterClusterCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./DescribeAccessEntryCommand"), exports);
|
|
19
23
|
tslib_1.__exportStar(require("./DescribeAddonCommand"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./DescribeAddonConfigurationCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./DescribeAddonVersionsCommand"), exports);
|
|
@@ -26,8 +30,12 @@ tslib_1.__exportStar(require("./DescribeIdentityProviderConfigCommand"), exports
|
|
|
26
30
|
tslib_1.__exportStar(require("./DescribeNodegroupCommand"), exports);
|
|
27
31
|
tslib_1.__exportStar(require("./DescribePodIdentityAssociationCommand"), exports);
|
|
28
32
|
tslib_1.__exportStar(require("./DescribeUpdateCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DisassociateAccessPolicyCommand"), exports);
|
|
29
34
|
tslib_1.__exportStar(require("./DisassociateIdentityProviderConfigCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListAccessEntriesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListAccessPoliciesCommand"), exports);
|
|
30
37
|
tslib_1.__exportStar(require("./ListAddonsCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListAssociatedAccessPoliciesCommand"), exports);
|
|
31
39
|
tslib_1.__exportStar(require("./ListClustersCommand"), exports);
|
|
32
40
|
tslib_1.__exportStar(require("./ListEksAnywhereSubscriptionsCommand"), exports);
|
|
33
41
|
tslib_1.__exportStar(require("./ListFargateProfilesCommand"), exports);
|
|
@@ -39,6 +47,7 @@ tslib_1.__exportStar(require("./ListUpdatesCommand"), exports);
|
|
|
39
47
|
tslib_1.__exportStar(require("./RegisterClusterCommand"), exports);
|
|
40
48
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
41
49
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./UpdateAccessEntryCommand"), exports);
|
|
42
51
|
tslib_1.__exportStar(require("./UpdateAddonCommand"), exports);
|
|
43
52
|
tslib_1.__exportStar(require("./UpdateClusterConfigCommand"), exports);
|
|
44
53
|
tslib_1.__exportStar(require("./UpdateClusterVersionCommand"), exports);
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.EksAnywhereSubscriptionStatus = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.EksAnywhereSubscriptionTermUnit = exports.EksAnywhereSubscriptionLicenseType = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.
|
|
3
|
+
exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.EksAnywhereSubscriptionStatus = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.EksAnywhereSubscriptionTermUnit = exports.EksAnywhereSubscriptionLicenseType = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ResourceLimitExceededException = exports.ResourceInUseException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.ServerException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessScopeType = exports.AccessDeniedException = exports.AuthenticationMode = void 0;
|
|
4
4
|
const EKSServiceException_1 = require("./EKSServiceException");
|
|
5
|
+
exports.AuthenticationMode = {
|
|
6
|
+
API: "API",
|
|
7
|
+
API_AND_CONFIG_MAP: "API_AND_CONFIG_MAP",
|
|
8
|
+
CONFIG_MAP: "CONFIG_MAP",
|
|
9
|
+
};
|
|
5
10
|
class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
|
|
6
11
|
constructor(opts) {
|
|
7
12
|
super({
|
|
@@ -15,6 +20,10 @@ class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
|
|
|
15
20
|
}
|
|
16
21
|
}
|
|
17
22
|
exports.AccessDeniedException = AccessDeniedException;
|
|
23
|
+
exports.AccessScopeType = {
|
|
24
|
+
cluster: "cluster",
|
|
25
|
+
namespace: "namespace",
|
|
26
|
+
};
|
|
18
27
|
exports.AddonIssueCode = {
|
|
19
28
|
ACCESS_DENIED: "AccessDenied",
|
|
20
29
|
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
@@ -49,6 +58,76 @@ exports.AMITypes = {
|
|
|
49
58
|
WINDOWS_FULL_2019_x86_64: "WINDOWS_FULL_2019_x86_64",
|
|
50
59
|
WINDOWS_FULL_2022_x86_64: "WINDOWS_FULL_2022_x86_64",
|
|
51
60
|
};
|
|
61
|
+
class InvalidParameterException extends EKSServiceException_1.EKSServiceException {
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "InvalidParameterException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
this.name = "InvalidParameterException";
|
|
69
|
+
this.$fault = "client";
|
|
70
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
71
|
+
this.clusterName = opts.clusterName;
|
|
72
|
+
this.nodegroupName = opts.nodegroupName;
|
|
73
|
+
this.fargateProfileName = opts.fargateProfileName;
|
|
74
|
+
this.addonName = opts.addonName;
|
|
75
|
+
this.subscriptionId = opts.subscriptionId;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
79
|
+
class InvalidRequestException extends EKSServiceException_1.EKSServiceException {
|
|
80
|
+
constructor(opts) {
|
|
81
|
+
super({
|
|
82
|
+
name: "InvalidRequestException",
|
|
83
|
+
$fault: "client",
|
|
84
|
+
...opts,
|
|
85
|
+
});
|
|
86
|
+
this.name = "InvalidRequestException";
|
|
87
|
+
this.$fault = "client";
|
|
88
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
89
|
+
this.clusterName = opts.clusterName;
|
|
90
|
+
this.nodegroupName = opts.nodegroupName;
|
|
91
|
+
this.addonName = opts.addonName;
|
|
92
|
+
this.subscriptionId = opts.subscriptionId;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
96
|
+
class ResourceNotFoundException extends EKSServiceException_1.EKSServiceException {
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "ResourceNotFoundException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
this.name = "ResourceNotFoundException";
|
|
104
|
+
this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
106
|
+
this.clusterName = opts.clusterName;
|
|
107
|
+
this.nodegroupName = opts.nodegroupName;
|
|
108
|
+
this.fargateProfileName = opts.fargateProfileName;
|
|
109
|
+
this.addonName = opts.addonName;
|
|
110
|
+
this.subscriptionId = opts.subscriptionId;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
114
|
+
class ServerException extends EKSServiceException_1.EKSServiceException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ServerException",
|
|
118
|
+
$fault: "server",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "ServerException";
|
|
122
|
+
this.$fault = "server";
|
|
123
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
124
|
+
this.clusterName = opts.clusterName;
|
|
125
|
+
this.nodegroupName = opts.nodegroupName;
|
|
126
|
+
this.addonName = opts.addonName;
|
|
127
|
+
this.subscriptionId = opts.subscriptionId;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.ServerException = ServerException;
|
|
52
131
|
exports.ErrorCode = {
|
|
53
132
|
ACCESS_DENIED: "AccessDenied",
|
|
54
133
|
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
@@ -70,6 +149,7 @@ exports.ErrorCode = {
|
|
|
70
149
|
};
|
|
71
150
|
exports.UpdateParamType = {
|
|
72
151
|
ADDON_VERSION: "AddonVersion",
|
|
152
|
+
AUTHENTICATION_MODE: "AuthenticationMode",
|
|
73
153
|
CLUSTER_LOGGING: "ClusterLogging",
|
|
74
154
|
CONFIGURATION_VALUES: "ConfigurationValues",
|
|
75
155
|
DESIRED_SIZE: "DesiredSize",
|
|
@@ -103,6 +183,7 @@ exports.UpdateStatus = {
|
|
|
103
183
|
SUCCESSFUL: "Successful",
|
|
104
184
|
};
|
|
105
185
|
exports.UpdateType = {
|
|
186
|
+
ACCESS_CONFIG_UPDATE: "AccessConfigUpdate",
|
|
106
187
|
ADDON_UPDATE: "AddonUpdate",
|
|
107
188
|
ASSOCIATE_ENCRYPTION_CONFIG: "AssociateEncryptionConfig",
|
|
108
189
|
ASSOCIATE_IDENTITY_PROVIDER_CONFIG: "AssociateIdentityProviderConfig",
|
|
@@ -130,41 +211,6 @@ class ClientException extends EKSServiceException_1.EKSServiceException {
|
|
|
130
211
|
}
|
|
131
212
|
}
|
|
132
213
|
exports.ClientException = ClientException;
|
|
133
|
-
class InvalidParameterException extends EKSServiceException_1.EKSServiceException {
|
|
134
|
-
constructor(opts) {
|
|
135
|
-
super({
|
|
136
|
-
name: "InvalidParameterException",
|
|
137
|
-
$fault: "client",
|
|
138
|
-
...opts,
|
|
139
|
-
});
|
|
140
|
-
this.name = "InvalidParameterException";
|
|
141
|
-
this.$fault = "client";
|
|
142
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
143
|
-
this.clusterName = opts.clusterName;
|
|
144
|
-
this.nodegroupName = opts.nodegroupName;
|
|
145
|
-
this.fargateProfileName = opts.fargateProfileName;
|
|
146
|
-
this.addonName = opts.addonName;
|
|
147
|
-
this.subscriptionId = opts.subscriptionId;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
151
|
-
class InvalidRequestException extends EKSServiceException_1.EKSServiceException {
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "InvalidRequestException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
this.name = "InvalidRequestException";
|
|
159
|
-
this.$fault = "client";
|
|
160
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
161
|
-
this.clusterName = opts.clusterName;
|
|
162
|
-
this.nodegroupName = opts.nodegroupName;
|
|
163
|
-
this.addonName = opts.addonName;
|
|
164
|
-
this.subscriptionId = opts.subscriptionId;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
exports.InvalidRequestException = InvalidRequestException;
|
|
168
214
|
class ResourceInUseException extends EKSServiceException_1.EKSServiceException {
|
|
169
215
|
constructor(opts) {
|
|
170
216
|
super({
|
|
@@ -181,41 +227,22 @@ class ResourceInUseException extends EKSServiceException_1.EKSServiceException {
|
|
|
181
227
|
}
|
|
182
228
|
}
|
|
183
229
|
exports.ResourceInUseException = ResourceInUseException;
|
|
184
|
-
class
|
|
230
|
+
class ResourceLimitExceededException extends EKSServiceException_1.EKSServiceException {
|
|
185
231
|
constructor(opts) {
|
|
186
232
|
super({
|
|
187
|
-
name: "
|
|
233
|
+
name: "ResourceLimitExceededException",
|
|
188
234
|
$fault: "client",
|
|
189
235
|
...opts,
|
|
190
236
|
});
|
|
191
|
-
this.name = "
|
|
237
|
+
this.name = "ResourceLimitExceededException";
|
|
192
238
|
this.$fault = "client";
|
|
193
|
-
Object.setPrototypeOf(this,
|
|
194
|
-
this.clusterName = opts.clusterName;
|
|
195
|
-
this.nodegroupName = opts.nodegroupName;
|
|
196
|
-
this.fargateProfileName = opts.fargateProfileName;
|
|
197
|
-
this.addonName = opts.addonName;
|
|
198
|
-
this.subscriptionId = opts.subscriptionId;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
202
|
-
class ServerException extends EKSServiceException_1.EKSServiceException {
|
|
203
|
-
constructor(opts) {
|
|
204
|
-
super({
|
|
205
|
-
name: "ServerException",
|
|
206
|
-
$fault: "server",
|
|
207
|
-
...opts,
|
|
208
|
-
});
|
|
209
|
-
this.name = "ServerException";
|
|
210
|
-
this.$fault = "server";
|
|
211
|
-
Object.setPrototypeOf(this, ServerException.prototype);
|
|
239
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
212
240
|
this.clusterName = opts.clusterName;
|
|
213
241
|
this.nodegroupName = opts.nodegroupName;
|
|
214
|
-
this.addonName = opts.addonName;
|
|
215
242
|
this.subscriptionId = opts.subscriptionId;
|
|
216
243
|
}
|
|
217
244
|
}
|
|
218
|
-
exports.
|
|
245
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
219
246
|
exports.ResolveConflicts = {
|
|
220
247
|
NONE: "NONE",
|
|
221
248
|
OVERWRITE: "OVERWRITE",
|
|
@@ -261,22 +288,6 @@ exports.ClusterStatus = {
|
|
|
261
288
|
PENDING: "PENDING",
|
|
262
289
|
UPDATING: "UPDATING",
|
|
263
290
|
};
|
|
264
|
-
class ResourceLimitExceededException extends EKSServiceException_1.EKSServiceException {
|
|
265
|
-
constructor(opts) {
|
|
266
|
-
super({
|
|
267
|
-
name: "ResourceLimitExceededException",
|
|
268
|
-
$fault: "client",
|
|
269
|
-
...opts,
|
|
270
|
-
});
|
|
271
|
-
this.name = "ResourceLimitExceededException";
|
|
272
|
-
this.$fault = "client";
|
|
273
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
274
|
-
this.clusterName = opts.clusterName;
|
|
275
|
-
this.nodegroupName = opts.nodegroupName;
|
|
276
|
-
this.subscriptionId = opts.subscriptionId;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
280
291
|
class ServiceUnavailableException extends EKSServiceException_1.EKSServiceException {
|
|
281
292
|
constructor(opts) {
|
|
282
293
|
super({
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessEntries = void 0;
|
|
4
|
+
const ListAccessEntriesCommand_1 = require("../commands/ListAccessEntriesCommand");
|
|
5
|
+
const EKSClient_1 = require("../EKSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessEntriesCommand_1.ListAccessEntriesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessEntries(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EKSClient_1.EKSClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessEntries = paginateListAccessEntries;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAccessPolicies = void 0;
|
|
4
|
+
const ListAccessPoliciesCommand_1 = require("../commands/ListAccessPoliciesCommand");
|
|
5
|
+
const EKSClient_1 = require("../EKSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAccessPoliciesCommand_1.ListAccessPoliciesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAccessPolicies(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EKSClient_1.EKSClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAccessPolicies = paginateListAccessPolicies;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssociatedAccessPolicies = void 0;
|
|
4
|
+
const ListAssociatedAccessPoliciesCommand_1 = require("../commands/ListAssociatedAccessPoliciesCommand");
|
|
5
|
+
const EKSClient_1 = require("../EKSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAssociatedAccessPoliciesCommand_1.ListAssociatedAccessPoliciesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAssociatedAccessPolicies(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EKSClient_1.EKSClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EKS | EKSClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAssociatedAccessPolicies = paginateListAssociatedAccessPolicies;
|
|
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DescribeAddonVersionsPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListAccessEntriesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListAccessPoliciesPaginator"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./ListAddonsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListAssociatedAccessPoliciesPaginator"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./ListEksAnywhereSubscriptionsPaginator"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./ListFargateProfilesPaginator"), exports);
|