@aws-sdk/client-sts 3.943.0 → 3.947.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 +12 -60
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/STSClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +12 -60
- package/dist-types/STS.d.ts +1 -1
- package/dist-types/STSClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AssumeRoleCommand.d.ts +3 -3
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
- package/dist-types/commands/AssumeRootCommand.d.ts +3 -3
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +3 -3
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +3 -3
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +3 -3
- package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +3 -3
- package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -3
- package/dist-types/commands/GetSessionTokenCommand.d.ts +3 -3
- package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/STSServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/STSClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/STSServiceException.d.ts +1 -1
- package/package.json +12 -11
package/dist-cjs/index.js
CHANGED
|
@@ -349,11 +349,7 @@ var ExpiredTokenException = [
|
|
|
349
349
|
-3,
|
|
350
350
|
n0,
|
|
351
351
|
_ETE,
|
|
352
|
-
{
|
|
353
|
-
[_e]: _c,
|
|
354
|
-
[_hE]: 400,
|
|
355
|
-
[_aQE]: [`ExpiredTokenException`, 400],
|
|
356
|
-
},
|
|
352
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ExpiredTokenException`, 400] },
|
|
357
353
|
[_m],
|
|
358
354
|
[0],
|
|
359
355
|
];
|
|
@@ -362,11 +358,7 @@ var ExpiredTradeInTokenException = [
|
|
|
362
358
|
-3,
|
|
363
359
|
n0,
|
|
364
360
|
_ETITE,
|
|
365
|
-
{
|
|
366
|
-
[_e]: _c,
|
|
367
|
-
[_hE]: 400,
|
|
368
|
-
[_aQE]: [`ExpiredTradeInTokenException`, 400],
|
|
369
|
-
},
|
|
361
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ExpiredTradeInTokenException`, 400] },
|
|
370
362
|
[_m],
|
|
371
363
|
[0],
|
|
372
364
|
];
|
|
@@ -430,11 +422,7 @@ var IDPCommunicationErrorException = [
|
|
|
430
422
|
-3,
|
|
431
423
|
n0,
|
|
432
424
|
_IDPCEE,
|
|
433
|
-
{
|
|
434
|
-
[_e]: _c,
|
|
435
|
-
[_hE]: 400,
|
|
436
|
-
[_aQE]: [`IDPCommunicationError`, 400],
|
|
437
|
-
},
|
|
425
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`IDPCommunicationError`, 400] },
|
|
438
426
|
[_m],
|
|
439
427
|
[0],
|
|
440
428
|
];
|
|
@@ -443,11 +431,7 @@ var IDPRejectedClaimException = [
|
|
|
443
431
|
-3,
|
|
444
432
|
n0,
|
|
445
433
|
_IDPRCE,
|
|
446
|
-
{
|
|
447
|
-
[_e]: _c,
|
|
448
|
-
[_hE]: 403,
|
|
449
|
-
[_aQE]: [`IDPRejectedClaim`, 403],
|
|
450
|
-
},
|
|
434
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`IDPRejectedClaim`, 403] },
|
|
451
435
|
[_m],
|
|
452
436
|
[0],
|
|
453
437
|
];
|
|
@@ -456,11 +440,7 @@ var InvalidAuthorizationMessageException = [
|
|
|
456
440
|
-3,
|
|
457
441
|
n0,
|
|
458
442
|
_IAME,
|
|
459
|
-
{
|
|
460
|
-
[_e]: _c,
|
|
461
|
-
[_hE]: 400,
|
|
462
|
-
[_aQE]: [`InvalidAuthorizationMessageException`, 400],
|
|
463
|
-
},
|
|
443
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidAuthorizationMessageException`, 400] },
|
|
464
444
|
[_m],
|
|
465
445
|
[0],
|
|
466
446
|
];
|
|
@@ -469,11 +449,7 @@ var InvalidIdentityTokenException = [
|
|
|
469
449
|
-3,
|
|
470
450
|
n0,
|
|
471
451
|
_IITE,
|
|
472
|
-
{
|
|
473
|
-
[_e]: _c,
|
|
474
|
-
[_hE]: 400,
|
|
475
|
-
[_aQE]: [`InvalidIdentityToken`, 400],
|
|
476
|
-
},
|
|
452
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidIdentityToken`, 400] },
|
|
477
453
|
[_m],
|
|
478
454
|
[0],
|
|
479
455
|
];
|
|
@@ -482,11 +458,7 @@ var JWTPayloadSizeExceededException = [
|
|
|
482
458
|
-3,
|
|
483
459
|
n0,
|
|
484
460
|
_JWTPSEE,
|
|
485
|
-
{
|
|
486
|
-
[_e]: _c,
|
|
487
|
-
[_hE]: 400,
|
|
488
|
-
[_aQE]: [`JWTPayloadSizeExceededException`, 400],
|
|
489
|
-
},
|
|
461
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`JWTPayloadSizeExceededException`, 400] },
|
|
490
462
|
[_m],
|
|
491
463
|
[0],
|
|
492
464
|
];
|
|
@@ -495,11 +467,7 @@ var MalformedPolicyDocumentException = [
|
|
|
495
467
|
-3,
|
|
496
468
|
n0,
|
|
497
469
|
_MPDE,
|
|
498
|
-
{
|
|
499
|
-
[_e]: _c,
|
|
500
|
-
[_hE]: 400,
|
|
501
|
-
[_aQE]: [`MalformedPolicyDocument`, 400],
|
|
502
|
-
},
|
|
470
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`MalformedPolicyDocument`, 400] },
|
|
503
471
|
[_m],
|
|
504
472
|
[0],
|
|
505
473
|
];
|
|
@@ -508,11 +476,7 @@ var OutboundWebIdentityFederationDisabledException = [
|
|
|
508
476
|
-3,
|
|
509
477
|
n0,
|
|
510
478
|
_OWIFDE,
|
|
511
|
-
{
|
|
512
|
-
[_e]: _c,
|
|
513
|
-
[_hE]: 403,
|
|
514
|
-
[_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403],
|
|
515
|
-
},
|
|
479
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403] },
|
|
516
480
|
[_m],
|
|
517
481
|
[0],
|
|
518
482
|
];
|
|
@@ -521,11 +485,7 @@ var PackedPolicyTooLargeException = [
|
|
|
521
485
|
-3,
|
|
522
486
|
n0,
|
|
523
487
|
_PPTLE,
|
|
524
|
-
{
|
|
525
|
-
[_e]: _c,
|
|
526
|
-
[_hE]: 400,
|
|
527
|
-
[_aQE]: [`PackedPolicyTooLarge`, 400],
|
|
528
|
-
},
|
|
488
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PackedPolicyTooLarge`, 400] },
|
|
529
489
|
[_m],
|
|
530
490
|
[0],
|
|
531
491
|
];
|
|
@@ -536,11 +496,7 @@ var RegionDisabledException = [
|
|
|
536
496
|
-3,
|
|
537
497
|
n0,
|
|
538
498
|
_RDE,
|
|
539
|
-
{
|
|
540
|
-
[_e]: _c,
|
|
541
|
-
[_hE]: 403,
|
|
542
|
-
[_aQE]: [`RegionDisabledException`, 403],
|
|
543
|
-
},
|
|
499
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`RegionDisabledException`, 403] },
|
|
544
500
|
[_m],
|
|
545
501
|
[0],
|
|
546
502
|
];
|
|
@@ -549,11 +505,7 @@ var SessionDurationEscalationException = [
|
|
|
549
505
|
-3,
|
|
550
506
|
n0,
|
|
551
507
|
_SDEE,
|
|
552
|
-
{
|
|
553
|
-
[_e]: _c,
|
|
554
|
-
[_hE]: 403,
|
|
555
|
-
[_aQE]: [`SessionDurationEscalationException`, 403],
|
|
556
|
-
},
|
|
508
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`SessionDurationEscalationException`, 403] },
|
|
557
509
|
[_m],
|
|
558
510
|
[0],
|
|
559
511
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -12,14 +12,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
12
12
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
13
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
14
14
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
15
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
16
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
17
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
16
18
|
const util_retry_1 = require("@smithy/util-retry");
|
|
17
19
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
21
20
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
(0,
|
|
21
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
23
22
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/STSClient.js
CHANGED
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultSTSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -8,12 +8,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
8
8
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
9
9
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
12
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
12
14
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
17
16
|
export const getRuntimeConfig = (config) => {
|
|
18
17
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
18
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -190,11 +190,7 @@ export var ExpiredTokenException = [
|
|
|
190
190
|
-3,
|
|
191
191
|
n0,
|
|
192
192
|
_ETE,
|
|
193
|
-
{
|
|
194
|
-
[_e]: _c,
|
|
195
|
-
[_hE]: 400,
|
|
196
|
-
[_aQE]: [`ExpiredTokenException`, 400],
|
|
197
|
-
},
|
|
193
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ExpiredTokenException`, 400] },
|
|
198
194
|
[_m],
|
|
199
195
|
[0],
|
|
200
196
|
];
|
|
@@ -203,11 +199,7 @@ export var ExpiredTradeInTokenException = [
|
|
|
203
199
|
-3,
|
|
204
200
|
n0,
|
|
205
201
|
_ETITE,
|
|
206
|
-
{
|
|
207
|
-
[_e]: _c,
|
|
208
|
-
[_hE]: 400,
|
|
209
|
-
[_aQE]: [`ExpiredTradeInTokenException`, 400],
|
|
210
|
-
},
|
|
202
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ExpiredTradeInTokenException`, 400] },
|
|
211
203
|
[_m],
|
|
212
204
|
[0],
|
|
213
205
|
];
|
|
@@ -271,11 +263,7 @@ export var IDPCommunicationErrorException = [
|
|
|
271
263
|
-3,
|
|
272
264
|
n0,
|
|
273
265
|
_IDPCEE,
|
|
274
|
-
{
|
|
275
|
-
[_e]: _c,
|
|
276
|
-
[_hE]: 400,
|
|
277
|
-
[_aQE]: [`IDPCommunicationError`, 400],
|
|
278
|
-
},
|
|
266
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`IDPCommunicationError`, 400] },
|
|
279
267
|
[_m],
|
|
280
268
|
[0],
|
|
281
269
|
];
|
|
@@ -284,11 +272,7 @@ export var IDPRejectedClaimException = [
|
|
|
284
272
|
-3,
|
|
285
273
|
n0,
|
|
286
274
|
_IDPRCE,
|
|
287
|
-
{
|
|
288
|
-
[_e]: _c,
|
|
289
|
-
[_hE]: 403,
|
|
290
|
-
[_aQE]: [`IDPRejectedClaim`, 403],
|
|
291
|
-
},
|
|
275
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`IDPRejectedClaim`, 403] },
|
|
292
276
|
[_m],
|
|
293
277
|
[0],
|
|
294
278
|
];
|
|
@@ -297,11 +281,7 @@ export var InvalidAuthorizationMessageException = [
|
|
|
297
281
|
-3,
|
|
298
282
|
n0,
|
|
299
283
|
_IAME,
|
|
300
|
-
{
|
|
301
|
-
[_e]: _c,
|
|
302
|
-
[_hE]: 400,
|
|
303
|
-
[_aQE]: [`InvalidAuthorizationMessageException`, 400],
|
|
304
|
-
},
|
|
284
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidAuthorizationMessageException`, 400] },
|
|
305
285
|
[_m],
|
|
306
286
|
[0],
|
|
307
287
|
];
|
|
@@ -310,11 +290,7 @@ export var InvalidIdentityTokenException = [
|
|
|
310
290
|
-3,
|
|
311
291
|
n0,
|
|
312
292
|
_IITE,
|
|
313
|
-
{
|
|
314
|
-
[_e]: _c,
|
|
315
|
-
[_hE]: 400,
|
|
316
|
-
[_aQE]: [`InvalidIdentityToken`, 400],
|
|
317
|
-
},
|
|
293
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidIdentityToken`, 400] },
|
|
318
294
|
[_m],
|
|
319
295
|
[0],
|
|
320
296
|
];
|
|
@@ -323,11 +299,7 @@ export var JWTPayloadSizeExceededException = [
|
|
|
323
299
|
-3,
|
|
324
300
|
n0,
|
|
325
301
|
_JWTPSEE,
|
|
326
|
-
{
|
|
327
|
-
[_e]: _c,
|
|
328
|
-
[_hE]: 400,
|
|
329
|
-
[_aQE]: [`JWTPayloadSizeExceededException`, 400],
|
|
330
|
-
},
|
|
302
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`JWTPayloadSizeExceededException`, 400] },
|
|
331
303
|
[_m],
|
|
332
304
|
[0],
|
|
333
305
|
];
|
|
@@ -336,11 +308,7 @@ export var MalformedPolicyDocumentException = [
|
|
|
336
308
|
-3,
|
|
337
309
|
n0,
|
|
338
310
|
_MPDE,
|
|
339
|
-
{
|
|
340
|
-
[_e]: _c,
|
|
341
|
-
[_hE]: 400,
|
|
342
|
-
[_aQE]: [`MalformedPolicyDocument`, 400],
|
|
343
|
-
},
|
|
311
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`MalformedPolicyDocument`, 400] },
|
|
344
312
|
[_m],
|
|
345
313
|
[0],
|
|
346
314
|
];
|
|
@@ -349,11 +317,7 @@ export var OutboundWebIdentityFederationDisabledException = [
|
|
|
349
317
|
-3,
|
|
350
318
|
n0,
|
|
351
319
|
_OWIFDE,
|
|
352
|
-
{
|
|
353
|
-
[_e]: _c,
|
|
354
|
-
[_hE]: 403,
|
|
355
|
-
[_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403],
|
|
356
|
-
},
|
|
320
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403] },
|
|
357
321
|
[_m],
|
|
358
322
|
[0],
|
|
359
323
|
];
|
|
@@ -362,11 +326,7 @@ export var PackedPolicyTooLargeException = [
|
|
|
362
326
|
-3,
|
|
363
327
|
n0,
|
|
364
328
|
_PPTLE,
|
|
365
|
-
{
|
|
366
|
-
[_e]: _c,
|
|
367
|
-
[_hE]: 400,
|
|
368
|
-
[_aQE]: [`PackedPolicyTooLarge`, 400],
|
|
369
|
-
},
|
|
329
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PackedPolicyTooLarge`, 400] },
|
|
370
330
|
[_m],
|
|
371
331
|
[0],
|
|
372
332
|
];
|
|
@@ -377,11 +337,7 @@ export var RegionDisabledException = [
|
|
|
377
337
|
-3,
|
|
378
338
|
n0,
|
|
379
339
|
_RDE,
|
|
380
|
-
{
|
|
381
|
-
[_e]: _c,
|
|
382
|
-
[_hE]: 403,
|
|
383
|
-
[_aQE]: [`RegionDisabledException`, 403],
|
|
384
|
-
},
|
|
340
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`RegionDisabledException`, 403] },
|
|
385
341
|
[_m],
|
|
386
342
|
[0],
|
|
387
343
|
];
|
|
@@ -390,11 +346,7 @@ export var SessionDurationEscalationException = [
|
|
|
390
346
|
-3,
|
|
391
347
|
n0,
|
|
392
348
|
_SDEE,
|
|
393
|
-
{
|
|
394
|
-
[_e]: _c,
|
|
395
|
-
[_hE]: 403,
|
|
396
|
-
[_aQE]: [`SessionDurationEscalationException`, 403],
|
|
397
|
-
},
|
|
349
|
+
{ [_e]: _c, [_hE]: 403, [_aQE]: [`SessionDurationEscalationException`, 403] },
|
|
398
350
|
[_m],
|
|
399
351
|
[0],
|
|
400
352
|
];
|
package/dist-types/STS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
3
|
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
4
4
|
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
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 ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, 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
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
11
11
|
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
12
12
|
import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -19,7 +19,7 @@ import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from
|
|
|
19
19
|
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
20
20
|
import { GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
21
21
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
22
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
22
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
23
|
export { __Client };
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
3
|
-
import { STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import { type HandlerExecutionContext, type HttpAuthScheme, type HttpAuthSchemeParameters, type HttpAuthSchemeParametersProvider, type HttpAuthSchemeProvider, type Provider, Client } from "@smithy/types";
|
|
3
|
+
import { type STSClientResolvedConfig } from "../STSClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetDelegatedAccessTokenRequest, GetDelegatedAccessTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetDelegatedAccessTokenRequest, GetDelegatedAccessTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetWebIdentityTokenRequest, GetWebIdentityTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetWebIdentityTokenRequest, GetWebIdentityTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -9,10 +9,19 @@ export interface ClientInputEndpointParameters {
|
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
useGlobalEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
12
15
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
13
16
|
defaultSigningName: string;
|
|
14
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
15
21
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
16
25
|
export declare const commonParams: {
|
|
17
26
|
readonly UseGlobalEndpoint: {
|
|
18
27
|
readonly type: "builtInParams";
|
|
@@ -35,6 +44,9 @@ export declare const commonParams: {
|
|
|
35
44
|
readonly name: "useDualstackEndpoint";
|
|
36
45
|
};
|
|
37
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
38
50
|
export interface EndpointParameters extends __EndpointParameters {
|
|
39
51
|
Region?: string | undefined;
|
|
40
52
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The web identity token that was passed is expired or is not valid. Get a new identity
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NoAuthSigner } from "@smithy/core";
|
|
2
2
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
3
|
-
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import type { STSClientConfig } from "./STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
2
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
|
-
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
-
import { STSClientConfig } from "./STSClient";
|
|
3
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import type { STSClientConfig } from "./STSClient";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var accessKeySecretType: StaticSimpleSchema;
|
|
3
3
|
export declare var clientTokenType: StaticSimpleSchema;
|
|
4
4
|
export declare var SAMLAssertionType: StaticSimpleSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
AwsSdkSigV4PreviouslyResolved,
|
|
5
5
|
} from "@aws-sdk/core";
|
|
6
6
|
import {
|
|
7
|
-
Client,
|
|
8
7
|
HandlerExecutionContext,
|
|
9
8
|
HttpAuthScheme,
|
|
10
9
|
HttpAuthSchemeParameters,
|
|
11
10
|
HttpAuthSchemeParametersProvider,
|
|
12
11
|
HttpAuthSchemeProvider,
|
|
13
12
|
Provider,
|
|
13
|
+
Client,
|
|
14
14
|
} from "@smithy/types";
|
|
15
15
|
import { STSClientResolvedConfig } from "../STSClient";
|
|
16
16
|
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.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-sts",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo sts",
|
|
15
15
|
"test": "yarn g:vitest run",
|
|
16
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
|
|
16
17
|
"test:watch": "yarn g:vitest watch"
|
|
17
18
|
},
|
|
18
19
|
"main": "./dist-cjs/index.js",
|
|
@@ -22,38 +23,38 @@
|
|
|
22
23
|
"dependencies": {
|
|
23
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.947.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
27
28
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
28
29
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
29
30
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
31
32
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
32
33
|
"@aws-sdk/types": "3.936.0",
|
|
33
34
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
34
35
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
36
37
|
"@smithy/config-resolver": "^4.4.3",
|
|
37
|
-
"@smithy/core": "^3.18.
|
|
38
|
+
"@smithy/core": "^3.18.7",
|
|
38
39
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
39
40
|
"@smithy/hash-node": "^4.2.5",
|
|
40
41
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
41
42
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
44
45
|
"@smithy/middleware-serde": "^4.2.6",
|
|
45
46
|
"@smithy/middleware-stack": "^4.2.5",
|
|
46
47
|
"@smithy/node-config-provider": "^4.3.5",
|
|
47
48
|
"@smithy/node-http-handler": "^4.4.5",
|
|
48
49
|
"@smithy/protocol-http": "^5.3.5",
|
|
49
|
-
"@smithy/smithy-client": "^4.9.
|
|
50
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
50
51
|
"@smithy/types": "^4.9.0",
|
|
51
52
|
"@smithy/url-parser": "^4.2.5",
|
|
52
53
|
"@smithy/util-base64": "^4.3.0",
|
|
53
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
54
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
57
58
|
"@smithy/util-endpoints": "^3.2.5",
|
|
58
59
|
"@smithy/util-middleware": "^4.2.5",
|
|
59
60
|
"@smithy/util-retry": "^4.2.5",
|