@aws-sdk/client-eks-auth 3.952.0 → 3.953.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 +78 -61
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/AssumeRoleForPodIdentityCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +33 -33
- package/dist-types/EKSAuthClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +18 -19
- package/dist-types/ts3.4/EKSAuthClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -19
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -108,14 +108,14 @@ class EKSAuthClient extends smithyClient.Client {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
class EKSAuthServiceException extends smithyClient.ServiceException {
|
|
112
112
|
constructor(options) {
|
|
113
113
|
super(options);
|
|
114
114
|
Object.setPrototypeOf(this, EKSAuthServiceException.prototype);
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
class AccessDeniedException extends EKSAuthServiceException {
|
|
119
119
|
name = "AccessDeniedException";
|
|
120
120
|
$fault = "client";
|
|
121
121
|
constructor(opts) {
|
|
@@ -126,8 +126,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends EKSAuthService
|
|
|
126
126
|
});
|
|
127
127
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
128
128
|
}
|
|
129
|
-
}
|
|
130
|
-
|
|
129
|
+
}
|
|
130
|
+
class ExpiredTokenException extends EKSAuthServiceException {
|
|
131
131
|
name = "ExpiredTokenException";
|
|
132
132
|
$fault = "client";
|
|
133
133
|
constructor(opts) {
|
|
@@ -138,8 +138,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends EKSAuthService
|
|
|
138
138
|
});
|
|
139
139
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
140
140
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
141
|
+
}
|
|
142
|
+
class InternalServerException extends EKSAuthServiceException {
|
|
143
143
|
name = "InternalServerException";
|
|
144
144
|
$fault = "server";
|
|
145
145
|
constructor(opts) {
|
|
@@ -150,8 +150,8 @@ let InternalServerException$1 = class InternalServerException extends EKSAuthSer
|
|
|
150
150
|
});
|
|
151
151
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
152
152
|
}
|
|
153
|
-
}
|
|
154
|
-
|
|
153
|
+
}
|
|
154
|
+
class InvalidParameterException extends EKSAuthServiceException {
|
|
155
155
|
name = "InvalidParameterException";
|
|
156
156
|
$fault = "client";
|
|
157
157
|
constructor(opts) {
|
|
@@ -162,8 +162,8 @@ let InvalidParameterException$1 = class InvalidParameterException extends EKSAut
|
|
|
162
162
|
});
|
|
163
163
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
164
164
|
}
|
|
165
|
-
}
|
|
166
|
-
|
|
165
|
+
}
|
|
166
|
+
class InvalidRequestException extends EKSAuthServiceException {
|
|
167
167
|
name = "InvalidRequestException";
|
|
168
168
|
$fault = "client";
|
|
169
169
|
constructor(opts) {
|
|
@@ -174,8 +174,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends EKSAuthSer
|
|
|
174
174
|
});
|
|
175
175
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
176
176
|
}
|
|
177
|
-
}
|
|
178
|
-
|
|
177
|
+
}
|
|
178
|
+
class InvalidTokenException extends EKSAuthServiceException {
|
|
179
179
|
name = "InvalidTokenException";
|
|
180
180
|
$fault = "client";
|
|
181
181
|
constructor(opts) {
|
|
@@ -186,8 +186,8 @@ let InvalidTokenException$1 = class InvalidTokenException extends EKSAuthService
|
|
|
186
186
|
});
|
|
187
187
|
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
188
188
|
}
|
|
189
|
-
}
|
|
190
|
-
|
|
189
|
+
}
|
|
190
|
+
class ResourceNotFoundException extends EKSAuthServiceException {
|
|
191
191
|
name = "ResourceNotFoundException";
|
|
192
192
|
$fault = "client";
|
|
193
193
|
constructor(opts) {
|
|
@@ -198,8 +198,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends EKSAut
|
|
|
198
198
|
});
|
|
199
199
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
200
200
|
}
|
|
201
|
-
}
|
|
202
|
-
|
|
201
|
+
}
|
|
202
|
+
class ServiceUnavailableException extends EKSAuthServiceException {
|
|
203
203
|
name = "ServiceUnavailableException";
|
|
204
204
|
$fault = "server";
|
|
205
205
|
constructor(opts) {
|
|
@@ -210,8 +210,8 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends EK
|
|
|
210
210
|
});
|
|
211
211
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
212
212
|
}
|
|
213
|
-
}
|
|
214
|
-
|
|
213
|
+
}
|
|
214
|
+
class ThrottlingException extends EKSAuthServiceException {
|
|
215
215
|
name = "ThrottlingException";
|
|
216
216
|
$fault = "client";
|
|
217
217
|
constructor(opts) {
|
|
@@ -222,7 +222,7 @@ let ThrottlingException$1 = class ThrottlingException extends EKSAuthServiceExce
|
|
|
222
222
|
});
|
|
223
223
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
224
224
|
}
|
|
225
|
-
}
|
|
225
|
+
}
|
|
226
226
|
|
|
227
227
|
const _ADE = "AccessDeniedException";
|
|
228
228
|
const _ARFPI = "AssumeRoleForPodIdentity";
|
|
@@ -267,10 +267,10 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.eksauth";
|
|
|
267
267
|
const _t = "token";
|
|
268
268
|
const n0 = "com.amazonaws.eksauth";
|
|
269
269
|
var JwtToken = [0, n0, _JT, 8, 0];
|
|
270
|
-
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
271
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
272
|
-
var AssumedRoleUser = [3, n0, _ARU, 0, [_a, _aRI], [0, 0]];
|
|
273
|
-
var AssumeRoleForPodIdentityRequest = [
|
|
270
|
+
var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
271
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
272
|
+
var AssumedRoleUser$ = [3, n0, _ARU, 0, [_a, _aRI], [0, 0]];
|
|
273
|
+
var AssumeRoleForPodIdentityRequest$ = [
|
|
274
274
|
3,
|
|
275
275
|
n0,
|
|
276
276
|
_ARFPIR,
|
|
@@ -281,42 +281,42 @@ var AssumeRoleForPodIdentityRequest = [
|
|
|
281
281
|
[() => JwtToken, 0],
|
|
282
282
|
],
|
|
283
283
|
];
|
|
284
|
-
var AssumeRoleForPodIdentityResponse = [
|
|
284
|
+
var AssumeRoleForPodIdentityResponse$ = [
|
|
285
285
|
3,
|
|
286
286
|
n0,
|
|
287
287
|
_ARFPIRs,
|
|
288
288
|
0,
|
|
289
289
|
[_s, _au, _pIA, _aRU, _cr],
|
|
290
|
-
[() => Subject
|
|
290
|
+
[() => Subject$, 0, () => PodIdentityAssociation$, () => AssumedRoleUser$, [() => Credentials$, 0]],
|
|
291
291
|
];
|
|
292
|
-
var Credentials = [3, n0, _C, 8, [_sT, _sAK, _aKI, _ex], [0, 0, 0, 4]];
|
|
293
|
-
var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
294
|
-
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException
|
|
295
|
-
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
296
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException
|
|
297
|
-
var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
298
|
-
schema.TypeRegistry.for(n0).registerError(InvalidParameterException
|
|
299
|
-
var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
300
|
-
schema.TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
301
|
-
var InvalidTokenException = [-3, n0, _ITE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
302
|
-
schema.TypeRegistry.for(n0).registerError(InvalidTokenException
|
|
303
|
-
var PodIdentityAssociation = [3, n0, _PIA, 0, [_aA, _aI], [0, 0]];
|
|
304
|
-
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
305
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
306
|
-
var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
307
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
308
|
-
var Subject = [3, n0, _S, 0, [_n, _sA], [0, 0]];
|
|
309
|
-
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
310
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException
|
|
311
|
-
var EKSAuthServiceException = [-3, _sm, "EKSAuthServiceException", 0, [], []];
|
|
312
|
-
schema.TypeRegistry.for(_sm).registerError(EKSAuthServiceException
|
|
313
|
-
var AssumeRoleForPodIdentity = [
|
|
292
|
+
var Credentials$ = [3, n0, _C, 8, [_sT, _sAK, _aKI, _ex], [0, 0, 0, 4]];
|
|
293
|
+
var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
294
|
+
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
295
|
+
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
296
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
297
|
+
var InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
298
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
|
|
299
|
+
var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
300
|
+
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
301
|
+
var InvalidTokenException$ = [-3, n0, _ITE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
302
|
+
schema.TypeRegistry.for(n0).registerError(InvalidTokenException$, InvalidTokenException);
|
|
303
|
+
var PodIdentityAssociation$ = [3, n0, _PIA, 0, [_aA, _aI], [0, 0]];
|
|
304
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
305
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
306
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
307
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
308
|
+
var Subject$ = [3, n0, _S, 0, [_n, _sA], [0, 0]];
|
|
309
|
+
var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
310
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
311
|
+
var EKSAuthServiceException$ = [-3, _sm, "EKSAuthServiceException", 0, [], []];
|
|
312
|
+
schema.TypeRegistry.for(_sm).registerError(EKSAuthServiceException$, EKSAuthServiceException);
|
|
313
|
+
var AssumeRoleForPodIdentity$ = [
|
|
314
314
|
9,
|
|
315
315
|
n0,
|
|
316
316
|
_ARFPI,
|
|
317
317
|
{ [_h]: ["POST", "/clusters/{clusterName}/assume-role-for-pod-identity", 200] },
|
|
318
|
-
() => AssumeRoleForPodIdentityRequest
|
|
319
|
-
() => AssumeRoleForPodIdentityResponse
|
|
318
|
+
() => AssumeRoleForPodIdentityRequest$,
|
|
319
|
+
() => AssumeRoleForPodIdentityResponse$,
|
|
320
320
|
];
|
|
321
321
|
|
|
322
322
|
class AssumeRoleForPodIdentityCommand extends smithyClient.Command
|
|
@@ -327,7 +327,7 @@ class AssumeRoleForPodIdentityCommand extends smithyClient.Command
|
|
|
327
327
|
})
|
|
328
328
|
.s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
|
|
329
329
|
.n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
|
|
330
|
-
.sc(AssumeRoleForPodIdentity)
|
|
330
|
+
.sc(AssumeRoleForPodIdentity$)
|
|
331
331
|
.build() {
|
|
332
332
|
}
|
|
333
333
|
|
|
@@ -346,16 +346,33 @@ Object.defineProperty(exports, "__Client", {
|
|
|
346
346
|
enumerable: true,
|
|
347
347
|
get: function () { return smithyClient.Client; }
|
|
348
348
|
});
|
|
349
|
-
exports.AccessDeniedException = AccessDeniedException
|
|
349
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
350
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
351
|
+
exports.AssumeRoleForPodIdentity$ = AssumeRoleForPodIdentity$;
|
|
350
352
|
exports.AssumeRoleForPodIdentityCommand = AssumeRoleForPodIdentityCommand;
|
|
353
|
+
exports.AssumeRoleForPodIdentityRequest$ = AssumeRoleForPodIdentityRequest$;
|
|
354
|
+
exports.AssumeRoleForPodIdentityResponse$ = AssumeRoleForPodIdentityResponse$;
|
|
355
|
+
exports.AssumedRoleUser$ = AssumedRoleUser$;
|
|
356
|
+
exports.Credentials$ = Credentials$;
|
|
351
357
|
exports.EKSAuth = EKSAuth;
|
|
352
358
|
exports.EKSAuthClient = EKSAuthClient;
|
|
353
|
-
exports.EKSAuthServiceException = EKSAuthServiceException
|
|
354
|
-
exports.
|
|
355
|
-
exports.
|
|
356
|
-
exports.
|
|
357
|
-
exports.
|
|
358
|
-
exports.
|
|
359
|
-
exports.
|
|
360
|
-
exports.
|
|
361
|
-
exports.
|
|
359
|
+
exports.EKSAuthServiceException = EKSAuthServiceException;
|
|
360
|
+
exports.EKSAuthServiceException$ = EKSAuthServiceException$;
|
|
361
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
362
|
+
exports.ExpiredTokenException$ = ExpiredTokenException$;
|
|
363
|
+
exports.InternalServerException = InternalServerException;
|
|
364
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
365
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
366
|
+
exports.InvalidParameterException$ = InvalidParameterException$;
|
|
367
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
368
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
369
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
370
|
+
exports.InvalidTokenException$ = InvalidTokenException$;
|
|
371
|
+
exports.PodIdentityAssociation$ = PodIdentityAssociation$;
|
|
372
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
373
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
374
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
375
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
376
|
+
exports.Subject$ = Subject$;
|
|
377
|
+
exports.ThrottlingException = ThrottlingException;
|
|
378
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.eksauth",
|
|
32
|
+
version: "2023-11-26",
|
|
33
|
+
serviceTarget: "EKSAuthFrontend",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "EKS Auth",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { AssumeRoleForPodIdentity } from "../schemas/schemas_0";
|
|
4
|
+
import { AssumeRoleForPodIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AssumeRoleForPodIdentityCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class AssumeRoleForPodIdentityCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
|
|
13
13
|
.n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
|
|
14
|
-
.sc(AssumeRoleForPodIdentity)
|
|
14
|
+
.sc(AssumeRoleForPodIdentity$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.eksauth",
|
|
29
|
+
version: "2023-11-26",
|
|
30
|
+
serviceTarget: "EKSAuthFrontend",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "EKS Auth",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -41,13 +41,13 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.eksauth";
|
|
|
41
41
|
const _t = "token";
|
|
42
42
|
const n0 = "com.amazonaws.eksauth";
|
|
43
43
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
44
|
-
import { EKSAuthServiceException
|
|
45
|
-
import { AccessDeniedException
|
|
46
|
-
|
|
47
|
-
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
48
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
49
|
-
export var AssumedRoleUser = [3, n0, _ARU, 0, [_a, _aRI], [0, 0]];
|
|
50
|
-
export var AssumeRoleForPodIdentityRequest = [
|
|
44
|
+
import { EKSAuthServiceException } from "../models/EKSAuthServiceException";
|
|
45
|
+
import { AccessDeniedException, ExpiredTokenException, InternalServerException, InvalidParameterException, InvalidRequestException, InvalidTokenException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, } from "../models/errors";
|
|
46
|
+
var JwtToken = [0, n0, _JT, 8, 0];
|
|
47
|
+
export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
48
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
49
|
+
export var AssumedRoleUser$ = [3, n0, _ARU, 0, [_a, _aRI], [0, 0]];
|
|
50
|
+
export var AssumeRoleForPodIdentityRequest$ = [
|
|
51
51
|
3,
|
|
52
52
|
n0,
|
|
53
53
|
_ARFPIR,
|
|
@@ -58,40 +58,40 @@ export var AssumeRoleForPodIdentityRequest = [
|
|
|
58
58
|
[() => JwtToken, 0],
|
|
59
59
|
],
|
|
60
60
|
];
|
|
61
|
-
export var AssumeRoleForPodIdentityResponse = [
|
|
61
|
+
export var AssumeRoleForPodIdentityResponse$ = [
|
|
62
62
|
3,
|
|
63
63
|
n0,
|
|
64
64
|
_ARFPIRs,
|
|
65
65
|
0,
|
|
66
66
|
[_s, _au, _pIA, _aRU, _cr],
|
|
67
|
-
[() => Subject
|
|
67
|
+
[() => Subject$, 0, () => PodIdentityAssociation$, () => AssumedRoleUser$, [() => Credentials$, 0]],
|
|
68
68
|
];
|
|
69
|
-
export var Credentials = [3, n0, _C, 8, [_sT, _sAK, _aKI, _ex], [0, 0, 0, 4]];
|
|
70
|
-
export var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
71
|
-
TypeRegistry.for(n0).registerError(ExpiredTokenException
|
|
72
|
-
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
73
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
74
|
-
export var InvalidParameterException = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
75
|
-
TypeRegistry.for(n0).registerError(InvalidParameterException
|
|
76
|
-
export var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
77
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
78
|
-
export var InvalidTokenException = [-3, n0, _ITE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
79
|
-
TypeRegistry.for(n0).registerError(InvalidTokenException
|
|
80
|
-
export var PodIdentityAssociation = [3, n0, _PIA, 0, [_aA, _aI], [0, 0]];
|
|
81
|
-
export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
82
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
83
|
-
export var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
84
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
85
|
-
export var Subject = [3, n0, _S, 0, [_n, _sA], [0, 0]];
|
|
86
|
-
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
87
|
-
TypeRegistry.for(n0).registerError(ThrottlingException
|
|
88
|
-
export var EKSAuthServiceException = [-3, _sm, "EKSAuthServiceException", 0, [], []];
|
|
89
|
-
TypeRegistry.for(_sm).registerError(EKSAuthServiceException
|
|
90
|
-
export var AssumeRoleForPodIdentity = [
|
|
69
|
+
export var Credentials$ = [3, n0, _C, 8, [_sT, _sAK, _aKI, _ex], [0, 0, 0, 4]];
|
|
70
|
+
export var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
71
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
72
|
+
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
73
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
74
|
+
export var InvalidParameterException$ = [-3, n0, _IPE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
75
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
|
|
76
|
+
export var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
77
|
+
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
78
|
+
export var InvalidTokenException$ = [-3, n0, _ITE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
79
|
+
TypeRegistry.for(n0).registerError(InvalidTokenException$, InvalidTokenException);
|
|
80
|
+
export var PodIdentityAssociation$ = [3, n0, _PIA, 0, [_aA, _aI], [0, 0]];
|
|
81
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
82
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
83
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _se, [_hE]: 503 }, [_m], [0]];
|
|
84
|
+
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
85
|
+
export var Subject$ = [3, n0, _S, 0, [_n, _sA], [0, 0]];
|
|
86
|
+
export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
87
|
+
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
88
|
+
export var EKSAuthServiceException$ = [-3, _sm, "EKSAuthServiceException", 0, [], []];
|
|
89
|
+
TypeRegistry.for(_sm).registerError(EKSAuthServiceException$, EKSAuthServiceException);
|
|
90
|
+
export var AssumeRoleForPodIdentity$ = [
|
|
91
91
|
9,
|
|
92
92
|
n0,
|
|
93
93
|
_ARFPI,
|
|
94
94
|
{ [_h]: ["POST", "/clusters/{clusterName}/assume-role-for-pod-identity", 200] },
|
|
95
|
-
() => AssumeRoleForPodIdentityRequest
|
|
96
|
-
() => AssumeRoleForPodIdentityResponse
|
|
95
|
+
() => AssumeRoleForPodIdentityRequest$,
|
|
96
|
+
() => AssumeRoleForPodIdentityResponse$,
|
|
97
97
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput } from "./commands/AssumeRoleForPodIdentityCommand";
|
|
11
11
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -142,15 +142,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
142
142
|
* Optional extensions
|
|
143
143
|
*/
|
|
144
144
|
extensions?: RuntimeExtension[];
|
|
145
|
-
/**
|
|
146
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
147
|
-
* may be overridden. A default will always be set by the client.
|
|
148
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
149
|
-
* the client.
|
|
150
|
-
* @alpha
|
|
151
|
-
*
|
|
152
|
-
*/
|
|
153
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
154
145
|
/**
|
|
155
146
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
156
147
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
10
10
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
11
11
|
export type { EKSAuthExtensionConfiguration } from "./extensionConfiguration";
|
|
12
12
|
export * from "./commands";
|
|
13
|
+
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./models/errors";
|
|
14
15
|
export type * from "./models/models_0";
|
|
15
16
|
export { EKSAuthServiceException } from "./models/EKSAuthServiceException";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { EKSAuthClientConfig } from "./EKSAuthClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSAuthHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import type { StaticErrorSchema, StaticOperationSchema,
|
|
2
|
-
export declare var
|
|
3
|
-
export declare var
|
|
4
|
-
export declare var
|
|
5
|
-
export declare var
|
|
6
|
-
export declare var
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var AssumeRoleForPodIdentity: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
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
|
+
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
8
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
9
|
+
export declare var InvalidParameterException$: StaticErrorSchema;
|
|
10
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidTokenException$: StaticErrorSchema;
|
|
12
|
+
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
13
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
15
|
+
export declare var Subject$: StaticStructureSchema;
|
|
16
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
17
|
+
export declare var EKSAuthServiceException$: StaticErrorSchema;
|
|
18
|
+
export declare var AssumeRoleForPodIdentity$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -85,7 +82,6 @@ export interface ClientDefaults
|
|
|
85
82
|
retryMode?: string | __Provider<string>;
|
|
86
83
|
logger?: __Logger;
|
|
87
84
|
extensions?: RuntimeExtension[];
|
|
88
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
89
85
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
90
86
|
}
|
|
91
87
|
export type EKSAuthClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { EKSAuthExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/errors";
|
|
8
9
|
export * from "./models/models_0";
|
|
9
10
|
export { EKSAuthServiceException } from "./models/EKSAuthServiceException";
|
|
@@ -25,8 +25,16 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
25
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
27
27
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
28
|
-
apiVersion: string;
|
|
29
28
|
cacheMiddleware?: boolean | undefined;
|
|
29
|
+
protocol:
|
|
30
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
31
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
32
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
33
|
+
protocolSettings: {
|
|
34
|
+
defaultNamespace?: string;
|
|
35
|
+
[setting: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
apiVersion: string;
|
|
30
38
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
39
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
40
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
37
45
|
profile?: string;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
45
49
|
userAgentAppId?:
|
|
46
50
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -36,10 +44,6 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
36
44
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
37
45
|
logger: import("@smithy/types").Logger;
|
|
38
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
40
|
-
import("@smithy/types").HttpRequest,
|
|
41
|
-
import("@smithy/types").HttpResponse
|
|
42
|
-
>;
|
|
43
47
|
defaultsMode:
|
|
44
48
|
| import("@smithy/smithy-client").DefaultsMode
|
|
45
49
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { EKSAuthClientConfig } from "./EKSAuthClient";
|
|
2
3
|
export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
3
4
|
apiVersion: string;
|
|
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSAuthHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol:
|
|
18
|
-
import("@smithy/types").
|
|
19
|
-
import("@smithy/types").
|
|
20
|
-
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
21
26
|
serviceId: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
3
|
StaticOperationSchema,
|
|
4
|
-
StaticSimpleSchema,
|
|
5
4
|
StaticStructureSchema,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
export declare var
|
|
8
|
-
export declare var
|
|
9
|
-
export declare var
|
|
10
|
-
export declare var
|
|
11
|
-
export declare var
|
|
12
|
-
export declare var
|
|
13
|
-
export declare var
|
|
14
|
-
export declare var
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var AssumeRoleForPodIdentity: StaticOperationSchema;
|
|
6
|
+
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
|
+
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
12
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
13
|
+
export declare var InvalidParameterException$: StaticErrorSchema;
|
|
14
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
15
|
+
export declare var InvalidTokenException$: StaticErrorSchema;
|
|
16
|
+
export declare var PodIdentityAssociation$: StaticStructureSchema;
|
|
17
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
18
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
19
|
+
export declare var Subject$: StaticStructureSchema;
|
|
20
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
21
|
+
export declare var EKSAuthServiceException$: StaticErrorSchema;
|
|
22
|
+
export declare var AssumeRoleForPodIdentity$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-eks-auth",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
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.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|