@aws-sdk/client-eks-auth 3.721.0 → 3.726.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 +75 -58
- package/dist-es/EKSAuthClient.js +1 -0
- package/dist-es/models/models_0.js +18 -18
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -136,7 +136,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
136
136
|
}, "resolveRuntimeExtensions");
|
|
137
137
|
|
|
138
138
|
// src/EKSAuthClient.ts
|
|
139
|
-
var
|
|
139
|
+
var EKSAuthClient = class extends import_smithy_client.Client {
|
|
140
|
+
static {
|
|
141
|
+
__name(this, "EKSAuthClient");
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The resolved configuration of EKSAuthClient class. This is resolved and normalized from the {@link EKSAuthClientConfig | constructor configuration interface}.
|
|
145
|
+
*/
|
|
146
|
+
config;
|
|
140
147
|
constructor(...[configuration]) {
|
|
141
148
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
142
149
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -146,7 +153,7 @@ var _EKSAuthClient = class _EKSAuthClient extends import_smithy_client.Client {
|
|
|
146
153
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
147
154
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
148
155
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
149
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
156
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
150
157
|
super(_config_8);
|
|
151
158
|
this.config = _config_8;
|
|
152
159
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -174,8 +181,6 @@ var _EKSAuthClient = class _EKSAuthClient extends import_smithy_client.Client {
|
|
|
174
181
|
super.destroy();
|
|
175
182
|
}
|
|
176
183
|
};
|
|
177
|
-
__name(_EKSAuthClient, "EKSAuthClient");
|
|
178
|
-
var EKSAuthClient = _EKSAuthClient;
|
|
179
184
|
|
|
180
185
|
// src/EKSAuth.ts
|
|
181
186
|
|
|
@@ -190,7 +195,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
190
195
|
|
|
191
196
|
// src/models/EKSAuthServiceException.ts
|
|
192
197
|
|
|
193
|
-
var
|
|
198
|
+
var EKSAuthServiceException = class _EKSAuthServiceException extends import_smithy_client.ServiceException {
|
|
199
|
+
static {
|
|
200
|
+
__name(this, "EKSAuthServiceException");
|
|
201
|
+
}
|
|
194
202
|
/**
|
|
195
203
|
* @internal
|
|
196
204
|
*/
|
|
@@ -199,11 +207,14 @@ var _EKSAuthServiceException = class _EKSAuthServiceException extends import_smi
|
|
|
199
207
|
Object.setPrototypeOf(this, _EKSAuthServiceException.prototype);
|
|
200
208
|
}
|
|
201
209
|
};
|
|
202
|
-
__name(_EKSAuthServiceException, "EKSAuthServiceException");
|
|
203
|
-
var EKSAuthServiceException = _EKSAuthServiceException;
|
|
204
210
|
|
|
205
211
|
// src/models/models_0.ts
|
|
206
|
-
var
|
|
212
|
+
var AccessDeniedException = class _AccessDeniedException extends EKSAuthServiceException {
|
|
213
|
+
static {
|
|
214
|
+
__name(this, "AccessDeniedException");
|
|
215
|
+
}
|
|
216
|
+
name = "AccessDeniedException";
|
|
217
|
+
$fault = "client";
|
|
207
218
|
/**
|
|
208
219
|
* @internal
|
|
209
220
|
*/
|
|
@@ -213,14 +224,15 @@ var _AccessDeniedException = class _AccessDeniedException extends EKSAuthService
|
|
|
213
224
|
$fault: "client",
|
|
214
225
|
...opts
|
|
215
226
|
});
|
|
216
|
-
this.name = "AccessDeniedException";
|
|
217
|
-
this.$fault = "client";
|
|
218
227
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
219
228
|
}
|
|
220
229
|
};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
230
|
+
var ExpiredTokenException = class _ExpiredTokenException extends EKSAuthServiceException {
|
|
231
|
+
static {
|
|
232
|
+
__name(this, "ExpiredTokenException");
|
|
233
|
+
}
|
|
234
|
+
name = "ExpiredTokenException";
|
|
235
|
+
$fault = "client";
|
|
224
236
|
/**
|
|
225
237
|
* @internal
|
|
226
238
|
*/
|
|
@@ -230,14 +242,15 @@ var _ExpiredTokenException = class _ExpiredTokenException extends EKSAuthService
|
|
|
230
242
|
$fault: "client",
|
|
231
243
|
...opts
|
|
232
244
|
});
|
|
233
|
-
this.name = "ExpiredTokenException";
|
|
234
|
-
this.$fault = "client";
|
|
235
245
|
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
236
246
|
}
|
|
237
247
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
248
|
+
var InternalServerException = class _InternalServerException extends EKSAuthServiceException {
|
|
249
|
+
static {
|
|
250
|
+
__name(this, "InternalServerException");
|
|
251
|
+
}
|
|
252
|
+
name = "InternalServerException";
|
|
253
|
+
$fault = "server";
|
|
241
254
|
/**
|
|
242
255
|
* @internal
|
|
243
256
|
*/
|
|
@@ -247,14 +260,15 @@ var _InternalServerException = class _InternalServerException extends EKSAuthSer
|
|
|
247
260
|
$fault: "server",
|
|
248
261
|
...opts
|
|
249
262
|
});
|
|
250
|
-
this.name = "InternalServerException";
|
|
251
|
-
this.$fault = "server";
|
|
252
263
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
253
264
|
}
|
|
254
265
|
};
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
266
|
+
var InvalidParameterException = class _InvalidParameterException extends EKSAuthServiceException {
|
|
267
|
+
static {
|
|
268
|
+
__name(this, "InvalidParameterException");
|
|
269
|
+
}
|
|
270
|
+
name = "InvalidParameterException";
|
|
271
|
+
$fault = "client";
|
|
258
272
|
/**
|
|
259
273
|
* @internal
|
|
260
274
|
*/
|
|
@@ -264,14 +278,15 @@ var _InvalidParameterException = class _InvalidParameterException extends EKSAut
|
|
|
264
278
|
$fault: "client",
|
|
265
279
|
...opts
|
|
266
280
|
});
|
|
267
|
-
this.name = "InvalidParameterException";
|
|
268
|
-
this.$fault = "client";
|
|
269
281
|
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
270
282
|
}
|
|
271
283
|
};
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
284
|
+
var InvalidRequestException = class _InvalidRequestException extends EKSAuthServiceException {
|
|
285
|
+
static {
|
|
286
|
+
__name(this, "InvalidRequestException");
|
|
287
|
+
}
|
|
288
|
+
name = "InvalidRequestException";
|
|
289
|
+
$fault = "client";
|
|
275
290
|
/**
|
|
276
291
|
* @internal
|
|
277
292
|
*/
|
|
@@ -281,14 +296,15 @@ var _InvalidRequestException = class _InvalidRequestException extends EKSAuthSer
|
|
|
281
296
|
$fault: "client",
|
|
282
297
|
...opts
|
|
283
298
|
});
|
|
284
|
-
this.name = "InvalidRequestException";
|
|
285
|
-
this.$fault = "client";
|
|
286
299
|
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
287
300
|
}
|
|
288
301
|
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
302
|
+
var InvalidTokenException = class _InvalidTokenException extends EKSAuthServiceException {
|
|
303
|
+
static {
|
|
304
|
+
__name(this, "InvalidTokenException");
|
|
305
|
+
}
|
|
306
|
+
name = "InvalidTokenException";
|
|
307
|
+
$fault = "client";
|
|
292
308
|
/**
|
|
293
309
|
* @internal
|
|
294
310
|
*/
|
|
@@ -298,14 +314,15 @@ var _InvalidTokenException = class _InvalidTokenException extends EKSAuthService
|
|
|
298
314
|
$fault: "client",
|
|
299
315
|
...opts
|
|
300
316
|
});
|
|
301
|
-
this.name = "InvalidTokenException";
|
|
302
|
-
this.$fault = "client";
|
|
303
317
|
Object.setPrototypeOf(this, _InvalidTokenException.prototype);
|
|
304
318
|
}
|
|
305
319
|
};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
320
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends EKSAuthServiceException {
|
|
321
|
+
static {
|
|
322
|
+
__name(this, "ResourceNotFoundException");
|
|
323
|
+
}
|
|
324
|
+
name = "ResourceNotFoundException";
|
|
325
|
+
$fault = "client";
|
|
309
326
|
/**
|
|
310
327
|
* @internal
|
|
311
328
|
*/
|
|
@@ -315,14 +332,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends EKSAut
|
|
|
315
332
|
$fault: "client",
|
|
316
333
|
...opts
|
|
317
334
|
});
|
|
318
|
-
this.name = "ResourceNotFoundException";
|
|
319
|
-
this.$fault = "client";
|
|
320
335
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
321
336
|
}
|
|
322
337
|
};
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
338
|
+
var ServiceUnavailableException = class _ServiceUnavailableException extends EKSAuthServiceException {
|
|
339
|
+
static {
|
|
340
|
+
__name(this, "ServiceUnavailableException");
|
|
341
|
+
}
|
|
342
|
+
name = "ServiceUnavailableException";
|
|
343
|
+
$fault = "server";
|
|
326
344
|
/**
|
|
327
345
|
* @internal
|
|
328
346
|
*/
|
|
@@ -332,14 +350,15 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends EK
|
|
|
332
350
|
$fault: "server",
|
|
333
351
|
...opts
|
|
334
352
|
});
|
|
335
|
-
this.name = "ServiceUnavailableException";
|
|
336
|
-
this.$fault = "server";
|
|
337
353
|
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
338
354
|
}
|
|
339
355
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
356
|
+
var ThrottlingException = class _ThrottlingException extends EKSAuthServiceException {
|
|
357
|
+
static {
|
|
358
|
+
__name(this, "ThrottlingException");
|
|
359
|
+
}
|
|
360
|
+
name = "ThrottlingException";
|
|
361
|
+
$fault = "client";
|
|
343
362
|
/**
|
|
344
363
|
* @internal
|
|
345
364
|
*/
|
|
@@ -349,13 +368,9 @@ var _ThrottlingException = class _ThrottlingException extends EKSAuthServiceExce
|
|
|
349
368
|
$fault: "client",
|
|
350
369
|
...opts
|
|
351
370
|
});
|
|
352
|
-
this.name = "ThrottlingException";
|
|
353
|
-
this.$fault = "client";
|
|
354
371
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
355
372
|
}
|
|
356
373
|
};
|
|
357
|
-
__name(_ThrottlingException, "ThrottlingException");
|
|
358
|
-
var ThrottlingException = _ThrottlingException;
|
|
359
374
|
var AssumeRoleForPodIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
360
375
|
...obj,
|
|
361
376
|
...obj.token && { token: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -583,24 +598,26 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
583
598
|
}), "deserializeMetadata");
|
|
584
599
|
|
|
585
600
|
// src/commands/AssumeRoleForPodIdentityCommand.ts
|
|
586
|
-
var
|
|
601
|
+
var AssumeRoleForPodIdentityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
587
602
|
return [
|
|
588
603
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
589
604
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
590
605
|
];
|
|
591
606
|
}).s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {}).n("EKSAuthClient", "AssumeRoleForPodIdentityCommand").f(AssumeRoleForPodIdentityRequestFilterSensitiveLog, AssumeRoleForPodIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleForPodIdentityCommand).de(de_AssumeRoleForPodIdentityCommand).build() {
|
|
607
|
+
static {
|
|
608
|
+
__name(this, "AssumeRoleForPodIdentityCommand");
|
|
609
|
+
}
|
|
592
610
|
};
|
|
593
|
-
__name(_AssumeRoleForPodIdentityCommand, "AssumeRoleForPodIdentityCommand");
|
|
594
|
-
var AssumeRoleForPodIdentityCommand = _AssumeRoleForPodIdentityCommand;
|
|
595
611
|
|
|
596
612
|
// src/EKSAuth.ts
|
|
597
613
|
var commands = {
|
|
598
614
|
AssumeRoleForPodIdentityCommand
|
|
599
615
|
};
|
|
600
|
-
var
|
|
616
|
+
var EKSAuth = class extends EKSAuthClient {
|
|
617
|
+
static {
|
|
618
|
+
__name(this, "EKSAuth");
|
|
619
|
+
}
|
|
601
620
|
};
|
|
602
|
-
__name(_EKSAuth, "EKSAuth");
|
|
603
|
-
var EKSAuth = _EKSAuth;
|
|
604
621
|
(0, import_smithy_client.createAggregatedClient)(commands, EKSAuth);
|
|
605
622
|
// Annotate the CommonJS export names for ESM import in node:
|
|
606
623
|
|
package/dist-es/EKSAuthClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class EKSAuthClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,110 +1,110 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { EKSAuthServiceException as __BaseException } from "./EKSAuthServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
4
6
|
constructor(opts) {
|
|
5
7
|
super({
|
|
6
8
|
name: "AccessDeniedException",
|
|
7
9
|
$fault: "client",
|
|
8
10
|
...opts,
|
|
9
11
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
export class ExpiredTokenException extends __BaseException {
|
|
16
|
+
name = "ExpiredTokenException";
|
|
17
|
+
$fault = "client";
|
|
16
18
|
constructor(opts) {
|
|
17
19
|
super({
|
|
18
20
|
name: "ExpiredTokenException",
|
|
19
21
|
$fault: "client",
|
|
20
22
|
...opts,
|
|
21
23
|
});
|
|
22
|
-
this.name = "ExpiredTokenException";
|
|
23
|
-
this.$fault = "client";
|
|
24
24
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
export class InternalServerException extends __BaseException {
|
|
28
|
+
name = "InternalServerException";
|
|
29
|
+
$fault = "server";
|
|
28
30
|
constructor(opts) {
|
|
29
31
|
super({
|
|
30
32
|
name: "InternalServerException",
|
|
31
33
|
$fault: "server",
|
|
32
34
|
...opts,
|
|
33
35
|
});
|
|
34
|
-
this.name = "InternalServerException";
|
|
35
|
-
this.$fault = "server";
|
|
36
36
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
export class InvalidParameterException extends __BaseException {
|
|
40
|
+
name = "InvalidParameterException";
|
|
41
|
+
$fault = "client";
|
|
40
42
|
constructor(opts) {
|
|
41
43
|
super({
|
|
42
44
|
name: "InvalidParameterException",
|
|
43
45
|
$fault: "client",
|
|
44
46
|
...opts,
|
|
45
47
|
});
|
|
46
|
-
this.name = "InvalidParameterException";
|
|
47
|
-
this.$fault = "client";
|
|
48
48
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
export class InvalidRequestException extends __BaseException {
|
|
52
|
+
name = "InvalidRequestException";
|
|
53
|
+
$fault = "client";
|
|
52
54
|
constructor(opts) {
|
|
53
55
|
super({
|
|
54
56
|
name: "InvalidRequestException",
|
|
55
57
|
$fault: "client",
|
|
56
58
|
...opts,
|
|
57
59
|
});
|
|
58
|
-
this.name = "InvalidRequestException";
|
|
59
|
-
this.$fault = "client";
|
|
60
60
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
export class InvalidTokenException extends __BaseException {
|
|
64
|
+
name = "InvalidTokenException";
|
|
65
|
+
$fault = "client";
|
|
64
66
|
constructor(opts) {
|
|
65
67
|
super({
|
|
66
68
|
name: "InvalidTokenException",
|
|
67
69
|
$fault: "client",
|
|
68
70
|
...opts,
|
|
69
71
|
});
|
|
70
|
-
this.name = "InvalidTokenException";
|
|
71
|
-
this.$fault = "client";
|
|
72
72
|
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
export class ResourceNotFoundException extends __BaseException {
|
|
76
|
+
name = "ResourceNotFoundException";
|
|
77
|
+
$fault = "client";
|
|
76
78
|
constructor(opts) {
|
|
77
79
|
super({
|
|
78
80
|
name: "ResourceNotFoundException",
|
|
79
81
|
$fault: "client",
|
|
80
82
|
...opts,
|
|
81
83
|
});
|
|
82
|
-
this.name = "ResourceNotFoundException";
|
|
83
|
-
this.$fault = "client";
|
|
84
84
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
export class ServiceUnavailableException extends __BaseException {
|
|
88
|
+
name = "ServiceUnavailableException";
|
|
89
|
+
$fault = "server";
|
|
88
90
|
constructor(opts) {
|
|
89
91
|
super({
|
|
90
92
|
name: "ServiceUnavailableException",
|
|
91
93
|
$fault: "server",
|
|
92
94
|
...opts,
|
|
93
95
|
});
|
|
94
|
-
this.name = "ServiceUnavailableException";
|
|
95
|
-
this.$fault = "server";
|
|
96
96
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
export class ThrottlingException extends __BaseException {
|
|
100
|
+
name = "ThrottlingException";
|
|
101
|
+
$fault = "client";
|
|
100
102
|
constructor(opts) {
|
|
101
103
|
super({
|
|
102
104
|
name: "ThrottlingException",
|
|
103
105
|
$fault: "client",
|
|
104
106
|
...opts,
|
|
105
107
|
});
|
|
106
|
-
this.name = "ThrottlingException";
|
|
107
|
-
this.$fault = "client";
|
|
108
108
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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> | undefined;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: EKSAuthClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-eks-auth",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|