@rharkor/caching-for-turbo 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cli/136.index.js +100 -108
- package/dist/cli/136.index.js.map +1 -1
- package/dist/cli/443.index.js +97 -155
- package/dist/cli/443.index.js.map +1 -1
- package/dist/cli/762.index.js +71 -162
- package/dist/cli/762.index.js.map +1 -1
- package/dist/cli/869.index.js +22 -24
- package/dist/cli/869.index.js.map +1 -1
- package/dist/cli/956.index.js +100 -108
- package/dist/cli/956.index.js.map +1 -1
- package/dist/cli/998.index.js +164 -246
- package/dist/cli/998.index.js.map +1 -1
- package/dist/cli/index.js +7282 -9710
- package/dist/cli/licenses.txt +201 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -261,6 +261,8 @@ Example S3 configuration:
|
|
|
261
261
|
|
|
262
262
|
### Cache Cleanup Options
|
|
263
263
|
|
|
264
|
+
> **Cleanup options are not available when using the GitHub provider.**
|
|
265
|
+
|
|
264
266
|
To prevent unbounded growth of your cache (especially important when using S3
|
|
265
267
|
storage), you can configure automatic cleanup using one or more of these
|
|
266
268
|
options:
|
package/dist/cli/136.index.js
CHANGED
|
@@ -260,14 +260,14 @@ var schema = __webpack_require__(26890);
|
|
|
260
260
|
var client = __webpack_require__(5152);
|
|
261
261
|
var regionConfigResolver = __webpack_require__(36463);
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
class STSServiceException extends smithyClient.ServiceException {
|
|
264
264
|
constructor(options) {
|
|
265
265
|
super(options);
|
|
266
266
|
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
267
267
|
}
|
|
268
|
-
}
|
|
268
|
+
}
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
class ExpiredTokenException extends STSServiceException {
|
|
271
271
|
name = "ExpiredTokenException";
|
|
272
272
|
$fault = "client";
|
|
273
273
|
constructor(opts) {
|
|
@@ -278,8 +278,8 @@ let ExpiredTokenException$1 = class ExpiredTokenException extends STSServiceExce
|
|
|
278
278
|
});
|
|
279
279
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
280
280
|
}
|
|
281
|
-
}
|
|
282
|
-
|
|
281
|
+
}
|
|
282
|
+
class MalformedPolicyDocumentException extends STSServiceException {
|
|
283
283
|
name = "MalformedPolicyDocumentException";
|
|
284
284
|
$fault = "client";
|
|
285
285
|
constructor(opts) {
|
|
@@ -290,8 +290,8 @@ let MalformedPolicyDocumentException$1 = class MalformedPolicyDocumentException
|
|
|
290
290
|
});
|
|
291
291
|
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
292
292
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
293
|
+
}
|
|
294
|
+
class PackedPolicyTooLargeException extends STSServiceException {
|
|
295
295
|
name = "PackedPolicyTooLargeException";
|
|
296
296
|
$fault = "client";
|
|
297
297
|
constructor(opts) {
|
|
@@ -302,8 +302,8 @@ let PackedPolicyTooLargeException$1 = class PackedPolicyTooLargeException extend
|
|
|
302
302
|
});
|
|
303
303
|
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
304
304
|
}
|
|
305
|
-
}
|
|
306
|
-
|
|
305
|
+
}
|
|
306
|
+
class RegionDisabledException extends STSServiceException {
|
|
307
307
|
name = "RegionDisabledException";
|
|
308
308
|
$fault = "client";
|
|
309
309
|
constructor(opts) {
|
|
@@ -314,8 +314,8 @@ let RegionDisabledException$1 = class RegionDisabledException extends STSService
|
|
|
314
314
|
});
|
|
315
315
|
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
316
316
|
}
|
|
317
|
-
}
|
|
318
|
-
|
|
317
|
+
}
|
|
318
|
+
class IDPRejectedClaimException extends STSServiceException {
|
|
319
319
|
name = "IDPRejectedClaimException";
|
|
320
320
|
$fault = "client";
|
|
321
321
|
constructor(opts) {
|
|
@@ -326,8 +326,8 @@ let IDPRejectedClaimException$1 = class IDPRejectedClaimException extends STSSer
|
|
|
326
326
|
});
|
|
327
327
|
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
328
328
|
}
|
|
329
|
-
}
|
|
330
|
-
|
|
329
|
+
}
|
|
330
|
+
class InvalidIdentityTokenException extends STSServiceException {
|
|
331
331
|
name = "InvalidIdentityTokenException";
|
|
332
332
|
$fault = "client";
|
|
333
333
|
constructor(opts) {
|
|
@@ -338,8 +338,8 @@ let InvalidIdentityTokenException$1 = class InvalidIdentityTokenException extend
|
|
|
338
338
|
});
|
|
339
339
|
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
340
340
|
}
|
|
341
|
-
}
|
|
342
|
-
|
|
341
|
+
}
|
|
342
|
+
class IDPCommunicationErrorException extends STSServiceException {
|
|
343
343
|
name = "IDPCommunicationErrorException";
|
|
344
344
|
$fault = "client";
|
|
345
345
|
constructor(opts) {
|
|
@@ -350,7 +350,7 @@ let IDPCommunicationErrorException$1 = class IDPCommunicationErrorException exte
|
|
|
350
350
|
});
|
|
351
351
|
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
352
352
|
}
|
|
353
|
-
}
|
|
353
|
+
}
|
|
354
354
|
|
|
355
355
|
const _A = "Arn";
|
|
356
356
|
const _AKI = "AccessKeyId";
|
|
@@ -413,8 +413,8 @@ const _tLT = "tagListType";
|
|
|
413
413
|
const n0 = "com.amazonaws.sts";
|
|
414
414
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
415
415
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
416
|
-
var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
417
|
-
var AssumeRoleRequest = [
|
|
416
|
+
var AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
417
|
+
var AssumeRoleRequest$ = [
|
|
418
418
|
3,
|
|
419
419
|
n0,
|
|
420
420
|
_ARR,
|
|
@@ -422,15 +422,15 @@ var AssumeRoleRequest = [
|
|
|
422
422
|
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
423
423
|
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
424
424
|
];
|
|
425
|
-
var AssumeRoleResponse = [
|
|
425
|
+
var AssumeRoleResponse$ = [
|
|
426
426
|
3,
|
|
427
427
|
n0,
|
|
428
428
|
_ARRs,
|
|
429
429
|
0,
|
|
430
430
|
[_C, _ARU, _PPS, _SI],
|
|
431
|
-
[[() => Credentials
|
|
431
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0],
|
|
432
432
|
];
|
|
433
|
-
var AssumeRoleWithWebIdentityRequest = [
|
|
433
|
+
var AssumeRoleWithWebIdentityRequest$ = [
|
|
434
434
|
3,
|
|
435
435
|
n0,
|
|
436
436
|
_ARWWIR,
|
|
@@ -438,15 +438,15 @@ var AssumeRoleWithWebIdentityRequest = [
|
|
|
438
438
|
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
439
439
|
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
440
440
|
];
|
|
441
|
-
var AssumeRoleWithWebIdentityResponse = [
|
|
441
|
+
var AssumeRoleWithWebIdentityResponse$ = [
|
|
442
442
|
3,
|
|
443
443
|
n0,
|
|
444
444
|
_ARWWIRs,
|
|
445
445
|
0,
|
|
446
446
|
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
447
|
-
[[() => Credentials
|
|
447
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0],
|
|
448
448
|
];
|
|
449
|
-
var Credentials = [
|
|
449
|
+
var Credentials$ = [
|
|
450
450
|
3,
|
|
451
451
|
n0,
|
|
452
452
|
_C,
|
|
@@ -454,113 +454,85 @@ var Credentials = [
|
|
|
454
454
|
[_AKI, _SAK, _ST, _E],
|
|
455
455
|
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
456
456
|
];
|
|
457
|
-
var ExpiredTokenException = [
|
|
457
|
+
var ExpiredTokenException$ = [
|
|
458
458
|
-3,
|
|
459
459
|
n0,
|
|
460
460
|
_ETE,
|
|
461
|
-
{
|
|
462
|
-
[_e]: _c,
|
|
463
|
-
[_hE]: 400,
|
|
464
|
-
[_aQE]: [`ExpiredTokenException`, 400],
|
|
465
|
-
},
|
|
461
|
+
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
466
462
|
[_m],
|
|
467
463
|
[0],
|
|
468
464
|
];
|
|
469
|
-
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException
|
|
470
|
-
var IDPCommunicationErrorException = [
|
|
465
|
+
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
466
|
+
var IDPCommunicationErrorException$ = [
|
|
471
467
|
-3,
|
|
472
468
|
n0,
|
|
473
469
|
_IDPCEE,
|
|
474
|
-
{
|
|
475
|
-
[_e]: _c,
|
|
476
|
-
[_hE]: 400,
|
|
477
|
-
[_aQE]: [`IDPCommunicationError`, 400],
|
|
478
|
-
},
|
|
470
|
+
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
479
471
|
[_m],
|
|
480
472
|
[0],
|
|
481
473
|
];
|
|
482
|
-
schema.TypeRegistry.for(n0).registerError(IDPCommunicationErrorException
|
|
483
|
-
var IDPRejectedClaimException = [
|
|
474
|
+
schema.TypeRegistry.for(n0).registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
475
|
+
var IDPRejectedClaimException$ = [
|
|
484
476
|
-3,
|
|
485
477
|
n0,
|
|
486
478
|
_IDPRCE,
|
|
487
|
-
{
|
|
488
|
-
[_e]: _c,
|
|
489
|
-
[_hE]: 403,
|
|
490
|
-
[_aQE]: [`IDPRejectedClaim`, 403],
|
|
491
|
-
},
|
|
479
|
+
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
492
480
|
[_m],
|
|
493
481
|
[0],
|
|
494
482
|
];
|
|
495
|
-
schema.TypeRegistry.for(n0).registerError(IDPRejectedClaimException
|
|
496
|
-
var InvalidIdentityTokenException = [
|
|
483
|
+
schema.TypeRegistry.for(n0).registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
484
|
+
var InvalidIdentityTokenException$ = [
|
|
497
485
|
-3,
|
|
498
486
|
n0,
|
|
499
487
|
_IITE,
|
|
500
|
-
{
|
|
501
|
-
[_e]: _c,
|
|
502
|
-
[_hE]: 400,
|
|
503
|
-
[_aQE]: [`InvalidIdentityToken`, 400],
|
|
504
|
-
},
|
|
488
|
+
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
505
489
|
[_m],
|
|
506
490
|
[0],
|
|
507
491
|
];
|
|
508
|
-
schema.TypeRegistry.for(n0).registerError(InvalidIdentityTokenException
|
|
509
|
-
var MalformedPolicyDocumentException = [
|
|
492
|
+
schema.TypeRegistry.for(n0).registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
493
|
+
var MalformedPolicyDocumentException$ = [
|
|
510
494
|
-3,
|
|
511
495
|
n0,
|
|
512
496
|
_MPDE,
|
|
513
|
-
{
|
|
514
|
-
[_e]: _c,
|
|
515
|
-
[_hE]: 400,
|
|
516
|
-
[_aQE]: [`MalformedPolicyDocument`, 400],
|
|
517
|
-
},
|
|
497
|
+
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
518
498
|
[_m],
|
|
519
499
|
[0],
|
|
520
500
|
];
|
|
521
|
-
schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException
|
|
522
|
-
var PackedPolicyTooLargeException = [
|
|
501
|
+
schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
502
|
+
var PackedPolicyTooLargeException$ = [
|
|
523
503
|
-3,
|
|
524
504
|
n0,
|
|
525
505
|
_PPTLE,
|
|
526
|
-
{
|
|
527
|
-
[_e]: _c,
|
|
528
|
-
[_hE]: 400,
|
|
529
|
-
[_aQE]: [`PackedPolicyTooLarge`, 400],
|
|
530
|
-
},
|
|
506
|
+
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
531
507
|
[_m],
|
|
532
508
|
[0],
|
|
533
509
|
];
|
|
534
|
-
schema.TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException
|
|
535
|
-
var PolicyDescriptorType = [3, n0, _PDT, 0, [_a], [0]];
|
|
536
|
-
var ProvidedContext = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
537
|
-
var RegionDisabledException = [
|
|
510
|
+
schema.TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
511
|
+
var PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
|
|
512
|
+
var ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
513
|
+
var RegionDisabledException$ = [
|
|
538
514
|
-3,
|
|
539
515
|
n0,
|
|
540
516
|
_RDE,
|
|
541
|
-
{
|
|
542
|
-
[_e]: _c,
|
|
543
|
-
[_hE]: 403,
|
|
544
|
-
[_aQE]: [`RegionDisabledException`, 403],
|
|
545
|
-
},
|
|
517
|
+
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
546
518
|
[_m],
|
|
547
519
|
[0],
|
|
548
520
|
];
|
|
549
|
-
schema.TypeRegistry.for(n0).registerError(RegionDisabledException
|
|
550
|
-
var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
551
|
-
var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
|
|
552
|
-
schema.TypeRegistry.for(_s).registerError(STSServiceException
|
|
553
|
-
var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType];
|
|
554
|
-
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext];
|
|
555
|
-
var tagListType = [1, n0, _tLT, 0, () => Tag];
|
|
556
|
-
var AssumeRole = [9, n0, _AR, 0, () => AssumeRoleRequest
|
|
557
|
-
var AssumeRoleWithWebIdentity = [
|
|
521
|
+
schema.TypeRegistry.for(n0).registerError(RegionDisabledException$, RegionDisabledException);
|
|
522
|
+
var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
523
|
+
var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
524
|
+
schema.TypeRegistry.for(_s).registerError(STSServiceException$, STSServiceException);
|
|
525
|
+
var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType$];
|
|
526
|
+
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext$];
|
|
527
|
+
var tagListType = [1, n0, _tLT, 0, () => Tag$];
|
|
528
|
+
var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$];
|
|
529
|
+
var AssumeRoleWithWebIdentity$ = [
|
|
558
530
|
9,
|
|
559
531
|
n0,
|
|
560
532
|
_ARWWI,
|
|
561
533
|
0,
|
|
562
|
-
() => AssumeRoleWithWebIdentityRequest
|
|
563
|
-
() => AssumeRoleWithWebIdentityResponse
|
|
534
|
+
() => AssumeRoleWithWebIdentityRequest$,
|
|
535
|
+
() => AssumeRoleWithWebIdentityResponse$,
|
|
564
536
|
];
|
|
565
537
|
|
|
566
538
|
class AssumeRoleCommand extends smithyClient.Command
|
|
@@ -571,7 +543,7 @@ class AssumeRoleCommand extends smithyClient.Command
|
|
|
571
543
|
})
|
|
572
544
|
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
|
|
573
545
|
.n("STSClient", "AssumeRoleCommand")
|
|
574
|
-
.sc(AssumeRole)
|
|
546
|
+
.sc(AssumeRole$)
|
|
575
547
|
.build() {
|
|
576
548
|
}
|
|
577
549
|
|
|
@@ -583,7 +555,7 @@ class AssumeRoleWithWebIdentityCommand extends smithyClient.Command
|
|
|
583
555
|
})
|
|
584
556
|
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
|
|
585
557
|
.n("STSClient", "AssumeRoleWithWebIdentityCommand")
|
|
586
|
-
.sc(AssumeRoleWithWebIdentity)
|
|
558
|
+
.sc(AssumeRoleWithWebIdentity$)
|
|
587
559
|
.build() {
|
|
588
560
|
}
|
|
589
561
|
|
|
@@ -607,9 +579,10 @@ const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
|
607
579
|
const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
608
580
|
const region = typeof _region === "function" ? await _region() : _region;
|
|
609
581
|
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
610
|
-
|
|
582
|
+
let stsDefaultRegion = "";
|
|
583
|
+
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await regionConfigResolver.stsRegionDefaultResolver(loaderConfig)());
|
|
611
584
|
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
612
|
-
return
|
|
585
|
+
return resolvedRegion;
|
|
613
586
|
};
|
|
614
587
|
const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
|
|
615
588
|
let stsClient;
|
|
@@ -718,17 +691,36 @@ Object.defineProperty(exports, "$Command", ({
|
|
|
718
691
|
enumerable: true,
|
|
719
692
|
get: function () { return smithyClient.Command; }
|
|
720
693
|
}));
|
|
694
|
+
exports.AssumeRole$ = AssumeRole$;
|
|
721
695
|
exports.AssumeRoleCommand = AssumeRoleCommand;
|
|
696
|
+
exports.AssumeRoleRequest$ = AssumeRoleRequest$;
|
|
697
|
+
exports.AssumeRoleResponse$ = AssumeRoleResponse$;
|
|
698
|
+
exports.AssumeRoleWithWebIdentity$ = AssumeRoleWithWebIdentity$;
|
|
722
699
|
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
|
|
723
|
-
exports.
|
|
724
|
-
exports.
|
|
725
|
-
exports.
|
|
726
|
-
exports.
|
|
727
|
-
exports.
|
|
728
|
-
exports.
|
|
729
|
-
exports.
|
|
700
|
+
exports.AssumeRoleWithWebIdentityRequest$ = AssumeRoleWithWebIdentityRequest$;
|
|
701
|
+
exports.AssumeRoleWithWebIdentityResponse$ = AssumeRoleWithWebIdentityResponse$;
|
|
702
|
+
exports.AssumedRoleUser$ = AssumedRoleUser$;
|
|
703
|
+
exports.Credentials$ = Credentials$;
|
|
704
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
705
|
+
exports.ExpiredTokenException$ = ExpiredTokenException$;
|
|
706
|
+
exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
707
|
+
exports.IDPCommunicationErrorException$ = IDPCommunicationErrorException$;
|
|
708
|
+
exports.IDPRejectedClaimException = IDPRejectedClaimException;
|
|
709
|
+
exports.IDPRejectedClaimException$ = IDPRejectedClaimException$;
|
|
710
|
+
exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
711
|
+
exports.InvalidIdentityTokenException$ = InvalidIdentityTokenException$;
|
|
712
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
713
|
+
exports.MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$;
|
|
714
|
+
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
|
|
715
|
+
exports.PackedPolicyTooLargeException$ = PackedPolicyTooLargeException$;
|
|
716
|
+
exports.PolicyDescriptorType$ = PolicyDescriptorType$;
|
|
717
|
+
exports.ProvidedContext$ = ProvidedContext$;
|
|
718
|
+
exports.RegionDisabledException = RegionDisabledException;
|
|
719
|
+
exports.RegionDisabledException$ = RegionDisabledException$;
|
|
730
720
|
exports.STS = STS;
|
|
731
|
-
exports.STSServiceException = STSServiceException
|
|
721
|
+
exports.STSServiceException = STSServiceException;
|
|
722
|
+
exports.STSServiceException$ = STSServiceException$;
|
|
723
|
+
exports.Tag$ = Tag$;
|
|
732
724
|
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
733
725
|
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
734
726
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
@@ -758,14 +750,13 @@ const hash_node_1 = __webpack_require__(5092);
|
|
|
758
750
|
const middleware_retry_1 = __webpack_require__(19618);
|
|
759
751
|
const node_config_provider_1 = __webpack_require__(55704);
|
|
760
752
|
const node_http_handler_1 = __webpack_require__(61279);
|
|
753
|
+
const smithy_client_1 = __webpack_require__(61411);
|
|
761
754
|
const util_body_length_node_1 = __webpack_require__(13638);
|
|
755
|
+
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
|
762
756
|
const util_retry_1 = __webpack_require__(15518);
|
|
763
757
|
const runtimeConfig_shared_1 = __webpack_require__(24443);
|
|
764
|
-
const smithy_client_1 = __webpack_require__(61411);
|
|
765
|
-
const util_defaults_mode_node_1 = __webpack_require__(15435);
|
|
766
|
-
const smithy_client_2 = __webpack_require__(61411);
|
|
767
758
|
const getRuntimeConfig = (config) => {
|
|
768
|
-
(0,
|
|
759
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
769
760
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
770
761
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
771
762
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -854,12 +845,13 @@ const getRuntimeConfig = (config) => {
|
|
|
854
845
|
},
|
|
855
846
|
],
|
|
856
847
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
857
|
-
protocol: config?.protocol ??
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
848
|
+
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
849
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
850
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
851
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
852
|
+
version: "2011-06-15",
|
|
853
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615",
|
|
854
|
+
},
|
|
863
855
|
serviceId: config?.serviceId ?? "STS",
|
|
864
856
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
865
857
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -894,7 +886,7 @@ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
|
894
886
|
/***/ 39955:
|
|
895
887
|
/***/ ((module) => {
|
|
896
888
|
|
|
897
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.
|
|
889
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@aws-sdk/nested-clients","version":"3.968.0","description":"Nested clients for AWS SDK packages.","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"yarn lint && concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline nested-clients","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","lint":"node ../../scripts/validation/submodules-linter.js --pkg nested-clients","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"engines":{"node":">=20.0.0"},"sideEffects":false,"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.968.0","@aws-sdk/middleware-host-header":"3.968.0","@aws-sdk/middleware-logger":"3.968.0","@aws-sdk/middleware-recursion-detection":"3.968.0","@aws-sdk/middleware-user-agent":"3.968.0","@aws-sdk/region-config-resolver":"3.968.0","@aws-sdk/types":"3.968.0","@aws-sdk/util-endpoints":"3.968.0","@aws-sdk/util-user-agent-browser":"3.968.0","@aws-sdk/util-user-agent-node":"3.968.0","@smithy/config-resolver":"^4.4.5","@smithy/core":"^3.20.3","@smithy/fetch-http-handler":"^5.3.8","@smithy/hash-node":"^4.2.7","@smithy/invalid-dependency":"^4.2.7","@smithy/middleware-content-length":"^4.2.7","@smithy/middleware-endpoint":"^4.4.4","@smithy/middleware-retry":"^4.4.20","@smithy/middleware-serde":"^4.2.8","@smithy/middleware-stack":"^4.2.7","@smithy/node-config-provider":"^4.3.7","@smithy/node-http-handler":"^4.4.7","@smithy/protocol-http":"^5.3.7","@smithy/smithy-client":"^4.10.5","@smithy/types":"^4.11.0","@smithy/url-parser":"^4.2.7","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.19","@smithy/util-defaults-mode-node":"^4.2.22","@smithy/util-endpoints":"^3.2.7","@smithy/util-middleware":"^4.2.7","@smithy/util-retry":"^4.2.7","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"5.0.10","typescript":"~5.8.3"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["./signin.d.ts","./signin.js","./sso-oidc.d.ts","./sso-oidc.js","./sts.d.ts","./sts.js","dist-*/**"],"browser":{"./dist-es/submodules/signin/runtimeConfig":"./dist-es/submodules/signin/runtimeConfig.browser","./dist-es/submodules/sso-oidc/runtimeConfig":"./dist-es/submodules/sso-oidc/runtimeConfig.browser","./dist-es/submodules/sts/runtimeConfig":"./dist-es/submodules/sts/runtimeConfig.browser"},"react-native":{},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"packages/nested-clients"},"exports":{"./package.json":"./package.json","./sso-oidc":{"types":"./dist-types/submodules/sso-oidc/index.d.ts","module":"./dist-es/submodules/sso-oidc/index.js","node":"./dist-cjs/submodules/sso-oidc/index.js","import":"./dist-es/submodules/sso-oidc/index.js","require":"./dist-cjs/submodules/sso-oidc/index.js"},"./sts":{"types":"./dist-types/submodules/sts/index.d.ts","module":"./dist-es/submodules/sts/index.js","node":"./dist-cjs/submodules/sts/index.js","import":"./dist-es/submodules/sts/index.js","require":"./dist-cjs/submodules/sts/index.js"},"./signin":{"types":"./dist-types/submodules/signin/index.d.ts","module":"./dist-es/submodules/signin/index.js","node":"./dist-cjs/submodules/signin/index.js","import":"./dist-es/submodules/signin/index.js","require":"./dist-cjs/submodules/signin/index.js"}}}');
|
|
898
890
|
|
|
899
891
|
/***/ })
|
|
900
892
|
|