@aws-sdk/client-eks-auth 3.987.0 → 3.989.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/dist-cjs/index.js +20 -277
- package/dist-cjs/models/EKSAuthServiceException.js +12 -0
- package/dist-cjs/models/errors.js +121 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +144 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +50 -44
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var EKSAuthServiceException = require('./models/EKSAuthServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -108,255 +111,6 @@ class EKSAuthClient extends smithyClient.Client {
|
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class EKSAuthServiceException extends smithyClient.ServiceException {
|
|
112
|
-
constructor(options) {
|
|
113
|
-
super(options);
|
|
114
|
-
Object.setPrototypeOf(this, EKSAuthServiceException.prototype);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
class AccessDeniedException extends EKSAuthServiceException {
|
|
119
|
-
name = "AccessDeniedException";
|
|
120
|
-
$fault = "client";
|
|
121
|
-
constructor(opts) {
|
|
122
|
-
super({
|
|
123
|
-
name: "AccessDeniedException",
|
|
124
|
-
$fault: "client",
|
|
125
|
-
...opts,
|
|
126
|
-
});
|
|
127
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
class ExpiredTokenException extends EKSAuthServiceException {
|
|
131
|
-
name = "ExpiredTokenException";
|
|
132
|
-
$fault = "client";
|
|
133
|
-
constructor(opts) {
|
|
134
|
-
super({
|
|
135
|
-
name: "ExpiredTokenException",
|
|
136
|
-
$fault: "client",
|
|
137
|
-
...opts,
|
|
138
|
-
});
|
|
139
|
-
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
class InternalServerException extends EKSAuthServiceException {
|
|
143
|
-
name = "InternalServerException";
|
|
144
|
-
$fault = "server";
|
|
145
|
-
constructor(opts) {
|
|
146
|
-
super({
|
|
147
|
-
name: "InternalServerException",
|
|
148
|
-
$fault: "server",
|
|
149
|
-
...opts,
|
|
150
|
-
});
|
|
151
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
class InvalidParameterException extends EKSAuthServiceException {
|
|
155
|
-
name = "InvalidParameterException";
|
|
156
|
-
$fault = "client";
|
|
157
|
-
constructor(opts) {
|
|
158
|
-
super({
|
|
159
|
-
name: "InvalidParameterException",
|
|
160
|
-
$fault: "client",
|
|
161
|
-
...opts,
|
|
162
|
-
});
|
|
163
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
class InvalidRequestException extends EKSAuthServiceException {
|
|
167
|
-
name = "InvalidRequestException";
|
|
168
|
-
$fault = "client";
|
|
169
|
-
constructor(opts) {
|
|
170
|
-
super({
|
|
171
|
-
name: "InvalidRequestException",
|
|
172
|
-
$fault: "client",
|
|
173
|
-
...opts,
|
|
174
|
-
});
|
|
175
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
class InvalidTokenException extends EKSAuthServiceException {
|
|
179
|
-
name = "InvalidTokenException";
|
|
180
|
-
$fault = "client";
|
|
181
|
-
constructor(opts) {
|
|
182
|
-
super({
|
|
183
|
-
name: "InvalidTokenException",
|
|
184
|
-
$fault: "client",
|
|
185
|
-
...opts,
|
|
186
|
-
});
|
|
187
|
-
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
class ResourceNotFoundException extends EKSAuthServiceException {
|
|
191
|
-
name = "ResourceNotFoundException";
|
|
192
|
-
$fault = "client";
|
|
193
|
-
constructor(opts) {
|
|
194
|
-
super({
|
|
195
|
-
name: "ResourceNotFoundException",
|
|
196
|
-
$fault: "client",
|
|
197
|
-
...opts,
|
|
198
|
-
});
|
|
199
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
class ServiceUnavailableException extends EKSAuthServiceException {
|
|
203
|
-
name = "ServiceUnavailableException";
|
|
204
|
-
$fault = "server";
|
|
205
|
-
constructor(opts) {
|
|
206
|
-
super({
|
|
207
|
-
name: "ServiceUnavailableException",
|
|
208
|
-
$fault: "server",
|
|
209
|
-
...opts,
|
|
210
|
-
});
|
|
211
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
class ThrottlingException extends EKSAuthServiceException {
|
|
215
|
-
name = "ThrottlingException";
|
|
216
|
-
$fault = "client";
|
|
217
|
-
constructor(opts) {
|
|
218
|
-
super({
|
|
219
|
-
name: "ThrottlingException",
|
|
220
|
-
$fault: "client",
|
|
221
|
-
...opts,
|
|
222
|
-
});
|
|
223
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
const _ADE = "AccessDeniedException";
|
|
228
|
-
const _ARFPI = "AssumeRoleForPodIdentity";
|
|
229
|
-
const _ARFPIR = "AssumeRoleForPodIdentityRequest";
|
|
230
|
-
const _ARFPIRs = "AssumeRoleForPodIdentityResponse";
|
|
231
|
-
const _ARU = "AssumedRoleUser";
|
|
232
|
-
const _C = "Credentials";
|
|
233
|
-
const _ETE = "ExpiredTokenException";
|
|
234
|
-
const _IPE = "InvalidParameterException";
|
|
235
|
-
const _IRE = "InvalidRequestException";
|
|
236
|
-
const _ISE = "InternalServerException";
|
|
237
|
-
const _ITE = "InvalidTokenException";
|
|
238
|
-
const _JT = "JwtToken";
|
|
239
|
-
const _PIA = "PodIdentityAssociation";
|
|
240
|
-
const _RNFE = "ResourceNotFoundException";
|
|
241
|
-
const _S = "Subject";
|
|
242
|
-
const _SUE = "ServiceUnavailableException";
|
|
243
|
-
const _TE = "ThrottlingException";
|
|
244
|
-
const _a = "arn";
|
|
245
|
-
const _aA = "associationArn";
|
|
246
|
-
const _aI = "associationId";
|
|
247
|
-
const _aKI = "accessKeyId";
|
|
248
|
-
const _aRI = "assumeRoleId";
|
|
249
|
-
const _aRU = "assumedRoleUser";
|
|
250
|
-
const _au = "audience";
|
|
251
|
-
const _c = "client";
|
|
252
|
-
const _cN = "clusterName";
|
|
253
|
-
const _cr = "credentials";
|
|
254
|
-
const _e = "error";
|
|
255
|
-
const _ex = "expiration";
|
|
256
|
-
const _h = "http";
|
|
257
|
-
const _hE = "httpError";
|
|
258
|
-
const _m = "message";
|
|
259
|
-
const _n = "namespace";
|
|
260
|
-
const _pIA = "podIdentityAssociation";
|
|
261
|
-
const _s = "subject";
|
|
262
|
-
const _sA = "serviceAccount";
|
|
263
|
-
const _sAK = "secretAccessKey";
|
|
264
|
-
const _sT = "sessionToken";
|
|
265
|
-
const _se = "server";
|
|
266
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.eksauth";
|
|
267
|
-
const _t = "token";
|
|
268
|
-
const n0 = "com.amazonaws.eksauth";
|
|
269
|
-
var JwtToken = [0, n0, _JT, 8, 0];
|
|
270
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
271
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
272
|
-
[_m],
|
|
273
|
-
[0]
|
|
274
|
-
];
|
|
275
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
276
|
-
var AssumedRoleUser$ = [3, n0, _ARU,
|
|
277
|
-
0,
|
|
278
|
-
[_a, _aRI],
|
|
279
|
-
[0, 0], 2
|
|
280
|
-
];
|
|
281
|
-
var AssumeRoleForPodIdentityRequest$ = [3, n0, _ARFPIR,
|
|
282
|
-
0,
|
|
283
|
-
[_cN, _t],
|
|
284
|
-
[[0, 1], [() => JwtToken, 0]], 2
|
|
285
|
-
];
|
|
286
|
-
var AssumeRoleForPodIdentityResponse$ = [3, n0, _ARFPIRs,
|
|
287
|
-
0,
|
|
288
|
-
[_s, _au, _pIA, _aRU, _cr],
|
|
289
|
-
[() => Subject$, 0, () => PodIdentityAssociation$, () => AssumedRoleUser$, [() => Credentials$, 0]], 5
|
|
290
|
-
];
|
|
291
|
-
var Credentials$ = [3, n0, _C,
|
|
292
|
-
8,
|
|
293
|
-
[_sT, _sAK, _aKI, _ex],
|
|
294
|
-
[0, 0, 0, 4], 4
|
|
295
|
-
];
|
|
296
|
-
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
297
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
298
|
-
[_m],
|
|
299
|
-
[0]
|
|
300
|
-
];
|
|
301
|
-
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
302
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
303
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
304
|
-
[_m],
|
|
305
|
-
[0]
|
|
306
|
-
];
|
|
307
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
308
|
-
var InvalidParameterException$ = [-3, n0, _IPE,
|
|
309
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
310
|
-
[_m],
|
|
311
|
-
[0]
|
|
312
|
-
];
|
|
313
|
-
schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
|
|
314
|
-
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
315
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
316
|
-
[_m],
|
|
317
|
-
[0]
|
|
318
|
-
];
|
|
319
|
-
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
320
|
-
var InvalidTokenException$ = [-3, n0, _ITE,
|
|
321
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
322
|
-
[_m],
|
|
323
|
-
[0]
|
|
324
|
-
];
|
|
325
|
-
schema.TypeRegistry.for(n0).registerError(InvalidTokenException$, InvalidTokenException);
|
|
326
|
-
var PodIdentityAssociation$ = [3, n0, _PIA,
|
|
327
|
-
0,
|
|
328
|
-
[_aA, _aI],
|
|
329
|
-
[0, 0], 2
|
|
330
|
-
];
|
|
331
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
332
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
333
|
-
[_m],
|
|
334
|
-
[0]
|
|
335
|
-
];
|
|
336
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
337
|
-
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
338
|
-
{ [_e]: _se, [_hE]: 503 },
|
|
339
|
-
[_m],
|
|
340
|
-
[0]
|
|
341
|
-
];
|
|
342
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
343
|
-
var Subject$ = [3, n0, _S,
|
|
344
|
-
0,
|
|
345
|
-
[_n, _sA],
|
|
346
|
-
[0, 0], 2
|
|
347
|
-
];
|
|
348
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
349
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
350
|
-
[_m],
|
|
351
|
-
[0]
|
|
352
|
-
];
|
|
353
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
354
|
-
var EKSAuthServiceException$ = [-3, _sm, "EKSAuthServiceException", 0, [], []];
|
|
355
|
-
schema.TypeRegistry.for(_sm).registerError(EKSAuthServiceException$, EKSAuthServiceException);
|
|
356
|
-
var AssumeRoleForPodIdentity$ = [9, n0, _ARFPI,
|
|
357
|
-
{ [_h]: ["POST", "/clusters/{clusterName}/assume-role-for-pod-identity", 200] }, () => AssumeRoleForPodIdentityRequest$, () => AssumeRoleForPodIdentityResponse$
|
|
358
|
-
];
|
|
359
|
-
|
|
360
114
|
class AssumeRoleForPodIdentityCommand extends smithyClient.Command
|
|
361
115
|
.classBuilder()
|
|
362
116
|
.ep(commonParams)
|
|
@@ -365,7 +119,7 @@ class AssumeRoleForPodIdentityCommand extends smithyClient.Command
|
|
|
365
119
|
})
|
|
366
120
|
.s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
|
|
367
121
|
.n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
|
|
368
|
-
.sc(AssumeRoleForPodIdentity$)
|
|
122
|
+
.sc(schemas_0.AssumeRoleForPodIdentity$)
|
|
369
123
|
.build() {
|
|
370
124
|
}
|
|
371
125
|
|
|
@@ -384,33 +138,22 @@ Object.defineProperty(exports, "__Client", {
|
|
|
384
138
|
enumerable: true,
|
|
385
139
|
get: function () { return smithyClient.Client; }
|
|
386
140
|
});
|
|
387
|
-
exports
|
|
388
|
-
|
|
389
|
-
|
|
141
|
+
Object.defineProperty(exports, "EKSAuthServiceException", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return EKSAuthServiceException.EKSAuthServiceException; }
|
|
144
|
+
});
|
|
390
145
|
exports.AssumeRoleForPodIdentityCommand = AssumeRoleForPodIdentityCommand;
|
|
391
|
-
exports.AssumeRoleForPodIdentityRequest$ = AssumeRoleForPodIdentityRequest$;
|
|
392
|
-
exports.AssumeRoleForPodIdentityResponse$ = AssumeRoleForPodIdentityResponse$;
|
|
393
|
-
exports.AssumedRoleUser$ = AssumedRoleUser$;
|
|
394
|
-
exports.Credentials$ = Credentials$;
|
|
395
146
|
exports.EKSAuth = EKSAuth;
|
|
396
147
|
exports.EKSAuthClient = EKSAuthClient;
|
|
397
|
-
|
|
398
|
-
exports.
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
exports.
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
exports.PodIdentityAssociation$ = PodIdentityAssociation$;
|
|
410
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
411
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
412
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
413
|
-
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
414
|
-
exports.Subject$ = Subject$;
|
|
415
|
-
exports.ThrottlingException = ThrottlingException;
|
|
416
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
148
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
149
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return schemas_0[k]; }
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
Object.keys(errors).forEach(function (k) {
|
|
155
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return errors[k]; }
|
|
158
|
+
});
|
|
159
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EKSAuthServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class EKSAuthServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, EKSAuthServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EKSAuthServiceException = EKSAuthServiceException;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InvalidTokenException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InternalServerException = exports.ExpiredTokenException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const EKSAuthServiceException_1 = require("./EKSAuthServiceException");
|
|
5
|
+
class AccessDeniedException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ExpiredTokenException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
19
|
+
name = "ExpiredTokenException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ExpiredTokenException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
31
|
+
class InternalServerException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
32
|
+
name = "InternalServerException";
|
|
33
|
+
$fault = "server";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.InternalServerException = InternalServerException;
|
|
44
|
+
class InvalidParameterException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
45
|
+
name = "InvalidParameterException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "InvalidParameterException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
57
|
+
class InvalidRequestException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
58
|
+
name = "InvalidRequestException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "InvalidRequestException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
70
|
+
class InvalidTokenException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
71
|
+
name = "InvalidTokenException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "InvalidTokenException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
83
|
+
class ResourceNotFoundException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
84
|
+
name = "ResourceNotFoundException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "ResourceNotFoundException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
96
|
+
class ServiceUnavailableException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
97
|
+
name = "ServiceUnavailableException";
|
|
98
|
+
$fault = "server";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ServiceUnavailableException",
|
|
102
|
+
$fault: "server",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
109
|
+
class ThrottlingException extends EKSAuthServiceException_1.EKSAuthServiceException {
|
|
110
|
+
name = "ThrottlingException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ThrottlingException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ThrottlingException = ThrottlingException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2023-11-26",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.eksauth",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2023-11-26",
|
|
33
35
|
serviceTarget: "EKSAuthFrontend",
|
|
34
36
|
},
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssumeRoleForPodIdentity$ = exports.Subject$ = exports.PodIdentityAssociation$ = exports.Credentials$ = exports.AssumeRoleForPodIdentityResponse$ = exports.AssumeRoleForPodIdentityRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.ThrottlingException$ = exports.ServiceUnavailableException$ = exports.ResourceNotFoundException$ = exports.InvalidTokenException$ = exports.InvalidRequestException$ = exports.InvalidParameterException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AccessDeniedException$ = exports.EKSAuthServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _ARFPI = "AssumeRoleForPodIdentity";
|
|
6
|
+
const _ARFPIR = "AssumeRoleForPodIdentityRequest";
|
|
7
|
+
const _ARFPIRs = "AssumeRoleForPodIdentityResponse";
|
|
8
|
+
const _ARU = "AssumedRoleUser";
|
|
9
|
+
const _C = "Credentials";
|
|
10
|
+
const _ETE = "ExpiredTokenException";
|
|
11
|
+
const _IPE = "InvalidParameterException";
|
|
12
|
+
const _IRE = "InvalidRequestException";
|
|
13
|
+
const _ISE = "InternalServerException";
|
|
14
|
+
const _ITE = "InvalidTokenException";
|
|
15
|
+
const _JT = "JwtToken";
|
|
16
|
+
const _PIA = "PodIdentityAssociation";
|
|
17
|
+
const _RNFE = "ResourceNotFoundException";
|
|
18
|
+
const _S = "Subject";
|
|
19
|
+
const _SUE = "ServiceUnavailableException";
|
|
20
|
+
const _TE = "ThrottlingException";
|
|
21
|
+
const _a = "arn";
|
|
22
|
+
const _aA = "associationArn";
|
|
23
|
+
const _aI = "associationId";
|
|
24
|
+
const _aKI = "accessKeyId";
|
|
25
|
+
const _aRI = "assumeRoleId";
|
|
26
|
+
const _aRU = "assumedRoleUser";
|
|
27
|
+
const _au = "audience";
|
|
28
|
+
const _c = "client";
|
|
29
|
+
const _cN = "clusterName";
|
|
30
|
+
const _cr = "credentials";
|
|
31
|
+
const _e = "error";
|
|
32
|
+
const _ex = "expiration";
|
|
33
|
+
const _h = "http";
|
|
34
|
+
const _hE = "httpError";
|
|
35
|
+
const _m = "message";
|
|
36
|
+
const _n = "namespace";
|
|
37
|
+
const _pIA = "podIdentityAssociation";
|
|
38
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.eksauth";
|
|
39
|
+
const _sA = "serviceAccount";
|
|
40
|
+
const _sAK = "secretAccessKey";
|
|
41
|
+
const _sT = "sessionToken";
|
|
42
|
+
const _se = "server";
|
|
43
|
+
const _su = "subject";
|
|
44
|
+
const _t = "token";
|
|
45
|
+
const n0 = "com.amazonaws.eksauth";
|
|
46
|
+
const schema_1 = require("@smithy/core/schema");
|
|
47
|
+
const EKSAuthServiceException_1 = require("../models/EKSAuthServiceException");
|
|
48
|
+
const errors_1 = require("../models/errors");
|
|
49
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
50
|
+
exports.EKSAuthServiceException$ = [-3, _s, "EKSAuthServiceException", 0, [], []];
|
|
51
|
+
_s_registry.registerError(exports.EKSAuthServiceException$, EKSAuthServiceException_1.EKSAuthServiceException);
|
|
52
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
53
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
54
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
55
|
+
[_m],
|
|
56
|
+
[0]
|
|
57
|
+
];
|
|
58
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
59
|
+
exports.ExpiredTokenException$ = [-3, n0, _ETE,
|
|
60
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
61
|
+
[_m],
|
|
62
|
+
[0]
|
|
63
|
+
];
|
|
64
|
+
n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
|
|
65
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
66
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
67
|
+
[_m],
|
|
68
|
+
[0]
|
|
69
|
+
];
|
|
70
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
71
|
+
exports.InvalidParameterException$ = [-3, n0, _IPE,
|
|
72
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
73
|
+
[_m],
|
|
74
|
+
[0]
|
|
75
|
+
];
|
|
76
|
+
n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
|
|
77
|
+
exports.InvalidRequestException$ = [-3, n0, _IRE,
|
|
78
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
79
|
+
[_m],
|
|
80
|
+
[0]
|
|
81
|
+
];
|
|
82
|
+
n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
|
|
83
|
+
exports.InvalidTokenException$ = [-3, n0, _ITE,
|
|
84
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
85
|
+
[_m],
|
|
86
|
+
[0]
|
|
87
|
+
];
|
|
88
|
+
n0_registry.registerError(exports.InvalidTokenException$, errors_1.InvalidTokenException);
|
|
89
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
90
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
91
|
+
[_m],
|
|
92
|
+
[0]
|
|
93
|
+
];
|
|
94
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
95
|
+
exports.ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
96
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
97
|
+
[_m],
|
|
98
|
+
[0]
|
|
99
|
+
];
|
|
100
|
+
n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
|
|
101
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
102
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
103
|
+
[_m],
|
|
104
|
+
[0]
|
|
105
|
+
];
|
|
106
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
107
|
+
exports.errorTypeRegistries = [
|
|
108
|
+
_s_registry,
|
|
109
|
+
n0_registry,
|
|
110
|
+
];
|
|
111
|
+
var JwtToken = [0, n0, _JT, 8, 0];
|
|
112
|
+
exports.AssumedRoleUser$ = [3, n0, _ARU,
|
|
113
|
+
0,
|
|
114
|
+
[_a, _aRI],
|
|
115
|
+
[0, 0], 2
|
|
116
|
+
];
|
|
117
|
+
exports.AssumeRoleForPodIdentityRequest$ = [3, n0, _ARFPIR,
|
|
118
|
+
0,
|
|
119
|
+
[_cN, _t],
|
|
120
|
+
[[0, 1], [() => JwtToken, 0]], 2
|
|
121
|
+
];
|
|
122
|
+
exports.AssumeRoleForPodIdentityResponse$ = [3, n0, _ARFPIRs,
|
|
123
|
+
0,
|
|
124
|
+
[_su, _au, _pIA, _aRU, _cr],
|
|
125
|
+
[() => exports.Subject$, 0, () => exports.PodIdentityAssociation$, () => exports.AssumedRoleUser$, [() => exports.Credentials$, 0]], 5
|
|
126
|
+
];
|
|
127
|
+
exports.Credentials$ = [3, n0, _C,
|
|
128
|
+
8,
|
|
129
|
+
[_sT, _sAK, _aKI, _ex],
|
|
130
|
+
[0, 0, 0, 4], 4
|
|
131
|
+
];
|
|
132
|
+
exports.PodIdentityAssociation$ = [3, n0, _PIA,
|
|
133
|
+
0,
|
|
134
|
+
[_aA, _aI],
|
|
135
|
+
[0, 0], 2
|
|
136
|
+
];
|
|
137
|
+
exports.Subject$ = [3, n0, _S,
|
|
138
|
+
0,
|
|
139
|
+
[_n, _sA],
|
|
140
|
+
[0, 0], 2
|
|
141
|
+
];
|
|
142
|
+
exports.AssumeRoleForPodIdentity$ = [9, n0, _ARFPI,
|
|
143
|
+
{ [_h]: ["POST", "/clusters/{clusterName}/assume-role-for-pod-identity", 200] }, () => exports.AssumeRoleForPodIdentityRequest$, () => exports.AssumeRoleForPodIdentityResponse$
|
|
144
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultEKSAuthHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2023-11-26",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.eksauth",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2023-11-26",
|
|
30
32
|
serviceTarget: "EKSAuthFrontend",
|
|
31
33
|
},
|
|
@@ -32,104 +32,110 @@ const _hE = "httpError";
|
|
|
32
32
|
const _m = "message";
|
|
33
33
|
const _n = "namespace";
|
|
34
34
|
const _pIA = "podIdentityAssociation";
|
|
35
|
-
const _s = "
|
|
35
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.eksauth";
|
|
36
36
|
const _sA = "serviceAccount";
|
|
37
37
|
const _sAK = "secretAccessKey";
|
|
38
38
|
const _sT = "sessionToken";
|
|
39
39
|
const _se = "server";
|
|
40
|
-
const
|
|
40
|
+
const _su = "subject";
|
|
41
41
|
const _t = "token";
|
|
42
42
|
const n0 = "com.amazonaws.eksauth";
|
|
43
43
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
44
44
|
import { EKSAuthServiceException } from "../models/EKSAuthServiceException";
|
|
45
45
|
import { AccessDeniedException, ExpiredTokenException, InternalServerException, InvalidParameterException, InvalidRequestException, InvalidTokenException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
|
|
46
|
-
|
|
46
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
47
|
+
export var EKSAuthServiceException$ = [-3, _s, "EKSAuthServiceException", 0, [], []];
|
|
48
|
+
_s_registry.registerError(EKSAuthServiceException$, EKSAuthServiceException);
|
|
49
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
47
50
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
48
51
|
{ [_e]: _c, [_hE]: 400 },
|
|
49
52
|
[_m],
|
|
50
53
|
[0]
|
|
51
54
|
];
|
|
52
|
-
|
|
53
|
-
export var AssumedRoleUser$ = [3, n0, _ARU,
|
|
54
|
-
0,
|
|
55
|
-
[_a, _aRI],
|
|
56
|
-
[0, 0], 2
|
|
57
|
-
];
|
|
58
|
-
export var AssumeRoleForPodIdentityRequest$ = [3, n0, _ARFPIR,
|
|
59
|
-
0,
|
|
60
|
-
[_cN, _t],
|
|
61
|
-
[[0, 1], [() => JwtToken, 0]], 2
|
|
62
|
-
];
|
|
63
|
-
export var AssumeRoleForPodIdentityResponse$ = [3, n0, _ARFPIRs,
|
|
64
|
-
0,
|
|
65
|
-
[_s, _au, _pIA, _aRU, _cr],
|
|
66
|
-
[() => Subject$, 0, () => PodIdentityAssociation$, () => AssumedRoleUser$, [() => Credentials$, 0]], 5
|
|
67
|
-
];
|
|
68
|
-
export var Credentials$ = [3, n0, _C,
|
|
69
|
-
8,
|
|
70
|
-
[_sT, _sAK, _aKI, _ex],
|
|
71
|
-
[0, 0, 0, 4], 4
|
|
72
|
-
];
|
|
55
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
73
56
|
export var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
74
57
|
{ [_e]: _c, [_hE]: 400 },
|
|
75
58
|
[_m],
|
|
76
59
|
[0]
|
|
77
60
|
];
|
|
78
|
-
|
|
61
|
+
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
79
62
|
export var InternalServerException$ = [-3, n0, _ISE,
|
|
80
63
|
{ [_e]: _se, [_hE]: 500 },
|
|
81
64
|
[_m],
|
|
82
65
|
[0]
|
|
83
66
|
];
|
|
84
|
-
|
|
67
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
85
68
|
export var InvalidParameterException$ = [-3, n0, _IPE,
|
|
86
69
|
{ [_e]: _c, [_hE]: 400 },
|
|
87
70
|
[_m],
|
|
88
71
|
[0]
|
|
89
72
|
];
|
|
90
|
-
|
|
73
|
+
n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
|
|
91
74
|
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
92
75
|
{ [_e]: _c, [_hE]: 400 },
|
|
93
76
|
[_m],
|
|
94
77
|
[0]
|
|
95
78
|
];
|
|
96
|
-
|
|
79
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
97
80
|
export var InvalidTokenException$ = [-3, n0, _ITE,
|
|
98
81
|
{ [_e]: _c, [_hE]: 400 },
|
|
99
82
|
[_m],
|
|
100
83
|
[0]
|
|
101
84
|
];
|
|
102
|
-
|
|
103
|
-
export var PodIdentityAssociation$ = [3, n0, _PIA,
|
|
104
|
-
0,
|
|
105
|
-
[_aA, _aI],
|
|
106
|
-
[0, 0], 2
|
|
107
|
-
];
|
|
85
|
+
n0_registry.registerError(InvalidTokenException$, InvalidTokenException);
|
|
108
86
|
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
109
87
|
{ [_e]: _c, [_hE]: 404 },
|
|
110
88
|
[_m],
|
|
111
89
|
[0]
|
|
112
90
|
];
|
|
113
|
-
|
|
91
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
114
92
|
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
115
93
|
{ [_e]: _se, [_hE]: 503 },
|
|
116
94
|
[_m],
|
|
117
95
|
[0]
|
|
118
96
|
];
|
|
119
|
-
|
|
120
|
-
export var Subject$ = [3, n0, _S,
|
|
121
|
-
0,
|
|
122
|
-
[_n, _sA],
|
|
123
|
-
[0, 0], 2
|
|
124
|
-
];
|
|
97
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
125
98
|
export var ThrottlingException$ = [-3, n0, _TE,
|
|
126
99
|
{ [_e]: _c, [_hE]: 429 },
|
|
127
100
|
[_m],
|
|
128
101
|
[0]
|
|
129
102
|
];
|
|
130
|
-
|
|
131
|
-
export
|
|
132
|
-
|
|
103
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
104
|
+
export const errorTypeRegistries = [
|
|
105
|
+
_s_registry,
|
|
106
|
+
n0_registry,
|
|
107
|
+
];
|
|
108
|
+
var JwtToken = [0, n0, _JT, 8, 0];
|
|
109
|
+
export var AssumedRoleUser$ = [3, n0, _ARU,
|
|
110
|
+
0,
|
|
111
|
+
[_a, _aRI],
|
|
112
|
+
[0, 0], 2
|
|
113
|
+
];
|
|
114
|
+
export var AssumeRoleForPodIdentityRequest$ = [3, n0, _ARFPIR,
|
|
115
|
+
0,
|
|
116
|
+
[_cN, _t],
|
|
117
|
+
[[0, 1], [() => JwtToken, 0]], 2
|
|
118
|
+
];
|
|
119
|
+
export var AssumeRoleForPodIdentityResponse$ = [3, n0, _ARFPIRs,
|
|
120
|
+
0,
|
|
121
|
+
[_su, _au, _pIA, _aRU, _cr],
|
|
122
|
+
[() => Subject$, 0, () => PodIdentityAssociation$, () => AssumedRoleUser$, [() => Credentials$, 0]], 5
|
|
123
|
+
];
|
|
124
|
+
export var Credentials$ = [3, n0, _C,
|
|
125
|
+
8,
|
|
126
|
+
[_sT, _sAK, _aKI, _ex],
|
|
127
|
+
[0, 0, 0, 4], 4
|
|
128
|
+
];
|
|
129
|
+
export var PodIdentityAssociation$ = [3, n0, _PIA,
|
|
130
|
+
0,
|
|
131
|
+
[_aA, _aI],
|
|
132
|
+
[0, 0], 2
|
|
133
|
+
];
|
|
134
|
+
export var Subject$ = [3, n0, _S,
|
|
135
|
+
0,
|
|
136
|
+
[_n, _sA],
|
|
137
|
+
[0, 0], 2
|
|
138
|
+
];
|
|
133
139
|
export var AssumeRoleForPodIdentity$ = [9, n0, _ARFPI,
|
|
134
140
|
{ [_h]: ["POST", "/clusters/{clusterName}/assume-role-for-pod-identity", 200] }, () => AssumeRoleForPodIdentityRequest$, () => AssumeRoleForPodIdentityResponse$
|
|
135
141
|
];
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var EKSAuthServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
|
-
export declare var AssumedRoleUser$: StaticStructureSchema;
|
|
4
|
-
export declare var AssumeRoleForPodIdentityRequest$: StaticStructureSchema;
|
|
5
|
-
export declare var AssumeRoleForPodIdentityResponse$: StaticStructureSchema;
|
|
6
|
-
export declare var Credentials$: StaticStructureSchema;
|
|
7
5
|
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
8
6
|
export declare var InternalServerException$: StaticErrorSchema;
|
|
9
7
|
export declare var InvalidParameterException$: StaticErrorSchema;
|
|
10
8
|
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
11
9
|
export declare var InvalidTokenException$: StaticErrorSchema;
|
|
12
|
-
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
13
10
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
11
|
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
15
|
-
export declare var Subject$: StaticStructureSchema;
|
|
16
12
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
17
|
-
|
|
13
|
+
/**
|
|
14
|
+
* TypeRegistry instances containing modeled errors.
|
|
15
|
+
* @internal
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
19
|
+
export declare var AssumedRoleUser$: StaticStructureSchema;
|
|
20
|
+
export declare var AssumeRoleForPodIdentityRequest$: StaticStructureSchema;
|
|
21
|
+
export declare var AssumeRoleForPodIdentityResponse$: StaticStructureSchema;
|
|
22
|
+
export declare var Credentials$: StaticStructureSchema;
|
|
23
|
+
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
24
|
+
export declare var Subject$: StaticStructureSchema;
|
|
18
25
|
export declare var AssumeRoleForPodIdentity$: StaticOperationSchema;
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var EKSAuthServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
|
-
export declare var AssumedRoleUser$: StaticStructureSchema;
|
|
8
|
-
export declare var AssumeRoleForPodIdentityRequest$: StaticStructureSchema;
|
|
9
|
-
export declare var AssumeRoleForPodIdentityResponse$: StaticStructureSchema;
|
|
10
|
-
export declare var Credentials$: StaticStructureSchema;
|
|
11
9
|
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
12
10
|
export declare var InternalServerException$: StaticErrorSchema;
|
|
13
11
|
export declare var InvalidParameterException$: StaticErrorSchema;
|
|
14
12
|
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
15
13
|
export declare var InvalidTokenException$: StaticErrorSchema;
|
|
16
|
-
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
17
14
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
18
15
|
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
19
|
-
export declare var Subject$: StaticStructureSchema;
|
|
20
16
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
21
|
-
export declare
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
18
|
+
export declare var AssumedRoleUser$: StaticStructureSchema;
|
|
19
|
+
export declare var AssumeRoleForPodIdentityRequest$: StaticStructureSchema;
|
|
20
|
+
export declare var AssumeRoleForPodIdentityResponse$: StaticStructureSchema;
|
|
21
|
+
export declare var Credentials$: StaticStructureSchema;
|
|
22
|
+
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
23
|
+
export declare var Subject$: StaticStructureSchema;
|
|
22
24
|
export declare var AssumeRoleForPodIdentity$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eks-auth",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eks Auth Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-eks-auth",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|