@cloudsnorkel/cdk-github-runners 0.5.3 → 0.5.5
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/.jsii +63 -44
- package/API.md +16 -0
- package/lib/lambdas/update-lambda/index.js +2695 -468
- package/lib/providers/codebuild.js +1 -1
- package/lib/providers/common.js +3 -3
- package/lib/providers/fargate.js +1 -1
- package/lib/providers/image-builders/codebuild.js +1 -1
- package/lib/providers/image-builders/container.d.ts +7 -0
- package/lib/providers/image-builders/container.js +6 -5
- package/lib/providers/image-builders/static.js +1 -1
- package/lib/providers/lambda.js +1 -1
- package/lib/runner.js +3 -3
- package/lib/secrets.js +1 -1
- package/package.json +10 -10
|
@@ -15037,10 +15037,13 @@ var require_configurations2 = __commonJS({
|
|
|
15037
15037
|
});
|
|
15038
15038
|
} else {
|
|
15039
15039
|
signer = async (authScheme) => {
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
|
|
15043
|
-
|
|
15040
|
+
authScheme = Object.assign({}, {
|
|
15041
|
+
name: "sigv4",
|
|
15042
|
+
signingName: input.signingName || input.defaultSigningName,
|
|
15043
|
+
signingRegion: await (0, util_middleware_1.normalizeProvider)(input.region)(),
|
|
15044
|
+
properties: {}
|
|
15045
|
+
}, authScheme);
|
|
15046
|
+
const signingRegion = authScheme.signingRegion;
|
|
15044
15047
|
const signingService = authScheme.signingName;
|
|
15045
15048
|
input.signingRegion = input.signingRegion || signingRegion;
|
|
15046
15049
|
input.signingName = input.signingName || signingService || input.serviceId;
|
|
@@ -15149,16 +15152,17 @@ var require_middleware = __commonJS({
|
|
|
15149
15152
|
var getSkewCorrectedDate_1 = require_getSkewCorrectedDate();
|
|
15150
15153
|
var getUpdatedSystemClockOffset_1 = require_getUpdatedSystemClockOffset();
|
|
15151
15154
|
var awsAuthMiddleware = (options) => (next, context) => async function(args) {
|
|
15152
|
-
var _a, _b, _c;
|
|
15155
|
+
var _a, _b, _c, _d;
|
|
15153
15156
|
if (!protocol_http_1.HttpRequest.isInstance(args.request))
|
|
15154
15157
|
return next(args);
|
|
15155
15158
|
const authScheme = (_c = (_b = (_a = context.endpointV2) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.authSchemes) === null || _c === void 0 ? void 0 : _c[0];
|
|
15159
|
+
const multiRegionOverride = (authScheme === null || authScheme === void 0 ? void 0 : authScheme.name) === "sigv4a" ? (_d = authScheme === null || authScheme === void 0 ? void 0 : authScheme.signingRegionSet) === null || _d === void 0 ? void 0 : _d.join(",") : void 0;
|
|
15156
15160
|
const signer = await options.signer(authScheme);
|
|
15157
15161
|
const output = await next({
|
|
15158
15162
|
...args,
|
|
15159
15163
|
request: await signer.sign(args.request, {
|
|
15160
15164
|
signingDate: (0, getSkewCorrectedDate_1.getSkewCorrectedDate)(options.systemClockOffset),
|
|
15161
|
-
signingRegion: context["signing_region"],
|
|
15165
|
+
signingRegion: multiRegionOverride || context["signing_region"],
|
|
15162
15166
|
signingService: context["signing_service"]
|
|
15163
15167
|
})
|
|
15164
15168
|
}).catch((error) => {
|
|
@@ -15315,7 +15319,7 @@ var require_package = __commonJS({
|
|
|
15315
15319
|
module2.exports = {
|
|
15316
15320
|
name: "@aws-sdk/client-lambda",
|
|
15317
15321
|
description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
15318
|
-
version: "3.
|
|
15322
|
+
version: "3.194.0",
|
|
15319
15323
|
scripts: {
|
|
15320
15324
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
15321
15325
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -15333,38 +15337,38 @@ var require_package = __commonJS({
|
|
|
15333
15337
|
dependencies: {
|
|
15334
15338
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
15335
15339
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
15336
|
-
"@aws-sdk/client-sts": "3.
|
|
15337
|
-
"@aws-sdk/config-resolver": "3.
|
|
15338
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
15339
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
15340
|
-
"@aws-sdk/hash-node": "3.
|
|
15341
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
15342
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
15343
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
15344
|
-
"@aws-sdk/middleware-logger": "3.
|
|
15345
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
15346
|
-
"@aws-sdk/middleware-retry": "3.
|
|
15347
|
-
"@aws-sdk/middleware-serde": "3.
|
|
15348
|
-
"@aws-sdk/middleware-signing": "3.
|
|
15349
|
-
"@aws-sdk/middleware-stack": "3.
|
|
15350
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
15351
|
-
"@aws-sdk/node-config-provider": "3.
|
|
15352
|
-
"@aws-sdk/node-http-handler": "3.
|
|
15353
|
-
"@aws-sdk/protocol-http": "3.
|
|
15354
|
-
"@aws-sdk/smithy-client": "3.
|
|
15355
|
-
"@aws-sdk/types": "3.
|
|
15356
|
-
"@aws-sdk/url-parser": "3.
|
|
15340
|
+
"@aws-sdk/client-sts": "3.194.0",
|
|
15341
|
+
"@aws-sdk/config-resolver": "3.193.0",
|
|
15342
|
+
"@aws-sdk/credential-provider-node": "3.193.0",
|
|
15343
|
+
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
15344
|
+
"@aws-sdk/hash-node": "3.193.0",
|
|
15345
|
+
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
15346
|
+
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
15347
|
+
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
15348
|
+
"@aws-sdk/middleware-logger": "3.193.0",
|
|
15349
|
+
"@aws-sdk/middleware-recursion-detection": "3.193.0",
|
|
15350
|
+
"@aws-sdk/middleware-retry": "3.193.0",
|
|
15351
|
+
"@aws-sdk/middleware-serde": "3.193.0",
|
|
15352
|
+
"@aws-sdk/middleware-signing": "3.193.0",
|
|
15353
|
+
"@aws-sdk/middleware-stack": "3.193.0",
|
|
15354
|
+
"@aws-sdk/middleware-user-agent": "3.193.0",
|
|
15355
|
+
"@aws-sdk/node-config-provider": "3.193.0",
|
|
15356
|
+
"@aws-sdk/node-http-handler": "3.193.0",
|
|
15357
|
+
"@aws-sdk/protocol-http": "3.193.0",
|
|
15358
|
+
"@aws-sdk/smithy-client": "3.193.0",
|
|
15359
|
+
"@aws-sdk/types": "3.193.0",
|
|
15360
|
+
"@aws-sdk/url-parser": "3.193.0",
|
|
15357
15361
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
15358
15362
|
"@aws-sdk/util-base64-node": "3.188.0",
|
|
15359
15363
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
15360
15364
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
15361
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
15362
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
15363
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
15364
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
15365
|
+
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
15366
|
+
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
15367
|
+
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
15368
|
+
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
15365
15369
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
15366
15370
|
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
15367
|
-
"@aws-sdk/util-waiter": "3.
|
|
15371
|
+
"@aws-sdk/util-waiter": "3.193.0",
|
|
15368
15372
|
tslib: "^2.3.1"
|
|
15369
15373
|
},
|
|
15370
15374
|
devDependencies: {
|
|
@@ -15416,6 +15420,317 @@ var require_package = __commonJS({
|
|
|
15416
15420
|
}
|
|
15417
15421
|
});
|
|
15418
15422
|
|
|
15423
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/service-customizations/s3.js
|
|
15424
|
+
var require_s3 = __commonJS({
|
|
15425
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/service-customizations/s3.js"(exports) {
|
|
15426
|
+
"use strict";
|
|
15427
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15428
|
+
exports.isArnBucketName = exports.isDnsCompatibleBucketName = exports.S3_HOSTNAME_PATTERN = exports.DOT_PATTERN = exports.resolveParamsForS3 = void 0;
|
|
15429
|
+
var resolveParamsForS3 = async (endpointParams) => {
|
|
15430
|
+
const bucket = (endpointParams === null || endpointParams === void 0 ? void 0 : endpointParams.Bucket) || "";
|
|
15431
|
+
if (typeof endpointParams.Bucket === "string") {
|
|
15432
|
+
endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?"));
|
|
15433
|
+
}
|
|
15434
|
+
if ((0, exports.isArnBucketName)(bucket)) {
|
|
15435
|
+
if (endpointParams.ForcePathStyle === true) {
|
|
15436
|
+
throw new Error("Path-style addressing cannot be used with ARN buckets");
|
|
15437
|
+
}
|
|
15438
|
+
} else if (!(0, exports.isDnsCompatibleBucketName)(bucket) || bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:") || bucket.toLowerCase() !== bucket || bucket.length < 3) {
|
|
15439
|
+
endpointParams.ForcePathStyle = true;
|
|
15440
|
+
}
|
|
15441
|
+
if (endpointParams.DisableMultiRegionAccessPoints) {
|
|
15442
|
+
endpointParams.disableMultiRegionAccessPoints = true;
|
|
15443
|
+
endpointParams.DisableMRAP = true;
|
|
15444
|
+
}
|
|
15445
|
+
return endpointParams;
|
|
15446
|
+
};
|
|
15447
|
+
exports.resolveParamsForS3 = resolveParamsForS3;
|
|
15448
|
+
var DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;
|
|
15449
|
+
var IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/;
|
|
15450
|
+
var DOTS_PATTERN = /\.\./;
|
|
15451
|
+
exports.DOT_PATTERN = /\./;
|
|
15452
|
+
exports.S3_HOSTNAME_PATTERN = /^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;
|
|
15453
|
+
var isDnsCompatibleBucketName = (bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName);
|
|
15454
|
+
exports.isDnsCompatibleBucketName = isDnsCompatibleBucketName;
|
|
15455
|
+
var isArnBucketName = (bucketName) => {
|
|
15456
|
+
const [arn, partition, service, region, account, typeOrId] = bucketName.split(":");
|
|
15457
|
+
const isArn = arn === "arn" && bucketName.split(":").length >= 6;
|
|
15458
|
+
const isValidArn = [arn, partition, service, account, typeOrId].filter(Boolean).length === 5;
|
|
15459
|
+
if (isArn && !isValidArn) {
|
|
15460
|
+
throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`);
|
|
15461
|
+
}
|
|
15462
|
+
return arn === "arn" && !!partition && !!service && !!account && !!typeOrId;
|
|
15463
|
+
};
|
|
15464
|
+
exports.isArnBucketName = isArnBucketName;
|
|
15465
|
+
}
|
|
15466
|
+
});
|
|
15467
|
+
|
|
15468
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/service-customizations/index.js
|
|
15469
|
+
var require_service_customizations = __commonJS({
|
|
15470
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/service-customizations/index.js"(exports) {
|
|
15471
|
+
"use strict";
|
|
15472
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15473
|
+
var tslib_1 = require_tslib();
|
|
15474
|
+
tslib_1.__exportStar(require_s3(), exports);
|
|
15475
|
+
}
|
|
15476
|
+
});
|
|
15477
|
+
|
|
15478
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js
|
|
15479
|
+
var require_getEndpointFromInstructions = __commonJS({
|
|
15480
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/getEndpointFromInstructions.js"(exports) {
|
|
15481
|
+
"use strict";
|
|
15482
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15483
|
+
exports.resolveParams = exports.getEndpointFromInstructions = void 0;
|
|
15484
|
+
var service_customizations_1 = require_service_customizations();
|
|
15485
|
+
var getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
15486
|
+
const endpointParams = await (0, exports.resolveParams)(commandInput, instructionsSupplier, clientConfig);
|
|
15487
|
+
if (typeof clientConfig.endpointProvider !== "function") {
|
|
15488
|
+
throw new Error("config.endpointProvider is not set.");
|
|
15489
|
+
}
|
|
15490
|
+
const endpoint = clientConfig.endpointProvider(endpointParams, context);
|
|
15491
|
+
return endpoint;
|
|
15492
|
+
};
|
|
15493
|
+
exports.getEndpointFromInstructions = getEndpointFromInstructions;
|
|
15494
|
+
var resolveParams = async (commandInput, instructionsSupplier, clientConfig) => {
|
|
15495
|
+
var _a;
|
|
15496
|
+
const endpointParams = {};
|
|
15497
|
+
const instructions = ((_a = instructionsSupplier === null || instructionsSupplier === void 0 ? void 0 : instructionsSupplier.getEndpointParameterInstructions) === null || _a === void 0 ? void 0 : _a.call(instructionsSupplier)) || {};
|
|
15498
|
+
for (const [name, instruction] of Object.entries(instructions)) {
|
|
15499
|
+
switch (instruction.type) {
|
|
15500
|
+
case "staticContextParams":
|
|
15501
|
+
endpointParams[name] = instruction.value;
|
|
15502
|
+
break;
|
|
15503
|
+
case "contextParams":
|
|
15504
|
+
endpointParams[name] = commandInput[instruction.name];
|
|
15505
|
+
break;
|
|
15506
|
+
case "clientContextParams":
|
|
15507
|
+
case "builtInParams":
|
|
15508
|
+
endpointParams[name] = await createConfigProvider(instruction.name, name, clientConfig)();
|
|
15509
|
+
break;
|
|
15510
|
+
default:
|
|
15511
|
+
throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction));
|
|
15512
|
+
}
|
|
15513
|
+
}
|
|
15514
|
+
if (Object.keys(instructions).length === 0) {
|
|
15515
|
+
Object.assign(endpointParams, clientConfig);
|
|
15516
|
+
}
|
|
15517
|
+
if (String(clientConfig.serviceId).toLowerCase() === "s3") {
|
|
15518
|
+
await (0, service_customizations_1.resolveParamsForS3)(endpointParams);
|
|
15519
|
+
}
|
|
15520
|
+
return endpointParams;
|
|
15521
|
+
};
|
|
15522
|
+
exports.resolveParams = resolveParams;
|
|
15523
|
+
var createConfigProvider = (configKey, canonicalEndpointParamKey, config) => {
|
|
15524
|
+
const configProvider = async () => {
|
|
15525
|
+
const configValue = config[configKey] || config[canonicalEndpointParamKey];
|
|
15526
|
+
if (typeof configValue === "function") {
|
|
15527
|
+
return configValue();
|
|
15528
|
+
}
|
|
15529
|
+
return configValue;
|
|
15530
|
+
};
|
|
15531
|
+
return configProvider;
|
|
15532
|
+
};
|
|
15533
|
+
}
|
|
15534
|
+
});
|
|
15535
|
+
|
|
15536
|
+
// node_modules/@aws-sdk/querystring-parser/dist-cjs/index.js
|
|
15537
|
+
var require_dist_cjs21 = __commonJS({
|
|
15538
|
+
"node_modules/@aws-sdk/querystring-parser/dist-cjs/index.js"(exports) {
|
|
15539
|
+
"use strict";
|
|
15540
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15541
|
+
exports.parseQueryString = void 0;
|
|
15542
|
+
function parseQueryString(querystring) {
|
|
15543
|
+
const query = {};
|
|
15544
|
+
querystring = querystring.replace(/^\?/, "");
|
|
15545
|
+
if (querystring) {
|
|
15546
|
+
for (const pair of querystring.split("&")) {
|
|
15547
|
+
let [key, value = null] = pair.split("=");
|
|
15548
|
+
key = decodeURIComponent(key);
|
|
15549
|
+
if (value) {
|
|
15550
|
+
value = decodeURIComponent(value);
|
|
15551
|
+
}
|
|
15552
|
+
if (!(key in query)) {
|
|
15553
|
+
query[key] = value;
|
|
15554
|
+
} else if (Array.isArray(query[key])) {
|
|
15555
|
+
query[key].push(value);
|
|
15556
|
+
} else {
|
|
15557
|
+
query[key] = [query[key], value];
|
|
15558
|
+
}
|
|
15559
|
+
}
|
|
15560
|
+
}
|
|
15561
|
+
return query;
|
|
15562
|
+
}
|
|
15563
|
+
exports.parseQueryString = parseQueryString;
|
|
15564
|
+
}
|
|
15565
|
+
});
|
|
15566
|
+
|
|
15567
|
+
// node_modules/@aws-sdk/url-parser/dist-cjs/index.js
|
|
15568
|
+
var require_dist_cjs22 = __commonJS({
|
|
15569
|
+
"node_modules/@aws-sdk/url-parser/dist-cjs/index.js"(exports) {
|
|
15570
|
+
"use strict";
|
|
15571
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15572
|
+
exports.parseUrl = void 0;
|
|
15573
|
+
var querystring_parser_1 = require_dist_cjs21();
|
|
15574
|
+
var parseUrl = (url) => {
|
|
15575
|
+
if (typeof url === "string") {
|
|
15576
|
+
return (0, exports.parseUrl)(new URL(url));
|
|
15577
|
+
}
|
|
15578
|
+
const { hostname, pathname, port, protocol, search } = url;
|
|
15579
|
+
let query;
|
|
15580
|
+
if (search) {
|
|
15581
|
+
query = (0, querystring_parser_1.parseQueryString)(search);
|
|
15582
|
+
}
|
|
15583
|
+
return {
|
|
15584
|
+
hostname,
|
|
15585
|
+
port: port ? parseInt(port) : void 0,
|
|
15586
|
+
protocol,
|
|
15587
|
+
path: pathname,
|
|
15588
|
+
query
|
|
15589
|
+
};
|
|
15590
|
+
};
|
|
15591
|
+
exports.parseUrl = parseUrl;
|
|
15592
|
+
}
|
|
15593
|
+
});
|
|
15594
|
+
|
|
15595
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js
|
|
15596
|
+
var require_toEndpointV1 = __commonJS({
|
|
15597
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/toEndpointV1.js"(exports) {
|
|
15598
|
+
"use strict";
|
|
15599
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15600
|
+
exports.toEndpointV1 = void 0;
|
|
15601
|
+
var url_parser_1 = require_dist_cjs22();
|
|
15602
|
+
var toEndpointV1 = (endpoint) => {
|
|
15603
|
+
if (typeof endpoint === "object") {
|
|
15604
|
+
if ("url" in endpoint) {
|
|
15605
|
+
return (0, url_parser_1.parseUrl)(endpoint.url);
|
|
15606
|
+
}
|
|
15607
|
+
return endpoint;
|
|
15608
|
+
}
|
|
15609
|
+
return (0, url_parser_1.parseUrl)(endpoint);
|
|
15610
|
+
};
|
|
15611
|
+
exports.toEndpointV1 = toEndpointV1;
|
|
15612
|
+
}
|
|
15613
|
+
});
|
|
15614
|
+
|
|
15615
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/index.js
|
|
15616
|
+
var require_adaptors = __commonJS({
|
|
15617
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/adaptors/index.js"(exports) {
|
|
15618
|
+
"use strict";
|
|
15619
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15620
|
+
var tslib_1 = require_tslib();
|
|
15621
|
+
tslib_1.__exportStar(require_getEndpointFromInstructions(), exports);
|
|
15622
|
+
tslib_1.__exportStar(require_toEndpointV1(), exports);
|
|
15623
|
+
}
|
|
15624
|
+
});
|
|
15625
|
+
|
|
15626
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/endpointMiddleware.js
|
|
15627
|
+
var require_endpointMiddleware = __commonJS({
|
|
15628
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/endpointMiddleware.js"(exports) {
|
|
15629
|
+
"use strict";
|
|
15630
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15631
|
+
exports.endpointMiddleware = void 0;
|
|
15632
|
+
var getEndpointFromInstructions_1 = require_getEndpointFromInstructions();
|
|
15633
|
+
var endpointMiddleware = ({ config, instructions }) => {
|
|
15634
|
+
return (next, context) => async (args) => {
|
|
15635
|
+
var _a, _b;
|
|
15636
|
+
const endpoint = await (0, getEndpointFromInstructions_1.getEndpointFromInstructions)(args.input, {
|
|
15637
|
+
getEndpointParameterInstructions() {
|
|
15638
|
+
return instructions;
|
|
15639
|
+
}
|
|
15640
|
+
}, { ...config }, context);
|
|
15641
|
+
context.endpointV2 = endpoint;
|
|
15642
|
+
context.authSchemes = (_a = endpoint.properties) === null || _a === void 0 ? void 0 : _a.authSchemes;
|
|
15643
|
+
const authScheme = (_b = context.authSchemes) === null || _b === void 0 ? void 0 : _b[0];
|
|
15644
|
+
if (authScheme) {
|
|
15645
|
+
context["signing_region"] = authScheme.signingRegion;
|
|
15646
|
+
context["signing_service"] = authScheme.signingName;
|
|
15647
|
+
}
|
|
15648
|
+
return next({
|
|
15649
|
+
...args
|
|
15650
|
+
});
|
|
15651
|
+
};
|
|
15652
|
+
};
|
|
15653
|
+
exports.endpointMiddleware = endpointMiddleware;
|
|
15654
|
+
}
|
|
15655
|
+
});
|
|
15656
|
+
|
|
15657
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/getEndpointPlugin.js
|
|
15658
|
+
var require_getEndpointPlugin = __commonJS({
|
|
15659
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/getEndpointPlugin.js"(exports) {
|
|
15660
|
+
"use strict";
|
|
15661
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15662
|
+
exports.getEndpointPlugin = exports.endpointMiddlewareOptions = void 0;
|
|
15663
|
+
var middleware_serde_1 = require_dist_cjs();
|
|
15664
|
+
var endpointMiddleware_1 = require_endpointMiddleware();
|
|
15665
|
+
exports.endpointMiddlewareOptions = {
|
|
15666
|
+
step: "serialize",
|
|
15667
|
+
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
|
15668
|
+
name: "endpointV2Middleware",
|
|
15669
|
+
override: true,
|
|
15670
|
+
relation: "before",
|
|
15671
|
+
toMiddleware: middleware_serde_1.serializerMiddlewareOption.name
|
|
15672
|
+
};
|
|
15673
|
+
var getEndpointPlugin = (config, instructions) => ({
|
|
15674
|
+
applyToStack: (clientStack) => {
|
|
15675
|
+
clientStack.addRelativeTo((0, endpointMiddleware_1.endpointMiddleware)({
|
|
15676
|
+
config,
|
|
15677
|
+
instructions
|
|
15678
|
+
}), exports.endpointMiddlewareOptions);
|
|
15679
|
+
}
|
|
15680
|
+
});
|
|
15681
|
+
exports.getEndpointPlugin = getEndpointPlugin;
|
|
15682
|
+
}
|
|
15683
|
+
});
|
|
15684
|
+
|
|
15685
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/resolveEndpointConfig.js
|
|
15686
|
+
var require_resolveEndpointConfig = __commonJS({
|
|
15687
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/resolveEndpointConfig.js"(exports) {
|
|
15688
|
+
"use strict";
|
|
15689
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15690
|
+
exports.resolveEndpointConfig = void 0;
|
|
15691
|
+
var util_middleware_1 = require_dist_cjs6();
|
|
15692
|
+
var toEndpointV1_1 = require_toEndpointV1();
|
|
15693
|
+
var resolveEndpointConfig = (input) => {
|
|
15694
|
+
var _a, _b, _c;
|
|
15695
|
+
const tls = (_a = input.tls) !== null && _a !== void 0 ? _a : true;
|
|
15696
|
+
const { endpoint } = input;
|
|
15697
|
+
const customEndpointProvider = endpoint != null ? async () => (0, toEndpointV1_1.toEndpointV1)(await (0, util_middleware_1.normalizeProvider)(endpoint)()) : void 0;
|
|
15698
|
+
const isCustomEndpoint = !!endpoint;
|
|
15699
|
+
return {
|
|
15700
|
+
...input,
|
|
15701
|
+
endpoint: customEndpointProvider,
|
|
15702
|
+
tls,
|
|
15703
|
+
isCustomEndpoint,
|
|
15704
|
+
useDualstackEndpoint: (0, util_middleware_1.normalizeProvider)((_b = input.useDualstackEndpoint) !== null && _b !== void 0 ? _b : false),
|
|
15705
|
+
useFipsEndpoint: (0, util_middleware_1.normalizeProvider)((_c = input.useFipsEndpoint) !== null && _c !== void 0 ? _c : false)
|
|
15706
|
+
};
|
|
15707
|
+
};
|
|
15708
|
+
exports.resolveEndpointConfig = resolveEndpointConfig;
|
|
15709
|
+
}
|
|
15710
|
+
});
|
|
15711
|
+
|
|
15712
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/types.js
|
|
15713
|
+
var require_types2 = __commonJS({
|
|
15714
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/types.js"(exports) {
|
|
15715
|
+
"use strict";
|
|
15716
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15717
|
+
}
|
|
15718
|
+
});
|
|
15719
|
+
|
|
15720
|
+
// node_modules/@aws-sdk/middleware-endpoint/dist-cjs/index.js
|
|
15721
|
+
var require_dist_cjs23 = __commonJS({
|
|
15722
|
+
"node_modules/@aws-sdk/middleware-endpoint/dist-cjs/index.js"(exports) {
|
|
15723
|
+
"use strict";
|
|
15724
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15725
|
+
var tslib_1 = require_tslib();
|
|
15726
|
+
tslib_1.__exportStar(require_adaptors(), exports);
|
|
15727
|
+
tslib_1.__exportStar(require_endpointMiddleware(), exports);
|
|
15728
|
+
tslib_1.__exportStar(require_getEndpointPlugin(), exports);
|
|
15729
|
+
tslib_1.__exportStar(require_resolveEndpointConfig(), exports);
|
|
15730
|
+
tslib_1.__exportStar(require_types2(), exports);
|
|
15731
|
+
}
|
|
15732
|
+
});
|
|
15733
|
+
|
|
15419
15734
|
// node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js
|
|
15420
15735
|
var require_STSServiceException = __commonJS({
|
|
15421
15736
|
"node_modules/@aws-sdk/client-sts/dist-cjs/models/STSServiceException.js"(exports) {
|
|
@@ -18265,6 +18580,7 @@ var require_AssumeRoleCommand = __commonJS({
|
|
|
18265
18580
|
"use strict";
|
|
18266
18581
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18267
18582
|
exports.AssumeRoleCommand = void 0;
|
|
18583
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18268
18584
|
var middleware_serde_1 = require_dist_cjs();
|
|
18269
18585
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18270
18586
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18275,8 +18591,18 @@ var require_AssumeRoleCommand = __commonJS({
|
|
|
18275
18591
|
super();
|
|
18276
18592
|
this.input = input;
|
|
18277
18593
|
}
|
|
18594
|
+
static getEndpointParameterInstructions() {
|
|
18595
|
+
return {
|
|
18596
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18597
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18598
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18599
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18600
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18601
|
+
};
|
|
18602
|
+
}
|
|
18278
18603
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18279
18604
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18605
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleCommand.getEndpointParameterInstructions()));
|
|
18280
18606
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18281
18607
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18282
18608
|
const { logger } = configuration;
|
|
@@ -18309,6 +18635,7 @@ var require_AssumeRoleWithSAMLCommand = __commonJS({
|
|
|
18309
18635
|
"use strict";
|
|
18310
18636
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18311
18637
|
exports.AssumeRoleWithSAMLCommand = void 0;
|
|
18638
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18312
18639
|
var middleware_serde_1 = require_dist_cjs();
|
|
18313
18640
|
var smithy_client_1 = require_dist_cjs3();
|
|
18314
18641
|
var models_0_1 = require_models_02();
|
|
@@ -18318,8 +18645,18 @@ var require_AssumeRoleWithSAMLCommand = __commonJS({
|
|
|
18318
18645
|
super();
|
|
18319
18646
|
this.input = input;
|
|
18320
18647
|
}
|
|
18648
|
+
static getEndpointParameterInstructions() {
|
|
18649
|
+
return {
|
|
18650
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18651
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18652
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18653
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18654
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18655
|
+
};
|
|
18656
|
+
}
|
|
18321
18657
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18322
18658
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18659
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleWithSAMLCommand.getEndpointParameterInstructions()));
|
|
18323
18660
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18324
18661
|
const { logger } = configuration;
|
|
18325
18662
|
const clientName = "STSClient";
|
|
@@ -18351,6 +18688,7 @@ var require_AssumeRoleWithWebIdentityCommand = __commonJS({
|
|
|
18351
18688
|
"use strict";
|
|
18352
18689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18353
18690
|
exports.AssumeRoleWithWebIdentityCommand = void 0;
|
|
18691
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18354
18692
|
var middleware_serde_1 = require_dist_cjs();
|
|
18355
18693
|
var smithy_client_1 = require_dist_cjs3();
|
|
18356
18694
|
var models_0_1 = require_models_02();
|
|
@@ -18360,8 +18698,18 @@ var require_AssumeRoleWithWebIdentityCommand = __commonJS({
|
|
|
18360
18698
|
super();
|
|
18361
18699
|
this.input = input;
|
|
18362
18700
|
}
|
|
18701
|
+
static getEndpointParameterInstructions() {
|
|
18702
|
+
return {
|
|
18703
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18704
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18705
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18706
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18707
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18708
|
+
};
|
|
18709
|
+
}
|
|
18363
18710
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18364
18711
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18712
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
|
18365
18713
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18366
18714
|
const { logger } = configuration;
|
|
18367
18715
|
const clientName = "STSClient";
|
|
@@ -18393,6 +18741,7 @@ var require_DecodeAuthorizationMessageCommand = __commonJS({
|
|
|
18393
18741
|
"use strict";
|
|
18394
18742
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18395
18743
|
exports.DecodeAuthorizationMessageCommand = void 0;
|
|
18744
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18396
18745
|
var middleware_serde_1 = require_dist_cjs();
|
|
18397
18746
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18398
18747
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18403,8 +18752,18 @@ var require_DecodeAuthorizationMessageCommand = __commonJS({
|
|
|
18403
18752
|
super();
|
|
18404
18753
|
this.input = input;
|
|
18405
18754
|
}
|
|
18755
|
+
static getEndpointParameterInstructions() {
|
|
18756
|
+
return {
|
|
18757
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18758
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18759
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18760
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18761
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18762
|
+
};
|
|
18763
|
+
}
|
|
18406
18764
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18407
18765
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18766
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DecodeAuthorizationMessageCommand.getEndpointParameterInstructions()));
|
|
18408
18767
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18409
18768
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18410
18769
|
const { logger } = configuration;
|
|
@@ -18437,6 +18796,7 @@ var require_GetAccessKeyInfoCommand = __commonJS({
|
|
|
18437
18796
|
"use strict";
|
|
18438
18797
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18439
18798
|
exports.GetAccessKeyInfoCommand = void 0;
|
|
18799
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18440
18800
|
var middleware_serde_1 = require_dist_cjs();
|
|
18441
18801
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18442
18802
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18447,8 +18807,18 @@ var require_GetAccessKeyInfoCommand = __commonJS({
|
|
|
18447
18807
|
super();
|
|
18448
18808
|
this.input = input;
|
|
18449
18809
|
}
|
|
18810
|
+
static getEndpointParameterInstructions() {
|
|
18811
|
+
return {
|
|
18812
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18813
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18814
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18815
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18816
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18817
|
+
};
|
|
18818
|
+
}
|
|
18450
18819
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18451
18820
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18821
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessKeyInfoCommand.getEndpointParameterInstructions()));
|
|
18452
18822
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18453
18823
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18454
18824
|
const { logger } = configuration;
|
|
@@ -18481,6 +18851,7 @@ var require_GetCallerIdentityCommand = __commonJS({
|
|
|
18481
18851
|
"use strict";
|
|
18482
18852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18483
18853
|
exports.GetCallerIdentityCommand = void 0;
|
|
18854
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18484
18855
|
var middleware_serde_1 = require_dist_cjs();
|
|
18485
18856
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18486
18857
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18491,8 +18862,18 @@ var require_GetCallerIdentityCommand = __commonJS({
|
|
|
18491
18862
|
super();
|
|
18492
18863
|
this.input = input;
|
|
18493
18864
|
}
|
|
18865
|
+
static getEndpointParameterInstructions() {
|
|
18866
|
+
return {
|
|
18867
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18868
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18869
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18870
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18871
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18872
|
+
};
|
|
18873
|
+
}
|
|
18494
18874
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18495
18875
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18876
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCallerIdentityCommand.getEndpointParameterInstructions()));
|
|
18496
18877
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18497
18878
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18498
18879
|
const { logger } = configuration;
|
|
@@ -18525,6 +18906,7 @@ var require_GetFederationTokenCommand = __commonJS({
|
|
|
18525
18906
|
"use strict";
|
|
18526
18907
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18527
18908
|
exports.GetFederationTokenCommand = void 0;
|
|
18909
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18528
18910
|
var middleware_serde_1 = require_dist_cjs();
|
|
18529
18911
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18530
18912
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18535,8 +18917,18 @@ var require_GetFederationTokenCommand = __commonJS({
|
|
|
18535
18917
|
super();
|
|
18536
18918
|
this.input = input;
|
|
18537
18919
|
}
|
|
18920
|
+
static getEndpointParameterInstructions() {
|
|
18921
|
+
return {
|
|
18922
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18923
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18924
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18925
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18926
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18927
|
+
};
|
|
18928
|
+
}
|
|
18538
18929
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18539
18930
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18931
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFederationTokenCommand.getEndpointParameterInstructions()));
|
|
18540
18932
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18541
18933
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18542
18934
|
const { logger } = configuration;
|
|
@@ -18569,6 +18961,7 @@ var require_GetSessionTokenCommand = __commonJS({
|
|
|
18569
18961
|
"use strict";
|
|
18570
18962
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18571
18963
|
exports.GetSessionTokenCommand = void 0;
|
|
18964
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
18572
18965
|
var middleware_serde_1 = require_dist_cjs();
|
|
18573
18966
|
var middleware_signing_1 = require_dist_cjs19();
|
|
18574
18967
|
var smithy_client_1 = require_dist_cjs3();
|
|
@@ -18579,8 +18972,18 @@ var require_GetSessionTokenCommand = __commonJS({
|
|
|
18579
18972
|
super();
|
|
18580
18973
|
this.input = input;
|
|
18581
18974
|
}
|
|
18975
|
+
static getEndpointParameterInstructions() {
|
|
18976
|
+
return {
|
|
18977
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
18978
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18979
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18980
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18981
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
18982
|
+
};
|
|
18983
|
+
}
|
|
18582
18984
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18583
18985
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
18986
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSessionTokenCommand.getEndpointParameterInstructions()));
|
|
18584
18987
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
18585
18988
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18586
18989
|
const { logger } = configuration;
|
|
@@ -18608,7 +19011,7 @@ var require_GetSessionTokenCommand = __commonJS({
|
|
|
18608
19011
|
});
|
|
18609
19012
|
|
|
18610
19013
|
// node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js
|
|
18611
|
-
var
|
|
19014
|
+
var require_dist_cjs24 = __commonJS({
|
|
18612
19015
|
"node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js"(exports) {
|
|
18613
19016
|
"use strict";
|
|
18614
19017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -18622,13 +19025,33 @@ var require_dist_cjs21 = __commonJS({
|
|
|
18622
19025
|
}
|
|
18623
19026
|
});
|
|
18624
19027
|
|
|
19028
|
+
// node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js
|
|
19029
|
+
var require_EndpointParameters = __commonJS({
|
|
19030
|
+
"node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/EndpointParameters.js"(exports) {
|
|
19031
|
+
"use strict";
|
|
19032
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19033
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
19034
|
+
var resolveClientEndpointParameters = (options) => {
|
|
19035
|
+
var _a, _b, _c;
|
|
19036
|
+
return {
|
|
19037
|
+
...options,
|
|
19038
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
19039
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
19040
|
+
useGlobalEndpoint: (_c = options.useGlobalEndpoint) !== null && _c !== void 0 ? _c : false,
|
|
19041
|
+
defaultSigningName: "sts"
|
|
19042
|
+
};
|
|
19043
|
+
};
|
|
19044
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
19045
|
+
}
|
|
19046
|
+
});
|
|
19047
|
+
|
|
18625
19048
|
// node_modules/@aws-sdk/client-sts/package.json
|
|
18626
19049
|
var require_package2 = __commonJS({
|
|
18627
19050
|
"node_modules/@aws-sdk/client-sts/package.json"(exports, module2) {
|
|
18628
19051
|
module2.exports = {
|
|
18629
19052
|
name: "@aws-sdk/client-sts",
|
|
18630
19053
|
description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
18631
|
-
version: "3.
|
|
19054
|
+
version: "3.194.0",
|
|
18632
19055
|
scripts: {
|
|
18633
19056
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
18634
19057
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18648,35 +19071,37 @@ var require_package2 = __commonJS({
|
|
|
18648
19071
|
dependencies: {
|
|
18649
19072
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
18650
19073
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
18651
|
-
"@aws-sdk/config-resolver": "3.
|
|
18652
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
18653
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
18654
|
-
"@aws-sdk/hash-node": "3.
|
|
18655
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
18656
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
18657
|
-
"@aws-sdk/middleware-
|
|
18658
|
-
"@aws-sdk/middleware-
|
|
18659
|
-
"@aws-sdk/middleware-
|
|
18660
|
-
"@aws-sdk/middleware-
|
|
18661
|
-
"@aws-sdk/middleware-
|
|
18662
|
-
"@aws-sdk/middleware-
|
|
18663
|
-
"@aws-sdk/middleware-
|
|
18664
|
-
"@aws-sdk/middleware-
|
|
18665
|
-
"@aws-sdk/middleware-
|
|
18666
|
-
"@aws-sdk/
|
|
18667
|
-
"@aws-sdk/node-
|
|
18668
|
-
"@aws-sdk/
|
|
18669
|
-
"@aws-sdk/
|
|
18670
|
-
"@aws-sdk/
|
|
18671
|
-
"@aws-sdk/
|
|
19074
|
+
"@aws-sdk/config-resolver": "3.193.0",
|
|
19075
|
+
"@aws-sdk/credential-provider-node": "3.193.0",
|
|
19076
|
+
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
19077
|
+
"@aws-sdk/hash-node": "3.193.0",
|
|
19078
|
+
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
19079
|
+
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
19080
|
+
"@aws-sdk/middleware-endpoint": "3.193.0",
|
|
19081
|
+
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
19082
|
+
"@aws-sdk/middleware-logger": "3.193.0",
|
|
19083
|
+
"@aws-sdk/middleware-recursion-detection": "3.193.0",
|
|
19084
|
+
"@aws-sdk/middleware-retry": "3.193.0",
|
|
19085
|
+
"@aws-sdk/middleware-sdk-sts": "3.193.0",
|
|
19086
|
+
"@aws-sdk/middleware-serde": "3.193.0",
|
|
19087
|
+
"@aws-sdk/middleware-signing": "3.193.0",
|
|
19088
|
+
"@aws-sdk/middleware-stack": "3.193.0",
|
|
19089
|
+
"@aws-sdk/middleware-user-agent": "3.193.0",
|
|
19090
|
+
"@aws-sdk/node-config-provider": "3.193.0",
|
|
19091
|
+
"@aws-sdk/node-http-handler": "3.193.0",
|
|
19092
|
+
"@aws-sdk/protocol-http": "3.193.0",
|
|
19093
|
+
"@aws-sdk/smithy-client": "3.193.0",
|
|
19094
|
+
"@aws-sdk/types": "3.193.0",
|
|
19095
|
+
"@aws-sdk/url-parser": "3.193.0",
|
|
18672
19096
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
18673
19097
|
"@aws-sdk/util-base64-node": "3.188.0",
|
|
18674
19098
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
18675
19099
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
18676
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
18677
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
18678
|
-
"@aws-sdk/util-
|
|
18679
|
-
"@aws-sdk/util-user-agent-
|
|
19100
|
+
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
19101
|
+
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
19102
|
+
"@aws-sdk/util-endpoints": "3.194.0",
|
|
19103
|
+
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
19104
|
+
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
18680
19105
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
18681
19106
|
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
18682
19107
|
"fast-xml-parser": "4.0.11",
|
|
@@ -18843,7 +19268,7 @@ var require_fromEnv = __commonJS({
|
|
|
18843
19268
|
});
|
|
18844
19269
|
|
|
18845
19270
|
// node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
|
|
18846
|
-
var
|
|
19271
|
+
var require_dist_cjs25 = __commonJS({
|
|
18847
19272
|
"node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports) {
|
|
18848
19273
|
"use strict";
|
|
18849
19274
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19100,7 +19525,7 @@ var require_parseKnownFiles = __commonJS({
|
|
|
19100
19525
|
});
|
|
19101
19526
|
|
|
19102
19527
|
// node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/types.js
|
|
19103
|
-
var
|
|
19528
|
+
var require_types3 = __commonJS({
|
|
19104
19529
|
"node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/types.js"(exports) {
|
|
19105
19530
|
"use strict";
|
|
19106
19531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19108,7 +19533,7 @@ var require_types2 = __commonJS({
|
|
|
19108
19533
|
});
|
|
19109
19534
|
|
|
19110
19535
|
// node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/index.js
|
|
19111
|
-
var
|
|
19536
|
+
var require_dist_cjs26 = __commonJS({
|
|
19112
19537
|
"node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/index.js"(exports) {
|
|
19113
19538
|
"use strict";
|
|
19114
19539
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19120,7 +19545,7 @@ var require_dist_cjs23 = __commonJS({
|
|
|
19120
19545
|
tslib_1.__exportStar(require_loadSharedConfigFiles(), exports);
|
|
19121
19546
|
tslib_1.__exportStar(require_loadSsoSessionData(), exports);
|
|
19122
19547
|
tslib_1.__exportStar(require_parseKnownFiles(), exports);
|
|
19123
|
-
tslib_1.__exportStar(
|
|
19548
|
+
tslib_1.__exportStar(require_types3(), exports);
|
|
19124
19549
|
}
|
|
19125
19550
|
});
|
|
19126
19551
|
|
|
@@ -19322,7 +19747,7 @@ var require_fromSharedConfigFiles = __commonJS({
|
|
|
19322
19747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19323
19748
|
exports.fromSharedConfigFiles = void 0;
|
|
19324
19749
|
var property_provider_1 = require_dist_cjs14();
|
|
19325
|
-
var shared_ini_file_loader_1 =
|
|
19750
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
19326
19751
|
var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
|
|
19327
19752
|
const profile = (0, shared_ini_file_loader_1.getProfileName)(init);
|
|
19328
19753
|
const { configFile, credentialsFile } = await (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init);
|
|
@@ -19372,7 +19797,7 @@ var require_configLoader = __commonJS({
|
|
|
19372
19797
|
});
|
|
19373
19798
|
|
|
19374
19799
|
// node_modules/@aws-sdk/node-config-provider/dist-cjs/index.js
|
|
19375
|
-
var
|
|
19800
|
+
var require_dist_cjs27 = __commonJS({
|
|
19376
19801
|
"node_modules/@aws-sdk/node-config-provider/dist-cjs/index.js"(exports) {
|
|
19377
19802
|
"use strict";
|
|
19378
19803
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19381,82 +19806,23 @@ var require_dist_cjs24 = __commonJS({
|
|
|
19381
19806
|
}
|
|
19382
19807
|
});
|
|
19383
19808
|
|
|
19384
|
-
// node_modules/@aws-sdk/
|
|
19385
|
-
var
|
|
19386
|
-
"node_modules/@aws-sdk/
|
|
19809
|
+
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/Endpoint.js
|
|
19810
|
+
var require_Endpoint = __commonJS({
|
|
19811
|
+
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/Endpoint.js"(exports) {
|
|
19387
19812
|
"use strict";
|
|
19388
19813
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19389
|
-
exports.
|
|
19390
|
-
|
|
19391
|
-
|
|
19392
|
-
|
|
19393
|
-
|
|
19394
|
-
|
|
19395
|
-
let [key, value = null] = pair.split("=");
|
|
19396
|
-
key = decodeURIComponent(key);
|
|
19397
|
-
if (value) {
|
|
19398
|
-
value = decodeURIComponent(value);
|
|
19399
|
-
}
|
|
19400
|
-
if (!(key in query)) {
|
|
19401
|
-
query[key] = value;
|
|
19402
|
-
} else if (Array.isArray(query[key])) {
|
|
19403
|
-
query[key].push(value);
|
|
19404
|
-
} else {
|
|
19405
|
-
query[key] = [query[key], value];
|
|
19406
|
-
}
|
|
19407
|
-
}
|
|
19408
|
-
}
|
|
19409
|
-
return query;
|
|
19410
|
-
}
|
|
19411
|
-
exports.parseQueryString = parseQueryString;
|
|
19814
|
+
exports.Endpoint = void 0;
|
|
19815
|
+
var Endpoint;
|
|
19816
|
+
(function(Endpoint2) {
|
|
19817
|
+
Endpoint2["IPv4"] = "http://169.254.169.254";
|
|
19818
|
+
Endpoint2["IPv6"] = "http://[fd00:ec2::254]";
|
|
19819
|
+
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));
|
|
19412
19820
|
}
|
|
19413
19821
|
});
|
|
19414
19822
|
|
|
19415
|
-
// node_modules/@aws-sdk/
|
|
19416
|
-
var
|
|
19417
|
-
"node_modules/@aws-sdk/
|
|
19418
|
-
"use strict";
|
|
19419
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19420
|
-
exports.parseUrl = void 0;
|
|
19421
|
-
var querystring_parser_1 = require_dist_cjs25();
|
|
19422
|
-
var parseUrl = (url) => {
|
|
19423
|
-
if (typeof url === "string") {
|
|
19424
|
-
return (0, exports.parseUrl)(new URL(url));
|
|
19425
|
-
}
|
|
19426
|
-
const { hostname, pathname, port, protocol, search } = url;
|
|
19427
|
-
let query;
|
|
19428
|
-
if (search) {
|
|
19429
|
-
query = (0, querystring_parser_1.parseQueryString)(search);
|
|
19430
|
-
}
|
|
19431
|
-
return {
|
|
19432
|
-
hostname,
|
|
19433
|
-
port: port ? parseInt(port) : void 0,
|
|
19434
|
-
protocol,
|
|
19435
|
-
path: pathname,
|
|
19436
|
-
query
|
|
19437
|
-
};
|
|
19438
|
-
};
|
|
19439
|
-
exports.parseUrl = parseUrl;
|
|
19440
|
-
}
|
|
19441
|
-
});
|
|
19442
|
-
|
|
19443
|
-
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/Endpoint.js
|
|
19444
|
-
var require_Endpoint = __commonJS({
|
|
19445
|
-
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/Endpoint.js"(exports) {
|
|
19446
|
-
"use strict";
|
|
19447
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19448
|
-
exports.Endpoint = void 0;
|
|
19449
|
-
var Endpoint;
|
|
19450
|
-
(function(Endpoint2) {
|
|
19451
|
-
Endpoint2["IPv4"] = "http://169.254.169.254";
|
|
19452
|
-
Endpoint2["IPv6"] = "http://[fd00:ec2::254]";
|
|
19453
|
-
})(Endpoint = exports.Endpoint || (exports.Endpoint = {}));
|
|
19454
|
-
}
|
|
19455
|
-
});
|
|
19456
|
-
|
|
19457
|
-
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js
|
|
19458
|
-
var require_EndpointConfigOptions = __commonJS({
|
|
19459
|
-
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js"(exports) {
|
|
19823
|
+
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js
|
|
19824
|
+
var require_EndpointConfigOptions = __commonJS({
|
|
19825
|
+
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/config/EndpointConfigOptions.js"(exports) {
|
|
19460
19826
|
"use strict";
|
|
19461
19827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19462
19828
|
exports.ENDPOINT_CONFIG_OPTIONS = exports.CONFIG_ENDPOINT_NAME = exports.ENV_ENDPOINT_NAME = void 0;
|
|
@@ -19507,8 +19873,8 @@ var require_getInstanceMetadataEndpoint = __commonJS({
|
|
|
19507
19873
|
"use strict";
|
|
19508
19874
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19509
19875
|
exports.getInstanceMetadataEndpoint = void 0;
|
|
19510
|
-
var node_config_provider_1 =
|
|
19511
|
-
var url_parser_1 =
|
|
19876
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
19877
|
+
var url_parser_1 = require_dist_cjs22();
|
|
19512
19878
|
var Endpoint_1 = require_Endpoint();
|
|
19513
19879
|
var EndpointConfigOptions_1 = require_EndpointConfigOptions();
|
|
19514
19880
|
var EndpointMode_1 = require_EndpointMode();
|
|
@@ -19685,7 +20051,7 @@ var require_fromInstanceMetadata = __commonJS({
|
|
|
19685
20051
|
});
|
|
19686
20052
|
|
|
19687
20053
|
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/types.js
|
|
19688
|
-
var
|
|
20054
|
+
var require_types4 = __commonJS({
|
|
19689
20055
|
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/types.js"(exports) {
|
|
19690
20056
|
"use strict";
|
|
19691
20057
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19693,7 +20059,7 @@ var require_types3 = __commonJS({
|
|
|
19693
20059
|
});
|
|
19694
20060
|
|
|
19695
20061
|
// node_modules/@aws-sdk/credential-provider-imds/dist-cjs/index.js
|
|
19696
|
-
var
|
|
20062
|
+
var require_dist_cjs28 = __commonJS({
|
|
19697
20063
|
"node_modules/@aws-sdk/credential-provider-imds/dist-cjs/index.js"(exports) {
|
|
19698
20064
|
"use strict";
|
|
19699
20065
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -19702,7 +20068,7 @@ var require_dist_cjs27 = __commonJS({
|
|
|
19702
20068
|
tslib_1.__exportStar(require_fromContainerMetadata(), exports);
|
|
19703
20069
|
tslib_1.__exportStar(require_fromInstanceMetadata(), exports);
|
|
19704
20070
|
tslib_1.__exportStar(require_RemoteProviderInit(), exports);
|
|
19705
|
-
tslib_1.__exportStar(
|
|
20071
|
+
tslib_1.__exportStar(require_types4(), exports);
|
|
19706
20072
|
var httpRequest_1 = require_httpRequest2();
|
|
19707
20073
|
Object.defineProperty(exports, "httpRequest", { enumerable: true, get: function() {
|
|
19708
20074
|
return httpRequest_1.httpRequest;
|
|
@@ -19720,8 +20086,8 @@ var require_resolveCredentialSource = __commonJS({
|
|
|
19720
20086
|
"use strict";
|
|
19721
20087
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19722
20088
|
exports.resolveCredentialSource = void 0;
|
|
19723
|
-
var credential_provider_env_1 =
|
|
19724
|
-
var credential_provider_imds_1 =
|
|
20089
|
+
var credential_provider_env_1 = require_dist_cjs25();
|
|
20090
|
+
var credential_provider_imds_1 = require_dist_cjs28();
|
|
19725
20091
|
var property_provider_1 = require_dist_cjs14();
|
|
19726
20092
|
var resolveCredentialSource = (credentialSource, profileName) => {
|
|
19727
20093
|
const sourceProvidersMap = {
|
|
@@ -19746,7 +20112,7 @@ var require_resolveAssumeRoleCredentials = __commonJS({
|
|
|
19746
20112
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19747
20113
|
exports.resolveAssumeRoleCredentials = exports.isAssumeRoleProfile = void 0;
|
|
19748
20114
|
var property_provider_1 = require_dist_cjs14();
|
|
19749
|
-
var shared_ini_file_loader_1 =
|
|
20115
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
19750
20116
|
var resolveCredentialSource_1 = require_resolveCredentialSource();
|
|
19751
20117
|
var resolveProfileData_1 = require_resolveProfileData();
|
|
19752
20118
|
var isAssumeRoleProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg));
|
|
@@ -20517,7 +20883,7 @@ var require_package3 = __commonJS({
|
|
|
20517
20883
|
module2.exports = {
|
|
20518
20884
|
name: "@aws-sdk/client-sso",
|
|
20519
20885
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
20520
|
-
version: "3.
|
|
20886
|
+
version: "3.193.0",
|
|
20521
20887
|
scripts: {
|
|
20522
20888
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
20523
20889
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20535,32 +20901,32 @@ var require_package3 = __commonJS({
|
|
|
20535
20901
|
dependencies: {
|
|
20536
20902
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20537
20903
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
20538
|
-
"@aws-sdk/config-resolver": "3.
|
|
20539
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
20540
|
-
"@aws-sdk/hash-node": "3.
|
|
20541
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
20542
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
20543
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
20544
|
-
"@aws-sdk/middleware-logger": "3.
|
|
20545
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
20546
|
-
"@aws-sdk/middleware-retry": "3.
|
|
20547
|
-
"@aws-sdk/middleware-serde": "3.
|
|
20548
|
-
"@aws-sdk/middleware-stack": "3.
|
|
20549
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
20550
|
-
"@aws-sdk/node-config-provider": "3.
|
|
20551
|
-
"@aws-sdk/node-http-handler": "3.
|
|
20552
|
-
"@aws-sdk/protocol-http": "3.
|
|
20553
|
-
"@aws-sdk/smithy-client": "3.
|
|
20554
|
-
"@aws-sdk/types": "3.
|
|
20555
|
-
"@aws-sdk/url-parser": "3.
|
|
20904
|
+
"@aws-sdk/config-resolver": "3.193.0",
|
|
20905
|
+
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
20906
|
+
"@aws-sdk/hash-node": "3.193.0",
|
|
20907
|
+
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
20908
|
+
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
20909
|
+
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
20910
|
+
"@aws-sdk/middleware-logger": "3.193.0",
|
|
20911
|
+
"@aws-sdk/middleware-recursion-detection": "3.193.0",
|
|
20912
|
+
"@aws-sdk/middleware-retry": "3.193.0",
|
|
20913
|
+
"@aws-sdk/middleware-serde": "3.193.0",
|
|
20914
|
+
"@aws-sdk/middleware-stack": "3.193.0",
|
|
20915
|
+
"@aws-sdk/middleware-user-agent": "3.193.0",
|
|
20916
|
+
"@aws-sdk/node-config-provider": "3.193.0",
|
|
20917
|
+
"@aws-sdk/node-http-handler": "3.193.0",
|
|
20918
|
+
"@aws-sdk/protocol-http": "3.193.0",
|
|
20919
|
+
"@aws-sdk/smithy-client": "3.193.0",
|
|
20920
|
+
"@aws-sdk/types": "3.193.0",
|
|
20921
|
+
"@aws-sdk/url-parser": "3.193.0",
|
|
20556
20922
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
20557
20923
|
"@aws-sdk/util-base64-node": "3.188.0",
|
|
20558
20924
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
20559
20925
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
20560
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
20561
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
20562
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
20563
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
20926
|
+
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
20927
|
+
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
20928
|
+
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
20929
|
+
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
20564
20930
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
20565
20931
|
"@aws-sdk/util-utf8-node": "3.188.0",
|
|
20566
20932
|
tslib: "^2.3.1"
|
|
@@ -20615,7 +20981,7 @@ var require_package3 = __commonJS({
|
|
|
20615
20981
|
});
|
|
20616
20982
|
|
|
20617
20983
|
// node_modules/@aws-sdk/util-buffer-from/dist-cjs/index.js
|
|
20618
|
-
var
|
|
20984
|
+
var require_dist_cjs29 = __commonJS({
|
|
20619
20985
|
"node_modules/@aws-sdk/util-buffer-from/dist-cjs/index.js"(exports) {
|
|
20620
20986
|
"use strict";
|
|
20621
20987
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -20640,12 +21006,12 @@ var require_dist_cjs28 = __commonJS({
|
|
|
20640
21006
|
});
|
|
20641
21007
|
|
|
20642
21008
|
// node_modules/@aws-sdk/hash-node/dist-cjs/index.js
|
|
20643
|
-
var
|
|
21009
|
+
var require_dist_cjs30 = __commonJS({
|
|
20644
21010
|
"node_modules/@aws-sdk/hash-node/dist-cjs/index.js"(exports) {
|
|
20645
21011
|
"use strict";
|
|
20646
21012
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20647
21013
|
exports.Hash = void 0;
|
|
20648
|
-
var util_buffer_from_1 =
|
|
21014
|
+
var util_buffer_from_1 = require_dist_cjs29();
|
|
20649
21015
|
var buffer_1 = require("buffer");
|
|
20650
21016
|
var crypto_1 = require("crypto");
|
|
20651
21017
|
var Hash = class {
|
|
@@ -20676,7 +21042,7 @@ var require_dist_cjs29 = __commonJS({
|
|
|
20676
21042
|
});
|
|
20677
21043
|
|
|
20678
21044
|
// node_modules/@aws-sdk/querystring-builder/dist-cjs/index.js
|
|
20679
|
-
var
|
|
21045
|
+
var require_dist_cjs31 = __commonJS({
|
|
20680
21046
|
"node_modules/@aws-sdk/querystring-builder/dist-cjs/index.js"(exports) {
|
|
20681
21047
|
"use strict";
|
|
20682
21048
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -20814,7 +21180,7 @@ var require_node_http_handler = __commonJS({
|
|
|
20814
21180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20815
21181
|
exports.NodeHttpHandler = void 0;
|
|
20816
21182
|
var protocol_http_1 = require_dist_cjs4();
|
|
20817
|
-
var querystring_builder_1 =
|
|
21183
|
+
var querystring_builder_1 = require_dist_cjs31();
|
|
20818
21184
|
var http_1 = require("http");
|
|
20819
21185
|
var https_1 = require("https");
|
|
20820
21186
|
var constants_1 = require_constants6();
|
|
@@ -20916,7 +21282,7 @@ var require_node_http2_handler = __commonJS({
|
|
|
20916
21282
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20917
21283
|
exports.NodeHttp2Handler = void 0;
|
|
20918
21284
|
var protocol_http_1 = require_dist_cjs4();
|
|
20919
|
-
var querystring_builder_1 =
|
|
21285
|
+
var querystring_builder_1 = require_dist_cjs31();
|
|
20920
21286
|
var http2_1 = require("http2");
|
|
20921
21287
|
var get_transformed_headers_1 = require_get_transformed_headers();
|
|
20922
21288
|
var write_request_body_1 = require_write_request_body();
|
|
@@ -21105,7 +21471,7 @@ var require_stream_collector = __commonJS({
|
|
|
21105
21471
|
});
|
|
21106
21472
|
|
|
21107
21473
|
// node_modules/@aws-sdk/node-http-handler/dist-cjs/index.js
|
|
21108
|
-
var
|
|
21474
|
+
var require_dist_cjs32 = __commonJS({
|
|
21109
21475
|
"node_modules/@aws-sdk/node-http-handler/dist-cjs/index.js"(exports) {
|
|
21110
21476
|
"use strict";
|
|
21111
21477
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -21117,12 +21483,12 @@ var require_dist_cjs31 = __commonJS({
|
|
|
21117
21483
|
});
|
|
21118
21484
|
|
|
21119
21485
|
// node_modules/@aws-sdk/util-base64-node/dist-cjs/index.js
|
|
21120
|
-
var
|
|
21486
|
+
var require_dist_cjs33 = __commonJS({
|
|
21121
21487
|
"node_modules/@aws-sdk/util-base64-node/dist-cjs/index.js"(exports) {
|
|
21122
21488
|
"use strict";
|
|
21123
21489
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21124
21490
|
exports.toBase64 = exports.fromBase64 = void 0;
|
|
21125
|
-
var util_buffer_from_1 =
|
|
21491
|
+
var util_buffer_from_1 = require_dist_cjs29();
|
|
21126
21492
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
21127
21493
|
function fromBase64(input) {
|
|
21128
21494
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -21171,7 +21537,7 @@ var require_calculateBodyLength = __commonJS({
|
|
|
21171
21537
|
});
|
|
21172
21538
|
|
|
21173
21539
|
// node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js
|
|
21174
|
-
var
|
|
21540
|
+
var require_dist_cjs34 = __commonJS({
|
|
21175
21541
|
"node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js"(exports) {
|
|
21176
21542
|
"use strict";
|
|
21177
21543
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -21201,12 +21567,12 @@ var require_is_crt_available = __commonJS({
|
|
|
21201
21567
|
});
|
|
21202
21568
|
|
|
21203
21569
|
// node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
|
|
21204
|
-
var
|
|
21570
|
+
var require_dist_cjs35 = __commonJS({
|
|
21205
21571
|
"node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports) {
|
|
21206
21572
|
"use strict";
|
|
21207
21573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21208
21574
|
exports.defaultUserAgent = exports.UA_APP_ID_INI_NAME = exports.UA_APP_ID_ENV_NAME = void 0;
|
|
21209
|
-
var node_config_provider_1 =
|
|
21575
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
21210
21576
|
var os_1 = require("os");
|
|
21211
21577
|
var process_1 = require("process");
|
|
21212
21578
|
var is_crt_available_1 = require_is_crt_available();
|
|
@@ -21248,12 +21614,12 @@ var require_dist_cjs34 = __commonJS({
|
|
|
21248
21614
|
});
|
|
21249
21615
|
|
|
21250
21616
|
// node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js
|
|
21251
|
-
var
|
|
21617
|
+
var require_dist_cjs36 = __commonJS({
|
|
21252
21618
|
"node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js"(exports) {
|
|
21253
21619
|
"use strict";
|
|
21254
21620
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21255
21621
|
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
21256
|
-
var util_buffer_from_1 =
|
|
21622
|
+
var util_buffer_from_1 = require_dist_cjs29();
|
|
21257
21623
|
var fromUtf8 = (input) => {
|
|
21258
21624
|
const buf = (0, util_buffer_from_1.fromString)(input, "utf8");
|
|
21259
21625
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
@@ -21598,7 +21964,7 @@ var require_runtimeConfig_shared = __commonJS({
|
|
|
21598
21964
|
"use strict";
|
|
21599
21965
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21600
21966
|
exports.getRuntimeConfig = void 0;
|
|
21601
|
-
var url_parser_1 =
|
|
21967
|
+
var url_parser_1 = require_dist_cjs22();
|
|
21602
21968
|
var endpoints_1 = require_endpoints();
|
|
21603
21969
|
var getRuntimeConfig = (config) => {
|
|
21604
21970
|
var _a, _b, _c, _d, _e;
|
|
@@ -21657,8 +22023,8 @@ var require_resolveDefaultsModeConfig = __commonJS({
|
|
|
21657
22023
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21658
22024
|
exports.resolveDefaultsModeConfig = void 0;
|
|
21659
22025
|
var config_resolver_1 = require_dist_cjs7();
|
|
21660
|
-
var credential_provider_imds_1 =
|
|
21661
|
-
var node_config_provider_1 =
|
|
22026
|
+
var credential_provider_imds_1 = require_dist_cjs28();
|
|
22027
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
21662
22028
|
var property_provider_1 = require_dist_cjs14();
|
|
21663
22029
|
var constants_1 = require_constants7();
|
|
21664
22030
|
var defaultsModeConfig_1 = require_defaultsModeConfig();
|
|
@@ -21712,7 +22078,7 @@ var require_resolveDefaultsModeConfig = __commonJS({
|
|
|
21712
22078
|
});
|
|
21713
22079
|
|
|
21714
22080
|
// node_modules/@aws-sdk/util-defaults-mode-node/dist-cjs/index.js
|
|
21715
|
-
var
|
|
22081
|
+
var require_dist_cjs37 = __commonJS({
|
|
21716
22082
|
"node_modules/@aws-sdk/util-defaults-mode-node/dist-cjs/index.js"(exports) {
|
|
21717
22083
|
"use strict";
|
|
21718
22084
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -21730,17 +22096,17 @@ var require_runtimeConfig = __commonJS({
|
|
|
21730
22096
|
var tslib_1 = require_tslib();
|
|
21731
22097
|
var package_json_1 = tslib_1.__importDefault(require_package3());
|
|
21732
22098
|
var config_resolver_1 = require_dist_cjs7();
|
|
21733
|
-
var hash_node_1 =
|
|
22099
|
+
var hash_node_1 = require_dist_cjs30();
|
|
21734
22100
|
var middleware_retry_1 = require_dist_cjs13();
|
|
21735
|
-
var node_config_provider_1 =
|
|
21736
|
-
var node_http_handler_1 =
|
|
21737
|
-
var util_base64_node_1 =
|
|
21738
|
-
var util_body_length_node_1 =
|
|
21739
|
-
var util_user_agent_node_1 =
|
|
21740
|
-
var util_utf8_node_1 =
|
|
22101
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
22102
|
+
var node_http_handler_1 = require_dist_cjs32();
|
|
22103
|
+
var util_base64_node_1 = require_dist_cjs33();
|
|
22104
|
+
var util_body_length_node_1 = require_dist_cjs34();
|
|
22105
|
+
var util_user_agent_node_1 = require_dist_cjs35();
|
|
22106
|
+
var util_utf8_node_1 = require_dist_cjs36();
|
|
21741
22107
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
21742
22108
|
var smithy_client_1 = require_dist_cjs3();
|
|
21743
|
-
var util_defaults_mode_node_1 =
|
|
22109
|
+
var util_defaults_mode_node_1 = require_dist_cjs37();
|
|
21744
22110
|
var smithy_client_2 = require_dist_cjs3();
|
|
21745
22111
|
var getRuntimeConfig = (config) => {
|
|
21746
22112
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
@@ -22005,7 +22371,7 @@ var require_pagination = __commonJS({
|
|
|
22005
22371
|
});
|
|
22006
22372
|
|
|
22007
22373
|
// node_modules/@aws-sdk/client-sso/dist-cjs/index.js
|
|
22008
|
-
var
|
|
22374
|
+
var require_dist_cjs38 = __commonJS({
|
|
22009
22375
|
"node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports) {
|
|
22010
22376
|
"use strict";
|
|
22011
22377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22029,9 +22395,9 @@ var require_resolveSSOCredentials = __commonJS({
|
|
|
22029
22395
|
"use strict";
|
|
22030
22396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22031
22397
|
exports.resolveSSOCredentials = void 0;
|
|
22032
|
-
var client_sso_1 =
|
|
22398
|
+
var client_sso_1 = require_dist_cjs38();
|
|
22033
22399
|
var property_provider_1 = require_dist_cjs14();
|
|
22034
|
-
var shared_ini_file_loader_1 =
|
|
22400
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
22035
22401
|
var EXPIRE_WINDOW_MS = 15 * 60 * 1e3;
|
|
22036
22402
|
var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
|
|
22037
22403
|
var resolveSSOCredentials = async ({ ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoClient }) => {
|
|
@@ -22093,7 +22459,7 @@ var require_fromSSO = __commonJS({
|
|
|
22093
22459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22094
22460
|
exports.fromSSO = void 0;
|
|
22095
22461
|
var property_provider_1 = require_dist_cjs14();
|
|
22096
|
-
var shared_ini_file_loader_1 =
|
|
22462
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
22097
22463
|
var isSsoProfile_1 = require_isSsoProfile();
|
|
22098
22464
|
var resolveSSOCredentials_1 = require_resolveSSOCredentials();
|
|
22099
22465
|
var validateSsoProfile_1 = require_validateSsoProfile();
|
|
@@ -22125,7 +22491,7 @@ var require_fromSSO = __commonJS({
|
|
|
22125
22491
|
});
|
|
22126
22492
|
|
|
22127
22493
|
// node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js
|
|
22128
|
-
var
|
|
22494
|
+
var require_types5 = __commonJS({
|
|
22129
22495
|
"node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js"(exports) {
|
|
22130
22496
|
"use strict";
|
|
22131
22497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22133,14 +22499,14 @@ var require_types4 = __commonJS({
|
|
|
22133
22499
|
});
|
|
22134
22500
|
|
|
22135
22501
|
// node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
|
|
22136
|
-
var
|
|
22502
|
+
var require_dist_cjs39 = __commonJS({
|
|
22137
22503
|
"node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) {
|
|
22138
22504
|
"use strict";
|
|
22139
22505
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22140
22506
|
var tslib_1 = require_tslib();
|
|
22141
22507
|
tslib_1.__exportStar(require_fromSSO(), exports);
|
|
22142
22508
|
tslib_1.__exportStar(require_isSsoProfile(), exports);
|
|
22143
|
-
tslib_1.__exportStar(
|
|
22509
|
+
tslib_1.__exportStar(require_types5(), exports);
|
|
22144
22510
|
tslib_1.__exportStar(require_validateSsoProfile(), exports);
|
|
22145
22511
|
}
|
|
22146
22512
|
});
|
|
@@ -22151,8 +22517,8 @@ var require_resolveSsoCredentials = __commonJS({
|
|
|
22151
22517
|
"use strict";
|
|
22152
22518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22153
22519
|
exports.resolveSsoCredentials = exports.isSsoProfile = void 0;
|
|
22154
|
-
var credential_provider_sso_1 =
|
|
22155
|
-
var credential_provider_sso_2 =
|
|
22520
|
+
var credential_provider_sso_1 = require_dist_cjs39();
|
|
22521
|
+
var credential_provider_sso_2 = require_dist_cjs39();
|
|
22156
22522
|
Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function() {
|
|
22157
22523
|
return credential_provider_sso_2.isSsoProfile;
|
|
22158
22524
|
} });
|
|
@@ -22247,7 +22613,7 @@ var require_fromTokenFile = __commonJS({
|
|
|
22247
22613
|
});
|
|
22248
22614
|
|
|
22249
22615
|
// node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
|
|
22250
|
-
var
|
|
22616
|
+
var require_dist_cjs40 = __commonJS({
|
|
22251
22617
|
"node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports) {
|
|
22252
22618
|
"use strict";
|
|
22253
22619
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22263,7 +22629,7 @@ var require_resolveWebIdentityCredentials = __commonJS({
|
|
|
22263
22629
|
"use strict";
|
|
22264
22630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22265
22631
|
exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0;
|
|
22266
|
-
var credential_provider_web_identity_1 =
|
|
22632
|
+
var credential_provider_web_identity_1 = require_dist_cjs40();
|
|
22267
22633
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
22268
22634
|
exports.isWebIdentityProfile = isWebIdentityProfile;
|
|
22269
22635
|
var resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({
|
|
@@ -22316,7 +22682,7 @@ var require_fromIni = __commonJS({
|
|
|
22316
22682
|
"use strict";
|
|
22317
22683
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22318
22684
|
exports.fromIni = void 0;
|
|
22319
|
-
var shared_ini_file_loader_1 =
|
|
22685
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
22320
22686
|
var resolveProfileData_1 = require_resolveProfileData();
|
|
22321
22687
|
var fromIni = (init = {}) => async () => {
|
|
22322
22688
|
const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
|
|
@@ -22327,7 +22693,7 @@ var require_fromIni = __commonJS({
|
|
|
22327
22693
|
});
|
|
22328
22694
|
|
|
22329
22695
|
// node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
|
|
22330
|
-
var
|
|
22696
|
+
var require_dist_cjs41 = __commonJS({
|
|
22331
22697
|
"node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) {
|
|
22332
22698
|
"use strict";
|
|
22333
22699
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22412,7 +22778,7 @@ var require_fromProcess = __commonJS({
|
|
|
22412
22778
|
"use strict";
|
|
22413
22779
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22414
22780
|
exports.fromProcess = void 0;
|
|
22415
|
-
var shared_ini_file_loader_1 =
|
|
22781
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
22416
22782
|
var resolveProcessCredentials_1 = require_resolveProcessCredentials();
|
|
22417
22783
|
var fromProcess = (init = {}) => async () => {
|
|
22418
22784
|
const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
|
|
@@ -22423,7 +22789,7 @@ var require_fromProcess = __commonJS({
|
|
|
22423
22789
|
});
|
|
22424
22790
|
|
|
22425
22791
|
// node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
|
|
22426
|
-
var
|
|
22792
|
+
var require_dist_cjs42 = __commonJS({
|
|
22427
22793
|
"node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports) {
|
|
22428
22794
|
"use strict";
|
|
22429
22795
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22438,7 +22804,7 @@ var require_remoteProvider = __commonJS({
|
|
|
22438
22804
|
"use strict";
|
|
22439
22805
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22440
22806
|
exports.remoteProvider = exports.ENV_IMDS_DISABLED = void 0;
|
|
22441
|
-
var credential_provider_imds_1 =
|
|
22807
|
+
var credential_provider_imds_1 = require_dist_cjs28();
|
|
22442
22808
|
var property_provider_1 = require_dist_cjs14();
|
|
22443
22809
|
exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
22444
22810
|
var remoteProvider = (init) => {
|
|
@@ -22462,13 +22828,13 @@ var require_defaultProvider = __commonJS({
|
|
|
22462
22828
|
"use strict";
|
|
22463
22829
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22464
22830
|
exports.defaultProvider = void 0;
|
|
22465
|
-
var credential_provider_env_1 =
|
|
22466
|
-
var credential_provider_ini_1 =
|
|
22467
|
-
var credential_provider_process_1 =
|
|
22468
|
-
var credential_provider_sso_1 =
|
|
22469
|
-
var credential_provider_web_identity_1 =
|
|
22831
|
+
var credential_provider_env_1 = require_dist_cjs25();
|
|
22832
|
+
var credential_provider_ini_1 = require_dist_cjs41();
|
|
22833
|
+
var credential_provider_process_1 = require_dist_cjs42();
|
|
22834
|
+
var credential_provider_sso_1 = require_dist_cjs39();
|
|
22835
|
+
var credential_provider_web_identity_1 = require_dist_cjs40();
|
|
22470
22836
|
var property_provider_1 = require_dist_cjs14();
|
|
22471
|
-
var shared_ini_file_loader_1 =
|
|
22837
|
+
var shared_ini_file_loader_1 = require_dist_cjs26();
|
|
22472
22838
|
var remoteProvider_1 = require_remoteProvider();
|
|
22473
22839
|
var defaultProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)(...init.profile || process.env[shared_ini_file_loader_1.ENV_PROFILE] ? [] : [(0, credential_provider_env_1.fromEnv)()], (0, credential_provider_sso_1.fromSSO)(init), (0, credential_provider_ini_1.fromIni)(init), (0, credential_provider_process_1.fromProcess)(init), (0, credential_provider_web_identity_1.fromTokenFile)(init), (0, remoteProvider_1.remoteProvider)(init), async () => {
|
|
22474
22840
|
throw new property_provider_1.CredentialsProviderError("Could not load credentials from any providers", false);
|
|
@@ -22478,7 +22844,7 @@ var require_defaultProvider = __commonJS({
|
|
|
22478
22844
|
});
|
|
22479
22845
|
|
|
22480
22846
|
// node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
|
|
22481
|
-
var
|
|
22847
|
+
var require_dist_cjs43 = __commonJS({
|
|
22482
22848
|
"node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) {
|
|
22483
22849
|
"use strict";
|
|
22484
22850
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -22487,231 +22853,2089 @@ var require_dist_cjs42 = __commonJS({
|
|
|
22487
22853
|
}
|
|
22488
22854
|
});
|
|
22489
22855
|
|
|
22490
|
-
// node_modules/@aws-sdk/
|
|
22491
|
-
var
|
|
22492
|
-
"node_modules/@aws-sdk/
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
|
|
22496
|
-
|
|
22497
|
-
|
|
22498
|
-
|
|
22499
|
-
|
|
22500
|
-
|
|
22501
|
-
|
|
22502
|
-
|
|
22503
|
-
|
|
22504
|
-
|
|
22505
|
-
|
|
22506
|
-
|
|
22507
|
-
|
|
22508
|
-
|
|
22509
|
-
|
|
22510
|
-
|
|
22511
|
-
|
|
22512
|
-
|
|
22513
|
-
|
|
22514
|
-
|
|
22515
|
-
|
|
22516
|
-
|
|
22517
|
-
|
|
22518
|
-
|
|
22519
|
-
|
|
22520
|
-
|
|
22521
|
-
|
|
22522
|
-
|
|
22523
|
-
"us-gov-east-1": {
|
|
22524
|
-
variants: [
|
|
22525
|
-
{
|
|
22526
|
-
hostname: "sts.us-gov-east-1.amazonaws.com",
|
|
22527
|
-
tags: ["fips"]
|
|
22528
|
-
}
|
|
22529
|
-
]
|
|
22530
|
-
},
|
|
22531
|
-
"us-gov-west-1": {
|
|
22532
|
-
variants: [
|
|
22533
|
-
{
|
|
22534
|
-
hostname: "sts.us-gov-west-1.amazonaws.com",
|
|
22535
|
-
tags: ["fips"]
|
|
22536
|
-
}
|
|
22537
|
-
]
|
|
22538
|
-
},
|
|
22539
|
-
"us-west-1": {
|
|
22540
|
-
variants: [
|
|
22541
|
-
{
|
|
22542
|
-
hostname: "sts-fips.us-west-1.amazonaws.com",
|
|
22543
|
-
tags: ["fips"]
|
|
22544
|
-
}
|
|
22545
|
-
]
|
|
22546
|
-
},
|
|
22547
|
-
"us-west-2": {
|
|
22548
|
-
variants: [
|
|
22549
|
-
{
|
|
22550
|
-
hostname: "sts-fips.us-west-2.amazonaws.com",
|
|
22551
|
-
tags: ["fips"]
|
|
22552
|
-
}
|
|
22553
|
-
]
|
|
22554
|
-
}
|
|
22555
|
-
};
|
|
22556
|
-
var partitionHash = {
|
|
22557
|
-
aws: {
|
|
22558
|
-
regions: [
|
|
22559
|
-
"af-south-1",
|
|
22560
|
-
"ap-east-1",
|
|
22561
|
-
"ap-northeast-1",
|
|
22562
|
-
"ap-northeast-2",
|
|
22563
|
-
"ap-northeast-3",
|
|
22564
|
-
"ap-south-1",
|
|
22565
|
-
"ap-southeast-1",
|
|
22566
|
-
"ap-southeast-2",
|
|
22567
|
-
"ap-southeast-3",
|
|
22568
|
-
"aws-global",
|
|
22569
|
-
"ca-central-1",
|
|
22570
|
-
"eu-central-1",
|
|
22571
|
-
"eu-north-1",
|
|
22572
|
-
"eu-south-1",
|
|
22573
|
-
"eu-west-1",
|
|
22574
|
-
"eu-west-2",
|
|
22575
|
-
"eu-west-3",
|
|
22576
|
-
"me-central-1",
|
|
22577
|
-
"me-south-1",
|
|
22578
|
-
"sa-east-1",
|
|
22579
|
-
"us-east-1",
|
|
22580
|
-
"us-east-1-fips",
|
|
22581
|
-
"us-east-2",
|
|
22582
|
-
"us-east-2-fips",
|
|
22583
|
-
"us-west-1",
|
|
22584
|
-
"us-west-1-fips",
|
|
22585
|
-
"us-west-2",
|
|
22586
|
-
"us-west-2-fips"
|
|
22587
|
-
],
|
|
22588
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
22589
|
-
variants: [
|
|
22590
|
-
{
|
|
22591
|
-
hostname: "sts.{region}.amazonaws.com",
|
|
22592
|
-
tags: []
|
|
22593
|
-
},
|
|
22594
|
-
{
|
|
22595
|
-
hostname: "sts-fips.{region}.amazonaws.com",
|
|
22596
|
-
tags: ["fips"]
|
|
22597
|
-
},
|
|
22598
|
-
{
|
|
22599
|
-
hostname: "sts-fips.{region}.api.aws",
|
|
22600
|
-
tags: ["dualstack", "fips"]
|
|
22856
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json
|
|
22857
|
+
var require_partitions = __commonJS({
|
|
22858
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json"(exports, module2) {
|
|
22859
|
+
module2.exports = {
|
|
22860
|
+
version: "1.1",
|
|
22861
|
+
partitions: [
|
|
22862
|
+
{
|
|
22863
|
+
id: "aws",
|
|
22864
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)-\\w+-\\d+$",
|
|
22865
|
+
regions: {
|
|
22866
|
+
"af-south-1": {},
|
|
22867
|
+
"af-east-1": {},
|
|
22868
|
+
"ap-northeast-1": {},
|
|
22869
|
+
"ap-northeast-2": {},
|
|
22870
|
+
"ap-northeast-3": {},
|
|
22871
|
+
"ap-south-1": {},
|
|
22872
|
+
"ap-southeast-1": {},
|
|
22873
|
+
"ap-southeast-2": {},
|
|
22874
|
+
"ap-southeast-3": {},
|
|
22875
|
+
"ca-central-1": {},
|
|
22876
|
+
"eu-central-1": {},
|
|
22877
|
+
"eu-north-1": {},
|
|
22878
|
+
"eu-south-1": {},
|
|
22879
|
+
"eu-west-1": {},
|
|
22880
|
+
"eu-west-2": {},
|
|
22881
|
+
"eu-west-3": {},
|
|
22882
|
+
"me-south-1": {},
|
|
22883
|
+
"sa-east-1": {},
|
|
22884
|
+
"us-east-1": {},
|
|
22885
|
+
"us-east-2": {},
|
|
22886
|
+
"us-west-1": {},
|
|
22887
|
+
"us-west-2": {},
|
|
22888
|
+
"aws-global": {}
|
|
22601
22889
|
},
|
|
22602
|
-
{
|
|
22603
|
-
|
|
22604
|
-
|
|
22890
|
+
outputs: {
|
|
22891
|
+
name: "aws",
|
|
22892
|
+
dnsSuffix: "amazonaws.com",
|
|
22893
|
+
dualStackDnsSuffix: "api.aws",
|
|
22894
|
+
supportsFIPS: true,
|
|
22895
|
+
supportsDualStack: true
|
|
22605
22896
|
}
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
tags: []
|
|
22615
|
-
},
|
|
22616
|
-
{
|
|
22617
|
-
hostname: "sts-fips.{region}.amazonaws.com.cn",
|
|
22618
|
-
tags: ["fips"]
|
|
22619
|
-
},
|
|
22620
|
-
{
|
|
22621
|
-
hostname: "sts-fips.{region}.api.amazonwebservices.com.cn",
|
|
22622
|
-
tags: ["dualstack", "fips"]
|
|
22897
|
+
},
|
|
22898
|
+
{
|
|
22899
|
+
id: "aws-us-gov",
|
|
22900
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
22901
|
+
regions: {
|
|
22902
|
+
"us-gov-west-1": {},
|
|
22903
|
+
"us-gov-east-1": {},
|
|
22904
|
+
"aws-us-gov-global": {}
|
|
22623
22905
|
},
|
|
22624
|
-
{
|
|
22625
|
-
|
|
22626
|
-
|
|
22906
|
+
outputs: {
|
|
22907
|
+
name: "aws-us-gov",
|
|
22908
|
+
dnsSuffix: "amazonaws.com",
|
|
22909
|
+
dualStackDnsSuffix: "api.aws",
|
|
22910
|
+
supportsFIPS: true,
|
|
22911
|
+
supportsDualStack: true
|
|
22627
22912
|
}
|
|
22628
|
-
|
|
22629
|
-
|
|
22630
|
-
|
|
22631
|
-
|
|
22632
|
-
|
|
22633
|
-
|
|
22634
|
-
|
|
22635
|
-
|
|
22636
|
-
tags: []
|
|
22913
|
+
},
|
|
22914
|
+
{
|
|
22915
|
+
id: "aws-cn",
|
|
22916
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
22917
|
+
regions: {
|
|
22918
|
+
"cn-north-1": {},
|
|
22919
|
+
"cn-northwest-1": {},
|
|
22920
|
+
"aws-cn-global": {}
|
|
22637
22921
|
},
|
|
22638
|
-
{
|
|
22639
|
-
|
|
22640
|
-
|
|
22922
|
+
outputs: {
|
|
22923
|
+
name: "aws-cn",
|
|
22924
|
+
dnsSuffix: "amazonaws.com.cn",
|
|
22925
|
+
dualStackDnsSuffix: "api.amazonwebservices.com.cn",
|
|
22926
|
+
supportsFIPS: true,
|
|
22927
|
+
supportsDualStack: true
|
|
22641
22928
|
}
|
|
22642
|
-
|
|
22643
|
-
|
|
22644
|
-
|
|
22645
|
-
|
|
22646
|
-
|
|
22647
|
-
|
|
22648
|
-
|
|
22649
|
-
|
|
22650
|
-
|
|
22929
|
+
},
|
|
22930
|
+
{
|
|
22931
|
+
id: "aws-iso",
|
|
22932
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
22933
|
+
outputs: {
|
|
22934
|
+
name: "aws-iso",
|
|
22935
|
+
dnsSuffix: "c2s.ic.gov",
|
|
22936
|
+
supportsFIPS: true,
|
|
22937
|
+
supportsDualStack: false,
|
|
22938
|
+
dualStackDnsSuffix: "c2s.ic.gov"
|
|
22651
22939
|
},
|
|
22652
|
-
{
|
|
22653
|
-
|
|
22654
|
-
tags: ["fips"]
|
|
22940
|
+
regions: {
|
|
22941
|
+
"aws-iso-global": {}
|
|
22655
22942
|
}
|
|
22656
|
-
|
|
22657
|
-
|
|
22658
|
-
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22663
|
-
|
|
22664
|
-
|
|
22665
|
-
|
|
22666
|
-
{
|
|
22667
|
-
hostname: "sts.{region}.amazonaws.com",
|
|
22668
|
-
tags: ["fips"]
|
|
22669
|
-
},
|
|
22670
|
-
{
|
|
22671
|
-
hostname: "sts-fips.{region}.api.aws",
|
|
22672
|
-
tags: ["dualstack", "fips"]
|
|
22943
|
+
},
|
|
22944
|
+
{
|
|
22945
|
+
id: "aws-iso-b",
|
|
22946
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
22947
|
+
outputs: {
|
|
22948
|
+
name: "aws-iso-b",
|
|
22949
|
+
dnsSuffix: "sc2s.sgov.gov",
|
|
22950
|
+
supportsFIPS: true,
|
|
22951
|
+
supportsDualStack: false,
|
|
22952
|
+
dualStackDnsSuffix: "sc2s.sgov.gov"
|
|
22673
22953
|
},
|
|
22674
|
-
{
|
|
22675
|
-
|
|
22676
|
-
tags: ["dualstack"]
|
|
22954
|
+
regions: {
|
|
22955
|
+
"aws-iso-b-global": {}
|
|
22677
22956
|
}
|
|
22678
|
-
|
|
22679
|
-
|
|
22957
|
+
}
|
|
22958
|
+
]
|
|
22680
22959
|
};
|
|
22681
|
-
var defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
22682
|
-
...options,
|
|
22683
|
-
signingService: "sts",
|
|
22684
|
-
regionHash,
|
|
22685
|
-
partitionHash
|
|
22686
|
-
});
|
|
22687
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
22688
22960
|
}
|
|
22689
22961
|
});
|
|
22690
22962
|
|
|
22691
|
-
// node_modules/@aws-sdk/
|
|
22692
|
-
var
|
|
22693
|
-
"node_modules/@aws-sdk/
|
|
22963
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js
|
|
22964
|
+
var require_partition = __commonJS({
|
|
22965
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js"(exports) {
|
|
22694
22966
|
"use strict";
|
|
22695
22967
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22696
|
-
exports.
|
|
22697
|
-
var
|
|
22698
|
-
var
|
|
22699
|
-
var
|
|
22700
|
-
|
|
22968
|
+
exports.partition = void 0;
|
|
22969
|
+
var tslib_1 = require_tslib();
|
|
22970
|
+
var partitions_json_1 = tslib_1.__importDefault(require_partitions());
|
|
22971
|
+
var { partitions } = partitions_json_1.default;
|
|
22972
|
+
var DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === "aws");
|
|
22973
|
+
var partition = (value) => {
|
|
22974
|
+
for (const partition2 of partitions) {
|
|
22975
|
+
const { regions, outputs } = partition2;
|
|
22976
|
+
for (const [region, regionData] of Object.entries(regions)) {
|
|
22977
|
+
if (region === value) {
|
|
22978
|
+
return {
|
|
22979
|
+
...outputs,
|
|
22980
|
+
...regionData
|
|
22981
|
+
};
|
|
22982
|
+
}
|
|
22983
|
+
}
|
|
22984
|
+
}
|
|
22985
|
+
for (const partition2 of partitions) {
|
|
22986
|
+
const { regionRegex, outputs } = partition2;
|
|
22987
|
+
if (new RegExp(regionRegex).test(value)) {
|
|
22988
|
+
return {
|
|
22989
|
+
...outputs
|
|
22990
|
+
};
|
|
22991
|
+
}
|
|
22992
|
+
}
|
|
22993
|
+
if (!DEFAULT_PARTITION) {
|
|
22994
|
+
throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");
|
|
22995
|
+
}
|
|
22701
22996
|
return {
|
|
22702
|
-
|
|
22703
|
-
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
22704
|
-
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
22705
|
-
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
|
|
22706
|
-
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "STS",
|
|
22707
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl
|
|
22997
|
+
...DEFAULT_PARTITION.outputs
|
|
22708
22998
|
};
|
|
22709
22999
|
};
|
|
22710
|
-
exports.
|
|
23000
|
+
exports.partition = partition;
|
|
22711
23001
|
}
|
|
22712
23002
|
});
|
|
22713
23003
|
|
|
22714
|
-
// node_modules/@aws-sdk/
|
|
23004
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js
|
|
23005
|
+
var require_EndpointError = __commonJS({
|
|
23006
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js"(exports) {
|
|
23007
|
+
"use strict";
|
|
23008
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23009
|
+
exports.EndpointError = void 0;
|
|
23010
|
+
var EndpointError = class extends Error {
|
|
23011
|
+
constructor(message) {
|
|
23012
|
+
super(message);
|
|
23013
|
+
this.name = "EndpointError";
|
|
23014
|
+
}
|
|
23015
|
+
};
|
|
23016
|
+
exports.EndpointError = EndpointError;
|
|
23017
|
+
}
|
|
23018
|
+
});
|
|
23019
|
+
|
|
23020
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js
|
|
23021
|
+
var require_EndpointRuleObject = __commonJS({
|
|
23022
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js"(exports) {
|
|
23023
|
+
"use strict";
|
|
23024
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23025
|
+
}
|
|
23026
|
+
});
|
|
23027
|
+
|
|
23028
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js
|
|
23029
|
+
var require_ErrorRuleObject = __commonJS({
|
|
23030
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js"(exports) {
|
|
23031
|
+
"use strict";
|
|
23032
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23033
|
+
}
|
|
23034
|
+
});
|
|
23035
|
+
|
|
23036
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js
|
|
23037
|
+
var require_RuleSetObject = __commonJS({
|
|
23038
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js"(exports) {
|
|
23039
|
+
"use strict";
|
|
23040
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23041
|
+
}
|
|
23042
|
+
});
|
|
23043
|
+
|
|
23044
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js
|
|
23045
|
+
var require_TreeRuleObject = __commonJS({
|
|
23046
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js"(exports) {
|
|
23047
|
+
"use strict";
|
|
23048
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23049
|
+
}
|
|
23050
|
+
});
|
|
23051
|
+
|
|
23052
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js
|
|
23053
|
+
var require_shared = __commonJS({
|
|
23054
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js"(exports) {
|
|
23055
|
+
"use strict";
|
|
23056
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23057
|
+
}
|
|
23058
|
+
});
|
|
23059
|
+
|
|
23060
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js
|
|
23061
|
+
var require_types6 = __commonJS({
|
|
23062
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js"(exports) {
|
|
23063
|
+
"use strict";
|
|
23064
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23065
|
+
var tslib_1 = require_tslib();
|
|
23066
|
+
tslib_1.__exportStar(require_EndpointError(), exports);
|
|
23067
|
+
tslib_1.__exportStar(require_EndpointRuleObject(), exports);
|
|
23068
|
+
tslib_1.__exportStar(require_ErrorRuleObject(), exports);
|
|
23069
|
+
tslib_1.__exportStar(require_RuleSetObject(), exports);
|
|
23070
|
+
tslib_1.__exportStar(require_TreeRuleObject(), exports);
|
|
23071
|
+
tslib_1.__exportStar(require_shared(), exports);
|
|
23072
|
+
}
|
|
23073
|
+
});
|
|
23074
|
+
|
|
23075
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js
|
|
23076
|
+
var require_isIpAddress = __commonJS({
|
|
23077
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js"(exports) {
|
|
23078
|
+
"use strict";
|
|
23079
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23080
|
+
exports.isIpAddress = void 0;
|
|
23081
|
+
var IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
|
|
23082
|
+
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
23083
|
+
exports.isIpAddress = isIpAddress;
|
|
23084
|
+
}
|
|
23085
|
+
});
|
|
23086
|
+
|
|
23087
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isValidHostLabel.js
|
|
23088
|
+
var require_isValidHostLabel = __commonJS({
|
|
23089
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isValidHostLabel.js"(exports) {
|
|
23090
|
+
"use strict";
|
|
23091
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23092
|
+
exports.isValidHostLabel = void 0;
|
|
23093
|
+
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
23094
|
+
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
23095
|
+
if (!allowSubDomains) {
|
|
23096
|
+
return VALID_HOST_LABEL_REGEX.test(value);
|
|
23097
|
+
}
|
|
23098
|
+
const labels = value.split(".");
|
|
23099
|
+
for (const label of labels) {
|
|
23100
|
+
if (!(0, exports.isValidHostLabel)(label)) {
|
|
23101
|
+
return false;
|
|
23102
|
+
}
|
|
23103
|
+
}
|
|
23104
|
+
return true;
|
|
23105
|
+
};
|
|
23106
|
+
exports.isValidHostLabel = isValidHostLabel;
|
|
23107
|
+
}
|
|
23108
|
+
});
|
|
23109
|
+
|
|
23110
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js
|
|
23111
|
+
var require_isVirtualHostableS3Bucket = __commonJS({
|
|
23112
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js"(exports) {
|
|
23113
|
+
"use strict";
|
|
23114
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23115
|
+
exports.isVirtualHostableS3Bucket = void 0;
|
|
23116
|
+
var isIpAddress_1 = require_isIpAddress();
|
|
23117
|
+
var isValidHostLabel_1 = require_isValidHostLabel();
|
|
23118
|
+
var isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
23119
|
+
if (allowSubDomains) {
|
|
23120
|
+
for (const label of value.split(".")) {
|
|
23121
|
+
if (!(0, exports.isVirtualHostableS3Bucket)(label)) {
|
|
23122
|
+
return false;
|
|
23123
|
+
}
|
|
23124
|
+
}
|
|
23125
|
+
return true;
|
|
23126
|
+
}
|
|
23127
|
+
if (!(0, isValidHostLabel_1.isValidHostLabel)(value)) {
|
|
23128
|
+
return false;
|
|
23129
|
+
}
|
|
23130
|
+
if (value.length < 3 || value.length > 63) {
|
|
23131
|
+
return false;
|
|
23132
|
+
}
|
|
23133
|
+
if (value !== value.toLowerCase()) {
|
|
23134
|
+
return false;
|
|
23135
|
+
}
|
|
23136
|
+
if ((0, isIpAddress_1.isIpAddress)(value)) {
|
|
23137
|
+
return false;
|
|
23138
|
+
}
|
|
23139
|
+
return true;
|
|
23140
|
+
};
|
|
23141
|
+
exports.isVirtualHostableS3Bucket = isVirtualHostableS3Bucket;
|
|
23142
|
+
}
|
|
23143
|
+
});
|
|
23144
|
+
|
|
23145
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js
|
|
23146
|
+
var require_parseArn = __commonJS({
|
|
23147
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js"(exports) {
|
|
23148
|
+
"use strict";
|
|
23149
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23150
|
+
exports.parseArn = void 0;
|
|
23151
|
+
var parseArn = (value) => {
|
|
23152
|
+
const segments = value.split(":");
|
|
23153
|
+
if (segments.length < 6)
|
|
23154
|
+
return null;
|
|
23155
|
+
const [arn, partition, service, region, accountId, ...resourceId] = segments;
|
|
23156
|
+
if (arn !== "arn" || partition === "" || service === "" || resourceId[0] === "")
|
|
23157
|
+
return null;
|
|
23158
|
+
return {
|
|
23159
|
+
partition,
|
|
23160
|
+
service,
|
|
23161
|
+
region,
|
|
23162
|
+
accountId,
|
|
23163
|
+
resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId
|
|
23164
|
+
};
|
|
23165
|
+
};
|
|
23166
|
+
exports.parseArn = parseArn;
|
|
23167
|
+
}
|
|
23168
|
+
});
|
|
23169
|
+
|
|
23170
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js
|
|
23171
|
+
var require_aws = __commonJS({
|
|
23172
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js"(exports) {
|
|
23173
|
+
"use strict";
|
|
23174
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23175
|
+
var tslib_1 = require_tslib();
|
|
23176
|
+
tslib_1.__exportStar(require_isVirtualHostableS3Bucket(), exports);
|
|
23177
|
+
tslib_1.__exportStar(require_parseArn(), exports);
|
|
23178
|
+
tslib_1.__exportStar(require_partition(), exports);
|
|
23179
|
+
}
|
|
23180
|
+
});
|
|
23181
|
+
|
|
23182
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/booleanEquals.js
|
|
23183
|
+
var require_booleanEquals = __commonJS({
|
|
23184
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/booleanEquals.js"(exports) {
|
|
23185
|
+
"use strict";
|
|
23186
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23187
|
+
exports.booleanEquals = void 0;
|
|
23188
|
+
var booleanEquals = (value1, value2) => value1 === value2;
|
|
23189
|
+
exports.booleanEquals = booleanEquals;
|
|
23190
|
+
}
|
|
23191
|
+
});
|
|
23192
|
+
|
|
23193
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/getAttrPathList.js
|
|
23194
|
+
var require_getAttrPathList = __commonJS({
|
|
23195
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/getAttrPathList.js"(exports) {
|
|
23196
|
+
"use strict";
|
|
23197
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23198
|
+
exports.getAttrPathList = void 0;
|
|
23199
|
+
var types_1 = require_types6();
|
|
23200
|
+
var getAttrPathList = (path) => {
|
|
23201
|
+
const parts = path.split(".");
|
|
23202
|
+
const pathList = [];
|
|
23203
|
+
for (const part of parts) {
|
|
23204
|
+
const squareBracketIndex = part.indexOf("[");
|
|
23205
|
+
if (squareBracketIndex !== -1) {
|
|
23206
|
+
if (part.indexOf("]") !== part.length - 1) {
|
|
23207
|
+
throw new types_1.EndpointError(`Path: '${path}' does not end with ']'`);
|
|
23208
|
+
}
|
|
23209
|
+
const arrayIndex = part.slice(squareBracketIndex + 1, -1);
|
|
23210
|
+
if (Number.isNaN(parseInt(arrayIndex))) {
|
|
23211
|
+
throw new types_1.EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`);
|
|
23212
|
+
}
|
|
23213
|
+
if (squareBracketIndex !== 0) {
|
|
23214
|
+
pathList.push(part.slice(0, squareBracketIndex));
|
|
23215
|
+
}
|
|
23216
|
+
pathList.push(arrayIndex);
|
|
23217
|
+
} else {
|
|
23218
|
+
pathList.push(part);
|
|
23219
|
+
}
|
|
23220
|
+
}
|
|
23221
|
+
return pathList;
|
|
23222
|
+
};
|
|
23223
|
+
exports.getAttrPathList = getAttrPathList;
|
|
23224
|
+
}
|
|
23225
|
+
});
|
|
23226
|
+
|
|
23227
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/getAttr.js
|
|
23228
|
+
var require_getAttr = __commonJS({
|
|
23229
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/getAttr.js"(exports) {
|
|
23230
|
+
"use strict";
|
|
23231
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23232
|
+
exports.getAttr = void 0;
|
|
23233
|
+
var types_1 = require_types6();
|
|
23234
|
+
var getAttrPathList_1 = require_getAttrPathList();
|
|
23235
|
+
var getAttr = (value, path) => (0, getAttrPathList_1.getAttrPathList)(path).reduce((acc, index) => {
|
|
23236
|
+
if (typeof acc !== "object") {
|
|
23237
|
+
throw new types_1.EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
23238
|
+
} else if (Array.isArray(acc)) {
|
|
23239
|
+
return acc[parseInt(index)];
|
|
23240
|
+
}
|
|
23241
|
+
return acc[index];
|
|
23242
|
+
}, value);
|
|
23243
|
+
exports.getAttr = getAttr;
|
|
23244
|
+
}
|
|
23245
|
+
});
|
|
23246
|
+
|
|
23247
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isSet.js
|
|
23248
|
+
var require_isSet = __commonJS({
|
|
23249
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isSet.js"(exports) {
|
|
23250
|
+
"use strict";
|
|
23251
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23252
|
+
exports.isSet = void 0;
|
|
23253
|
+
var isSet = (value) => value != null;
|
|
23254
|
+
exports.isSet = isSet;
|
|
23255
|
+
}
|
|
23256
|
+
});
|
|
23257
|
+
|
|
23258
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/not.js
|
|
23259
|
+
var require_not = __commonJS({
|
|
23260
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/not.js"(exports) {
|
|
23261
|
+
"use strict";
|
|
23262
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23263
|
+
exports.not = void 0;
|
|
23264
|
+
var not = (value) => !value;
|
|
23265
|
+
exports.not = not;
|
|
23266
|
+
}
|
|
23267
|
+
});
|
|
23268
|
+
|
|
23269
|
+
// node_modules/@aws-sdk/types/dist-cjs/abort.js
|
|
23270
|
+
var require_abort = __commonJS({
|
|
23271
|
+
"node_modules/@aws-sdk/types/dist-cjs/abort.js"(exports) {
|
|
23272
|
+
"use strict";
|
|
23273
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23274
|
+
}
|
|
23275
|
+
});
|
|
23276
|
+
|
|
23277
|
+
// node_modules/@aws-sdk/types/dist-cjs/auth.js
|
|
23278
|
+
var require_auth = __commonJS({
|
|
23279
|
+
"node_modules/@aws-sdk/types/dist-cjs/auth.js"(exports) {
|
|
23280
|
+
"use strict";
|
|
23281
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23282
|
+
}
|
|
23283
|
+
});
|
|
23284
|
+
|
|
23285
|
+
// node_modules/@aws-sdk/types/dist-cjs/client.js
|
|
23286
|
+
var require_client2 = __commonJS({
|
|
23287
|
+
"node_modules/@aws-sdk/types/dist-cjs/client.js"(exports) {
|
|
23288
|
+
"use strict";
|
|
23289
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23290
|
+
}
|
|
23291
|
+
});
|
|
23292
|
+
|
|
23293
|
+
// node_modules/@aws-sdk/types/dist-cjs/command.js
|
|
23294
|
+
var require_command2 = __commonJS({
|
|
23295
|
+
"node_modules/@aws-sdk/types/dist-cjs/command.js"(exports) {
|
|
23296
|
+
"use strict";
|
|
23297
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23298
|
+
}
|
|
23299
|
+
});
|
|
23300
|
+
|
|
23301
|
+
// node_modules/@aws-sdk/types/dist-cjs/credentials.js
|
|
23302
|
+
var require_credentials = __commonJS({
|
|
23303
|
+
"node_modules/@aws-sdk/types/dist-cjs/credentials.js"(exports) {
|
|
23304
|
+
"use strict";
|
|
23305
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23306
|
+
}
|
|
23307
|
+
});
|
|
23308
|
+
|
|
23309
|
+
// node_modules/@aws-sdk/types/dist-cjs/crypto.js
|
|
23310
|
+
var require_crypto = __commonJS({
|
|
23311
|
+
"node_modules/@aws-sdk/types/dist-cjs/crypto.js"(exports) {
|
|
23312
|
+
"use strict";
|
|
23313
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23314
|
+
}
|
|
23315
|
+
});
|
|
23316
|
+
|
|
23317
|
+
// node_modules/@aws-sdk/types/dist-cjs/endpoint.js
|
|
23318
|
+
var require_endpoint = __commonJS({
|
|
23319
|
+
"node_modules/@aws-sdk/types/dist-cjs/endpoint.js"(exports) {
|
|
23320
|
+
"use strict";
|
|
23321
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23322
|
+
exports.EndpointURLScheme = void 0;
|
|
23323
|
+
var EndpointURLScheme;
|
|
23324
|
+
(function(EndpointURLScheme2) {
|
|
23325
|
+
EndpointURLScheme2["HTTP"] = "http";
|
|
23326
|
+
EndpointURLScheme2["HTTPS"] = "https";
|
|
23327
|
+
})(EndpointURLScheme = exports.EndpointURLScheme || (exports.EndpointURLScheme = {}));
|
|
23328
|
+
}
|
|
23329
|
+
});
|
|
23330
|
+
|
|
23331
|
+
// node_modules/@aws-sdk/types/dist-cjs/eventStream.js
|
|
23332
|
+
var require_eventStream = __commonJS({
|
|
23333
|
+
"node_modules/@aws-sdk/types/dist-cjs/eventStream.js"(exports) {
|
|
23334
|
+
"use strict";
|
|
23335
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23336
|
+
}
|
|
23337
|
+
});
|
|
23338
|
+
|
|
23339
|
+
// node_modules/@aws-sdk/types/dist-cjs/http.js
|
|
23340
|
+
var require_http = __commonJS({
|
|
23341
|
+
"node_modules/@aws-sdk/types/dist-cjs/http.js"(exports) {
|
|
23342
|
+
"use strict";
|
|
23343
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23344
|
+
}
|
|
23345
|
+
});
|
|
23346
|
+
|
|
23347
|
+
// node_modules/@aws-sdk/types/dist-cjs/logger.js
|
|
23348
|
+
var require_logger = __commonJS({
|
|
23349
|
+
"node_modules/@aws-sdk/types/dist-cjs/logger.js"(exports) {
|
|
23350
|
+
"use strict";
|
|
23351
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23352
|
+
}
|
|
23353
|
+
});
|
|
23354
|
+
|
|
23355
|
+
// node_modules/@aws-sdk/types/dist-cjs/middleware.js
|
|
23356
|
+
var require_middleware2 = __commonJS({
|
|
23357
|
+
"node_modules/@aws-sdk/types/dist-cjs/middleware.js"(exports) {
|
|
23358
|
+
"use strict";
|
|
23359
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23360
|
+
}
|
|
23361
|
+
});
|
|
23362
|
+
|
|
23363
|
+
// node_modules/@aws-sdk/types/dist-cjs/pagination.js
|
|
23364
|
+
var require_pagination2 = __commonJS({
|
|
23365
|
+
"node_modules/@aws-sdk/types/dist-cjs/pagination.js"(exports) {
|
|
23366
|
+
"use strict";
|
|
23367
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23368
|
+
}
|
|
23369
|
+
});
|
|
23370
|
+
|
|
23371
|
+
// node_modules/@aws-sdk/types/dist-cjs/profile.js
|
|
23372
|
+
var require_profile = __commonJS({
|
|
23373
|
+
"node_modules/@aws-sdk/types/dist-cjs/profile.js"(exports) {
|
|
23374
|
+
"use strict";
|
|
23375
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23376
|
+
}
|
|
23377
|
+
});
|
|
23378
|
+
|
|
23379
|
+
// node_modules/@aws-sdk/types/dist-cjs/response.js
|
|
23380
|
+
var require_response = __commonJS({
|
|
23381
|
+
"node_modules/@aws-sdk/types/dist-cjs/response.js"(exports) {
|
|
23382
|
+
"use strict";
|
|
23383
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23384
|
+
}
|
|
23385
|
+
});
|
|
23386
|
+
|
|
23387
|
+
// node_modules/@aws-sdk/types/dist-cjs/serde.js
|
|
23388
|
+
var require_serde = __commonJS({
|
|
23389
|
+
"node_modules/@aws-sdk/types/dist-cjs/serde.js"(exports) {
|
|
23390
|
+
"use strict";
|
|
23391
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23392
|
+
}
|
|
23393
|
+
});
|
|
23394
|
+
|
|
23395
|
+
// node_modules/@aws-sdk/types/dist-cjs/shapes.js
|
|
23396
|
+
var require_shapes = __commonJS({
|
|
23397
|
+
"node_modules/@aws-sdk/types/dist-cjs/shapes.js"(exports) {
|
|
23398
|
+
"use strict";
|
|
23399
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23400
|
+
}
|
|
23401
|
+
});
|
|
23402
|
+
|
|
23403
|
+
// node_modules/@aws-sdk/types/dist-cjs/signature.js
|
|
23404
|
+
var require_signature = __commonJS({
|
|
23405
|
+
"node_modules/@aws-sdk/types/dist-cjs/signature.js"(exports) {
|
|
23406
|
+
"use strict";
|
|
23407
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23408
|
+
}
|
|
23409
|
+
});
|
|
23410
|
+
|
|
23411
|
+
// node_modules/@aws-sdk/types/dist-cjs/stream.js
|
|
23412
|
+
var require_stream = __commonJS({
|
|
23413
|
+
"node_modules/@aws-sdk/types/dist-cjs/stream.js"(exports) {
|
|
23414
|
+
"use strict";
|
|
23415
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23416
|
+
}
|
|
23417
|
+
});
|
|
23418
|
+
|
|
23419
|
+
// node_modules/@aws-sdk/types/dist-cjs/token.js
|
|
23420
|
+
var require_token = __commonJS({
|
|
23421
|
+
"node_modules/@aws-sdk/types/dist-cjs/token.js"(exports) {
|
|
23422
|
+
"use strict";
|
|
23423
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23424
|
+
}
|
|
23425
|
+
});
|
|
23426
|
+
|
|
23427
|
+
// node_modules/@aws-sdk/types/dist-cjs/transfer.js
|
|
23428
|
+
var require_transfer = __commonJS({
|
|
23429
|
+
"node_modules/@aws-sdk/types/dist-cjs/transfer.js"(exports) {
|
|
23430
|
+
"use strict";
|
|
23431
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23432
|
+
}
|
|
23433
|
+
});
|
|
23434
|
+
|
|
23435
|
+
// node_modules/@aws-sdk/types/dist-cjs/util.js
|
|
23436
|
+
var require_util2 = __commonJS({
|
|
23437
|
+
"node_modules/@aws-sdk/types/dist-cjs/util.js"(exports) {
|
|
23438
|
+
"use strict";
|
|
23439
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23440
|
+
}
|
|
23441
|
+
});
|
|
23442
|
+
|
|
23443
|
+
// node_modules/@aws-sdk/types/dist-cjs/waiter.js
|
|
23444
|
+
var require_waiter = __commonJS({
|
|
23445
|
+
"node_modules/@aws-sdk/types/dist-cjs/waiter.js"(exports) {
|
|
23446
|
+
"use strict";
|
|
23447
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23448
|
+
}
|
|
23449
|
+
});
|
|
23450
|
+
|
|
23451
|
+
// node_modules/@aws-sdk/types/dist-cjs/index.js
|
|
23452
|
+
var require_dist_cjs44 = __commonJS({
|
|
23453
|
+
"node_modules/@aws-sdk/types/dist-cjs/index.js"(exports) {
|
|
23454
|
+
"use strict";
|
|
23455
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23456
|
+
var tslib_1 = require_tslib();
|
|
23457
|
+
tslib_1.__exportStar(require_abort(), exports);
|
|
23458
|
+
tslib_1.__exportStar(require_auth(), exports);
|
|
23459
|
+
tslib_1.__exportStar(require_client2(), exports);
|
|
23460
|
+
tslib_1.__exportStar(require_command2(), exports);
|
|
23461
|
+
tslib_1.__exportStar(require_credentials(), exports);
|
|
23462
|
+
tslib_1.__exportStar(require_crypto(), exports);
|
|
23463
|
+
tslib_1.__exportStar(require_endpoint(), exports);
|
|
23464
|
+
tslib_1.__exportStar(require_eventStream(), exports);
|
|
23465
|
+
tslib_1.__exportStar(require_http(), exports);
|
|
23466
|
+
tslib_1.__exportStar(require_logger(), exports);
|
|
23467
|
+
tslib_1.__exportStar(require_middleware2(), exports);
|
|
23468
|
+
tslib_1.__exportStar(require_pagination2(), exports);
|
|
23469
|
+
tslib_1.__exportStar(require_profile(), exports);
|
|
23470
|
+
tslib_1.__exportStar(require_response(), exports);
|
|
23471
|
+
tslib_1.__exportStar(require_serde(), exports);
|
|
23472
|
+
tslib_1.__exportStar(require_shapes(), exports);
|
|
23473
|
+
tslib_1.__exportStar(require_signature(), exports);
|
|
23474
|
+
tslib_1.__exportStar(require_stream(), exports);
|
|
23475
|
+
tslib_1.__exportStar(require_token(), exports);
|
|
23476
|
+
tslib_1.__exportStar(require_transfer(), exports);
|
|
23477
|
+
tslib_1.__exportStar(require_util2(), exports);
|
|
23478
|
+
tslib_1.__exportStar(require_waiter(), exports);
|
|
23479
|
+
}
|
|
23480
|
+
});
|
|
23481
|
+
|
|
23482
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/parseURL.js
|
|
23483
|
+
var require_parseURL = __commonJS({
|
|
23484
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/parseURL.js"(exports) {
|
|
23485
|
+
"use strict";
|
|
23486
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23487
|
+
exports.parseURL = void 0;
|
|
23488
|
+
var types_1 = require_dist_cjs44();
|
|
23489
|
+
var isIpAddress_1 = require_isIpAddress();
|
|
23490
|
+
var DEFAULT_PORTS = {
|
|
23491
|
+
[types_1.EndpointURLScheme.HTTP]: 80,
|
|
23492
|
+
[types_1.EndpointURLScheme.HTTPS]: 443
|
|
23493
|
+
};
|
|
23494
|
+
var parseURL = (value) => {
|
|
23495
|
+
const whatwgURL = (() => {
|
|
23496
|
+
try {
|
|
23497
|
+
if (value instanceof URL) {
|
|
23498
|
+
return value;
|
|
23499
|
+
}
|
|
23500
|
+
if (typeof value === "object" && "hostname" in value) {
|
|
23501
|
+
const { hostname: hostname2, port, protocol: protocol2 = "", path = "", query = {} } = value;
|
|
23502
|
+
const url = new URL(`${protocol2}//${hostname2}${port ? `:${port}` : ""}${path}`);
|
|
23503
|
+
url.search = Object.entries(query).map(([k, v]) => `${k}=${v}`).join("&");
|
|
23504
|
+
return url;
|
|
23505
|
+
}
|
|
23506
|
+
return new URL(value);
|
|
23507
|
+
} catch (error) {
|
|
23508
|
+
return null;
|
|
23509
|
+
}
|
|
23510
|
+
})();
|
|
23511
|
+
if (!whatwgURL) {
|
|
23512
|
+
console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`);
|
|
23513
|
+
return null;
|
|
23514
|
+
}
|
|
23515
|
+
const urlString = whatwgURL.href;
|
|
23516
|
+
const { host, hostname, pathname, protocol, search } = whatwgURL;
|
|
23517
|
+
if (search) {
|
|
23518
|
+
return null;
|
|
23519
|
+
}
|
|
23520
|
+
const scheme = protocol.slice(0, -1);
|
|
23521
|
+
if (!Object.values(types_1.EndpointURLScheme).includes(scheme)) {
|
|
23522
|
+
return null;
|
|
23523
|
+
}
|
|
23524
|
+
const isIp = (0, isIpAddress_1.isIpAddress)(hostname);
|
|
23525
|
+
const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) || typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`);
|
|
23526
|
+
const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`;
|
|
23527
|
+
return {
|
|
23528
|
+
scheme,
|
|
23529
|
+
authority,
|
|
23530
|
+
path: pathname,
|
|
23531
|
+
normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`,
|
|
23532
|
+
isIp
|
|
23533
|
+
};
|
|
23534
|
+
};
|
|
23535
|
+
exports.parseURL = parseURL;
|
|
23536
|
+
}
|
|
23537
|
+
});
|
|
23538
|
+
|
|
23539
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/stringEquals.js
|
|
23540
|
+
var require_stringEquals = __commonJS({
|
|
23541
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/stringEquals.js"(exports) {
|
|
23542
|
+
"use strict";
|
|
23543
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23544
|
+
exports.stringEquals = void 0;
|
|
23545
|
+
var stringEquals = (value1, value2) => value1 === value2;
|
|
23546
|
+
exports.stringEquals = stringEquals;
|
|
23547
|
+
}
|
|
23548
|
+
});
|
|
23549
|
+
|
|
23550
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/substring.js
|
|
23551
|
+
var require_substring = __commonJS({
|
|
23552
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/substring.js"(exports) {
|
|
23553
|
+
"use strict";
|
|
23554
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23555
|
+
exports.substring = void 0;
|
|
23556
|
+
var substring = (input, start, stop, reverse) => {
|
|
23557
|
+
if (start >= stop || input.length < stop) {
|
|
23558
|
+
return null;
|
|
23559
|
+
}
|
|
23560
|
+
if (!reverse) {
|
|
23561
|
+
return input.substring(start, stop);
|
|
23562
|
+
}
|
|
23563
|
+
return input.substring(input.length - stop, input.length - start);
|
|
23564
|
+
};
|
|
23565
|
+
exports.substring = substring;
|
|
23566
|
+
}
|
|
23567
|
+
});
|
|
23568
|
+
|
|
23569
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/uriEncode.js
|
|
23570
|
+
var require_uriEncode = __commonJS({
|
|
23571
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/uriEncode.js"(exports) {
|
|
23572
|
+
"use strict";
|
|
23573
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23574
|
+
exports.uriEncode = void 0;
|
|
23575
|
+
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
23576
|
+
exports.uriEncode = uriEncode;
|
|
23577
|
+
}
|
|
23578
|
+
});
|
|
23579
|
+
|
|
23580
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/index.js
|
|
23581
|
+
var require_lib = __commonJS({
|
|
23582
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/index.js"(exports) {
|
|
23583
|
+
"use strict";
|
|
23584
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23585
|
+
exports.aws = void 0;
|
|
23586
|
+
var tslib_1 = require_tslib();
|
|
23587
|
+
exports.aws = tslib_1.__importStar(require_aws());
|
|
23588
|
+
tslib_1.__exportStar(require_booleanEquals(), exports);
|
|
23589
|
+
tslib_1.__exportStar(require_getAttr(), exports);
|
|
23590
|
+
tslib_1.__exportStar(require_isSet(), exports);
|
|
23591
|
+
tslib_1.__exportStar(require_isValidHostLabel(), exports);
|
|
23592
|
+
tslib_1.__exportStar(require_not(), exports);
|
|
23593
|
+
tslib_1.__exportStar(require_parseURL(), exports);
|
|
23594
|
+
tslib_1.__exportStar(require_stringEquals(), exports);
|
|
23595
|
+
tslib_1.__exportStar(require_substring(), exports);
|
|
23596
|
+
tslib_1.__exportStar(require_uriEncode(), exports);
|
|
23597
|
+
}
|
|
23598
|
+
});
|
|
23599
|
+
|
|
23600
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateTemplate.js
|
|
23601
|
+
var require_evaluateTemplate = __commonJS({
|
|
23602
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateTemplate.js"(exports) {
|
|
23603
|
+
"use strict";
|
|
23604
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23605
|
+
exports.evaluateTemplate = void 0;
|
|
23606
|
+
var lib_1 = require_lib();
|
|
23607
|
+
var ATTR_SHORTHAND_REGEX = new RegExp("\\${([\\w]+)#([\\w]+)}", "g");
|
|
23608
|
+
var evaluateTemplate = (template, options) => {
|
|
23609
|
+
const templateToEvaluate = template.replace(new RegExp(`{([^{}]+)}`, "g"), "${$1}").replace(new RegExp(`{\\\${([^{}]+)}}`, "g"), "{$1}");
|
|
23610
|
+
const templateContext = {
|
|
23611
|
+
...options.endpointParams,
|
|
23612
|
+
...options.referenceRecord
|
|
23613
|
+
};
|
|
23614
|
+
const attrShortHandList = templateToEvaluate.match(ATTR_SHORTHAND_REGEX) || [];
|
|
23615
|
+
const attrShortHandMap = attrShortHandList.reduce((acc, attrShortHand) => {
|
|
23616
|
+
const indexOfHash = attrShortHand.indexOf("#");
|
|
23617
|
+
const refName = attrShortHand.substring(2, indexOfHash);
|
|
23618
|
+
const attrName = attrShortHand.substring(indexOfHash + 1, attrShortHand.length - 1);
|
|
23619
|
+
acc[attrShortHand] = (0, lib_1.getAttr)(templateContext[refName], attrName);
|
|
23620
|
+
return acc;
|
|
23621
|
+
}, {});
|
|
23622
|
+
const templateWithAttr = Object.entries(attrShortHandMap).reduce((acc, [shortHand, value]) => acc.replace(shortHand, value), templateToEvaluate);
|
|
23623
|
+
const templateContextNames = Object.keys(templateContext);
|
|
23624
|
+
const templateContextValues = Object.values(templateContext);
|
|
23625
|
+
const templateWithTildeEscaped = templateWithAttr.replace(/\`/g, "\\`");
|
|
23626
|
+
return new Function(...templateContextNames, `return \`${templateWithTildeEscaped}\``)(...templateContextValues);
|
|
23627
|
+
};
|
|
23628
|
+
exports.evaluateTemplate = evaluateTemplate;
|
|
23629
|
+
}
|
|
23630
|
+
});
|
|
23631
|
+
|
|
23632
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getReferenceValue.js
|
|
23633
|
+
var require_getReferenceValue = __commonJS({
|
|
23634
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getReferenceValue.js"(exports) {
|
|
23635
|
+
"use strict";
|
|
23636
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23637
|
+
exports.getReferenceValue = void 0;
|
|
23638
|
+
var getReferenceValue = ({ ref }, options) => {
|
|
23639
|
+
const referenceRecord = {
|
|
23640
|
+
...options.endpointParams,
|
|
23641
|
+
...options.referenceRecord
|
|
23642
|
+
};
|
|
23643
|
+
return referenceRecord[ref];
|
|
23644
|
+
};
|
|
23645
|
+
exports.getReferenceValue = getReferenceValue;
|
|
23646
|
+
}
|
|
23647
|
+
});
|
|
23648
|
+
|
|
23649
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateExpression.js
|
|
23650
|
+
var require_evaluateExpression = __commonJS({
|
|
23651
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateExpression.js"(exports) {
|
|
23652
|
+
"use strict";
|
|
23653
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23654
|
+
exports.evaluateExpression = void 0;
|
|
23655
|
+
var types_1 = require_types6();
|
|
23656
|
+
var callFunction_1 = require_callFunction();
|
|
23657
|
+
var evaluateTemplate_1 = require_evaluateTemplate();
|
|
23658
|
+
var getReferenceValue_1 = require_getReferenceValue();
|
|
23659
|
+
var evaluateExpression = (obj, keyName, options) => {
|
|
23660
|
+
if (typeof obj === "string") {
|
|
23661
|
+
return (0, evaluateTemplate_1.evaluateTemplate)(obj, options);
|
|
23662
|
+
} else if (obj["fn"]) {
|
|
23663
|
+
return (0, callFunction_1.callFunction)(obj, options);
|
|
23664
|
+
} else if (obj["ref"]) {
|
|
23665
|
+
return (0, getReferenceValue_1.getReferenceValue)(obj, options);
|
|
23666
|
+
}
|
|
23667
|
+
throw new types_1.EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
|
|
23668
|
+
};
|
|
23669
|
+
exports.evaluateExpression = evaluateExpression;
|
|
23670
|
+
}
|
|
23671
|
+
});
|
|
23672
|
+
|
|
23673
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/callFunction.js
|
|
23674
|
+
var require_callFunction = __commonJS({
|
|
23675
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/callFunction.js"(exports) {
|
|
23676
|
+
"use strict";
|
|
23677
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23678
|
+
exports.callFunction = void 0;
|
|
23679
|
+
var tslib_1 = require_tslib();
|
|
23680
|
+
var lib = tslib_1.__importStar(require_lib());
|
|
23681
|
+
var evaluateExpression_1 = require_evaluateExpression();
|
|
23682
|
+
var callFunction = ({ fn, argv }, options) => {
|
|
23683
|
+
const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : (0, evaluateExpression_1.evaluateExpression)(arg, "arg", options));
|
|
23684
|
+
return fn.split(".").reduce((acc, key) => acc[key], lib)(...evaluatedArgs);
|
|
23685
|
+
};
|
|
23686
|
+
exports.callFunction = callFunction;
|
|
23687
|
+
}
|
|
23688
|
+
});
|
|
23689
|
+
|
|
23690
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateCondition.js
|
|
23691
|
+
var require_evaluateCondition = __commonJS({
|
|
23692
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateCondition.js"(exports) {
|
|
23693
|
+
"use strict";
|
|
23694
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23695
|
+
exports.evaluateCondition = void 0;
|
|
23696
|
+
var types_1 = require_types6();
|
|
23697
|
+
var callFunction_1 = require_callFunction();
|
|
23698
|
+
var evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
23699
|
+
if (assign && assign in options.referenceRecord) {
|
|
23700
|
+
throw new types_1.EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
23701
|
+
}
|
|
23702
|
+
const value = (0, callFunction_1.callFunction)(fnArgs, options);
|
|
23703
|
+
return {
|
|
23704
|
+
result: value === "" ? true : !!value,
|
|
23705
|
+
...assign != null && { toAssign: { name: assign, value } }
|
|
23706
|
+
};
|
|
23707
|
+
};
|
|
23708
|
+
exports.evaluateCondition = evaluateCondition;
|
|
23709
|
+
}
|
|
23710
|
+
});
|
|
23711
|
+
|
|
23712
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateConditions.js
|
|
23713
|
+
var require_evaluateConditions = __commonJS({
|
|
23714
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateConditions.js"(exports) {
|
|
23715
|
+
"use strict";
|
|
23716
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23717
|
+
exports.evaluateConditions = void 0;
|
|
23718
|
+
var evaluateCondition_1 = require_evaluateCondition();
|
|
23719
|
+
var evaluateConditions = (conditions = [], options) => {
|
|
23720
|
+
const conditionsReferenceRecord = {};
|
|
23721
|
+
for (const condition of conditions) {
|
|
23722
|
+
const { result, toAssign } = (0, evaluateCondition_1.evaluateCondition)(condition, {
|
|
23723
|
+
...options,
|
|
23724
|
+
referenceRecord: {
|
|
23725
|
+
...options.referenceRecord,
|
|
23726
|
+
...conditionsReferenceRecord
|
|
23727
|
+
}
|
|
23728
|
+
});
|
|
23729
|
+
if (!result) {
|
|
23730
|
+
return { result };
|
|
23731
|
+
}
|
|
23732
|
+
if (toAssign) {
|
|
23733
|
+
conditionsReferenceRecord[toAssign.name] = toAssign.value;
|
|
23734
|
+
}
|
|
23735
|
+
}
|
|
23736
|
+
return { result: true, referenceRecord: conditionsReferenceRecord };
|
|
23737
|
+
};
|
|
23738
|
+
exports.evaluateConditions = evaluateConditions;
|
|
23739
|
+
}
|
|
23740
|
+
});
|
|
23741
|
+
|
|
23742
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointHeaders.js
|
|
23743
|
+
var require_getEndpointHeaders = __commonJS({
|
|
23744
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointHeaders.js"(exports) {
|
|
23745
|
+
"use strict";
|
|
23746
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23747
|
+
exports.getEndpointHeaders = void 0;
|
|
23748
|
+
var types_1 = require_types6();
|
|
23749
|
+
var evaluateExpression_1 = require_evaluateExpression();
|
|
23750
|
+
var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
|
|
23751
|
+
...acc,
|
|
23752
|
+
[headerKey]: headerVal.map((headerValEntry) => {
|
|
23753
|
+
const processedExpr = (0, evaluateExpression_1.evaluateExpression)(headerValEntry, "Header value entry", options);
|
|
23754
|
+
if (typeof processedExpr !== "string") {
|
|
23755
|
+
throw new types_1.EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`);
|
|
23756
|
+
}
|
|
23757
|
+
return processedExpr;
|
|
23758
|
+
})
|
|
23759
|
+
}), {});
|
|
23760
|
+
exports.getEndpointHeaders = getEndpointHeaders;
|
|
23761
|
+
}
|
|
23762
|
+
});
|
|
23763
|
+
|
|
23764
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointProperty.js
|
|
23765
|
+
var require_getEndpointProperty = __commonJS({
|
|
23766
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointProperty.js"(exports) {
|
|
23767
|
+
"use strict";
|
|
23768
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23769
|
+
exports.getEndpointProperty = void 0;
|
|
23770
|
+
var types_1 = require_types6();
|
|
23771
|
+
var evaluateTemplate_1 = require_evaluateTemplate();
|
|
23772
|
+
var getEndpointProperties_1 = require_getEndpointProperties();
|
|
23773
|
+
var getEndpointProperty = (property, options) => {
|
|
23774
|
+
if (Array.isArray(property)) {
|
|
23775
|
+
return property.map((propertyEntry) => (0, exports.getEndpointProperty)(propertyEntry, options));
|
|
23776
|
+
}
|
|
23777
|
+
switch (typeof property) {
|
|
23778
|
+
case "string":
|
|
23779
|
+
return (0, evaluateTemplate_1.evaluateTemplate)(property, options);
|
|
23780
|
+
case "object":
|
|
23781
|
+
if (property === null) {
|
|
23782
|
+
throw new types_1.EndpointError(`Unexpected endpoint property: ${property}`);
|
|
23783
|
+
}
|
|
23784
|
+
return (0, getEndpointProperties_1.getEndpointProperties)(property, options);
|
|
23785
|
+
case "boolean":
|
|
23786
|
+
return property;
|
|
23787
|
+
default:
|
|
23788
|
+
throw new types_1.EndpointError(`Unexpected endpoint property type: ${typeof property}`);
|
|
23789
|
+
}
|
|
23790
|
+
};
|
|
23791
|
+
exports.getEndpointProperty = getEndpointProperty;
|
|
23792
|
+
}
|
|
23793
|
+
});
|
|
23794
|
+
|
|
23795
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointProperties.js
|
|
23796
|
+
var require_getEndpointProperties = __commonJS({
|
|
23797
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointProperties.js"(exports) {
|
|
23798
|
+
"use strict";
|
|
23799
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23800
|
+
exports.getEndpointProperties = void 0;
|
|
23801
|
+
var getEndpointProperty_1 = require_getEndpointProperty();
|
|
23802
|
+
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
23803
|
+
...acc,
|
|
23804
|
+
[propertyKey]: (0, getEndpointProperty_1.getEndpointProperty)(propertyVal, options)
|
|
23805
|
+
}), {});
|
|
23806
|
+
exports.getEndpointProperties = getEndpointProperties;
|
|
23807
|
+
}
|
|
23808
|
+
});
|
|
23809
|
+
|
|
23810
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointUrl.js
|
|
23811
|
+
var require_getEndpointUrl = __commonJS({
|
|
23812
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/getEndpointUrl.js"(exports) {
|
|
23813
|
+
"use strict";
|
|
23814
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23815
|
+
exports.getEndpointUrl = void 0;
|
|
23816
|
+
var types_1 = require_types6();
|
|
23817
|
+
var evaluateExpression_1 = require_evaluateExpression();
|
|
23818
|
+
var getEndpointUrl = (endpointUrl, options) => {
|
|
23819
|
+
const expression = (0, evaluateExpression_1.evaluateExpression)(endpointUrl, "Endpoint URL", options);
|
|
23820
|
+
if (typeof expression === "string") {
|
|
23821
|
+
try {
|
|
23822
|
+
return new URL(expression);
|
|
23823
|
+
} catch (error) {
|
|
23824
|
+
console.error(`Failed to construct URL with ${expression}`, error);
|
|
23825
|
+
throw error;
|
|
23826
|
+
}
|
|
23827
|
+
}
|
|
23828
|
+
throw new types_1.EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
23829
|
+
};
|
|
23830
|
+
exports.getEndpointUrl = getEndpointUrl;
|
|
23831
|
+
}
|
|
23832
|
+
});
|
|
23833
|
+
|
|
23834
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js
|
|
23835
|
+
var require_evaluateEndpointRule = __commonJS({
|
|
23836
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateEndpointRule.js"(exports) {
|
|
23837
|
+
"use strict";
|
|
23838
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23839
|
+
exports.evaluateEndpointRule = void 0;
|
|
23840
|
+
var evaluateConditions_1 = require_evaluateConditions();
|
|
23841
|
+
var getEndpointHeaders_1 = require_getEndpointHeaders();
|
|
23842
|
+
var getEndpointProperties_1 = require_getEndpointProperties();
|
|
23843
|
+
var getEndpointUrl_1 = require_getEndpointUrl();
|
|
23844
|
+
var evaluateEndpointRule = (endpointRule, options) => {
|
|
23845
|
+
const { conditions, endpoint } = endpointRule;
|
|
23846
|
+
const { result, referenceRecord } = (0, evaluateConditions_1.evaluateConditions)(conditions, options);
|
|
23847
|
+
if (!result) {
|
|
23848
|
+
return;
|
|
23849
|
+
}
|
|
23850
|
+
const endpointRuleOptions = {
|
|
23851
|
+
...options,
|
|
23852
|
+
referenceRecord: { ...options.referenceRecord, ...referenceRecord }
|
|
23853
|
+
};
|
|
23854
|
+
const { url, properties, headers } = endpoint;
|
|
23855
|
+
return {
|
|
23856
|
+
...headers != void 0 && {
|
|
23857
|
+
headers: (0, getEndpointHeaders_1.getEndpointHeaders)(headers, endpointRuleOptions)
|
|
23858
|
+
},
|
|
23859
|
+
...properties != void 0 && {
|
|
23860
|
+
properties: (0, getEndpointProperties_1.getEndpointProperties)(properties, endpointRuleOptions)
|
|
23861
|
+
},
|
|
23862
|
+
url: (0, getEndpointUrl_1.getEndpointUrl)(url, endpointRuleOptions)
|
|
23863
|
+
};
|
|
23864
|
+
};
|
|
23865
|
+
exports.evaluateEndpointRule = evaluateEndpointRule;
|
|
23866
|
+
}
|
|
23867
|
+
});
|
|
23868
|
+
|
|
23869
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateErrorRule.js
|
|
23870
|
+
var require_evaluateErrorRule = __commonJS({
|
|
23871
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateErrorRule.js"(exports) {
|
|
23872
|
+
"use strict";
|
|
23873
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23874
|
+
exports.evaluateErrorRule = void 0;
|
|
23875
|
+
var types_1 = require_types6();
|
|
23876
|
+
var evaluateConditions_1 = require_evaluateConditions();
|
|
23877
|
+
var evaluateExpression_1 = require_evaluateExpression();
|
|
23878
|
+
var evaluateErrorRule = (errorRule, options) => {
|
|
23879
|
+
const { conditions, error } = errorRule;
|
|
23880
|
+
const { result, referenceRecord } = (0, evaluateConditions_1.evaluateConditions)(conditions, options);
|
|
23881
|
+
if (!result) {
|
|
23882
|
+
return;
|
|
23883
|
+
}
|
|
23884
|
+
throw new types_1.EndpointError((0, evaluateExpression_1.evaluateExpression)(error, "Error", {
|
|
23885
|
+
...options,
|
|
23886
|
+
referenceRecord: { ...options.referenceRecord, ...referenceRecord }
|
|
23887
|
+
}));
|
|
23888
|
+
};
|
|
23889
|
+
exports.evaluateErrorRule = evaluateErrorRule;
|
|
23890
|
+
}
|
|
23891
|
+
});
|
|
23892
|
+
|
|
23893
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateTreeRule.js
|
|
23894
|
+
var require_evaluateTreeRule = __commonJS({
|
|
23895
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateTreeRule.js"(exports) {
|
|
23896
|
+
"use strict";
|
|
23897
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23898
|
+
exports.evaluateTreeRule = void 0;
|
|
23899
|
+
var evaluateConditions_1 = require_evaluateConditions();
|
|
23900
|
+
var evaluateRules_1 = require_evaluateRules();
|
|
23901
|
+
var evaluateTreeRule = (treeRule, options) => {
|
|
23902
|
+
const { conditions, rules } = treeRule;
|
|
23903
|
+
const { result, referenceRecord } = (0, evaluateConditions_1.evaluateConditions)(conditions, options);
|
|
23904
|
+
if (!result) {
|
|
23905
|
+
return;
|
|
23906
|
+
}
|
|
23907
|
+
return (0, evaluateRules_1.evaluateRules)(rules, {
|
|
23908
|
+
...options,
|
|
23909
|
+
referenceRecord: { ...options.referenceRecord, ...referenceRecord }
|
|
23910
|
+
});
|
|
23911
|
+
};
|
|
23912
|
+
exports.evaluateTreeRule = evaluateTreeRule;
|
|
23913
|
+
}
|
|
23914
|
+
});
|
|
23915
|
+
|
|
23916
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateRules.js
|
|
23917
|
+
var require_evaluateRules = __commonJS({
|
|
23918
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/evaluateRules.js"(exports) {
|
|
23919
|
+
"use strict";
|
|
23920
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23921
|
+
exports.evaluateRules = void 0;
|
|
23922
|
+
var types_1 = require_types6();
|
|
23923
|
+
var evaluateEndpointRule_1 = require_evaluateEndpointRule();
|
|
23924
|
+
var evaluateErrorRule_1 = require_evaluateErrorRule();
|
|
23925
|
+
var evaluateTreeRule_1 = require_evaluateTreeRule();
|
|
23926
|
+
var evaluateRules = (rules, options) => {
|
|
23927
|
+
for (const rule of rules) {
|
|
23928
|
+
if (rule.type === "endpoint") {
|
|
23929
|
+
const endpointOrUndefined = (0, evaluateEndpointRule_1.evaluateEndpointRule)(rule, options);
|
|
23930
|
+
if (endpointOrUndefined) {
|
|
23931
|
+
return endpointOrUndefined;
|
|
23932
|
+
}
|
|
23933
|
+
} else if (rule.type === "error") {
|
|
23934
|
+
(0, evaluateErrorRule_1.evaluateErrorRule)(rule, options);
|
|
23935
|
+
} else if (rule.type === "tree") {
|
|
23936
|
+
const endpointOrUndefined = (0, evaluateTreeRule_1.evaluateTreeRule)(rule, options);
|
|
23937
|
+
if (endpointOrUndefined) {
|
|
23938
|
+
return endpointOrUndefined;
|
|
23939
|
+
}
|
|
23940
|
+
} else {
|
|
23941
|
+
throw new types_1.EndpointError(`Unknown endpoint rule: ${rule}`);
|
|
23942
|
+
}
|
|
23943
|
+
}
|
|
23944
|
+
throw new types_1.EndpointError(`Rules evaluation failed`);
|
|
23945
|
+
};
|
|
23946
|
+
exports.evaluateRules = evaluateRules;
|
|
23947
|
+
}
|
|
23948
|
+
});
|
|
23949
|
+
|
|
23950
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/index.js
|
|
23951
|
+
var require_utils = __commonJS({
|
|
23952
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/utils/index.js"(exports) {
|
|
23953
|
+
"use strict";
|
|
23954
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23955
|
+
var tslib_1 = require_tslib();
|
|
23956
|
+
tslib_1.__exportStar(require_evaluateRules(), exports);
|
|
23957
|
+
}
|
|
23958
|
+
});
|
|
23959
|
+
|
|
23960
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js
|
|
23961
|
+
var require_resolveEndpoint = __commonJS({
|
|
23962
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js"(exports) {
|
|
23963
|
+
"use strict";
|
|
23964
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23965
|
+
exports.resolveEndpoint = void 0;
|
|
23966
|
+
var types_1 = require_types6();
|
|
23967
|
+
var utils_1 = require_utils();
|
|
23968
|
+
var resolveEndpoint = (ruleSetObject, options) => {
|
|
23969
|
+
var _a, _b;
|
|
23970
|
+
const { endpointParams, logger } = options;
|
|
23971
|
+
const { parameters, rules } = ruleSetObject;
|
|
23972
|
+
const paramsWithDefault = Object.entries(parameters).filter(([, v]) => v.default != null).map(([k, v]) => [k, v.default]);
|
|
23973
|
+
if (paramsWithDefault.length > 0) {
|
|
23974
|
+
for (const [paramKey, paramDefaultValue] of paramsWithDefault) {
|
|
23975
|
+
endpointParams[paramKey] = (_a = endpointParams[paramKey]) !== null && _a !== void 0 ? _a : paramDefaultValue;
|
|
23976
|
+
}
|
|
23977
|
+
}
|
|
23978
|
+
const requiredParams = Object.entries(parameters).filter(([, v]) => v.required).map(([k]) => k);
|
|
23979
|
+
for (const requiredParam of requiredParams) {
|
|
23980
|
+
if (endpointParams[requiredParam] == null) {
|
|
23981
|
+
throw new types_1.EndpointError(`Missing required parameter: '${requiredParam}'`);
|
|
23982
|
+
}
|
|
23983
|
+
}
|
|
23984
|
+
const endpoint = (0, utils_1.evaluateRules)(rules, { endpointParams, logger, referenceRecord: {} });
|
|
23985
|
+
if ((_b = options.endpointParams) === null || _b === void 0 ? void 0 : _b.Endpoint) {
|
|
23986
|
+
try {
|
|
23987
|
+
const givenEndpoint = new URL(options.endpointParams.Endpoint);
|
|
23988
|
+
const { protocol, port } = givenEndpoint;
|
|
23989
|
+
endpoint.url.protocol = protocol;
|
|
23990
|
+
endpoint.url.port = port;
|
|
23991
|
+
} catch (e) {
|
|
23992
|
+
}
|
|
23993
|
+
}
|
|
23994
|
+
return endpoint;
|
|
23995
|
+
};
|
|
23996
|
+
exports.resolveEndpoint = resolveEndpoint;
|
|
23997
|
+
}
|
|
23998
|
+
});
|
|
23999
|
+
|
|
24000
|
+
// node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js
|
|
24001
|
+
var require_dist_cjs45 = __commonJS({
|
|
24002
|
+
"node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js"(exports) {
|
|
24003
|
+
"use strict";
|
|
24004
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24005
|
+
var tslib_1 = require_tslib();
|
|
24006
|
+
tslib_1.__exportStar(require_partition(), exports);
|
|
24007
|
+
tslib_1.__exportStar(require_resolveEndpoint(), exports);
|
|
24008
|
+
tslib_1.__exportStar(require_types6(), exports);
|
|
24009
|
+
}
|
|
24010
|
+
});
|
|
24011
|
+
|
|
24012
|
+
// node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js
|
|
24013
|
+
var require_ruleset = __commonJS({
|
|
24014
|
+
"node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js"(exports) {
|
|
24015
|
+
"use strict";
|
|
24016
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24017
|
+
exports.ruleSet = void 0;
|
|
24018
|
+
exports.ruleSet = {
|
|
24019
|
+
version: "1.0",
|
|
24020
|
+
parameters: {
|
|
24021
|
+
Region: {
|
|
24022
|
+
builtIn: "AWS::Region",
|
|
24023
|
+
required: false,
|
|
24024
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
24025
|
+
type: "String"
|
|
24026
|
+
},
|
|
24027
|
+
UseDualStack: {
|
|
24028
|
+
builtIn: "AWS::UseDualStack",
|
|
24029
|
+
required: true,
|
|
24030
|
+
default: false,
|
|
24031
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
24032
|
+
type: "Boolean"
|
|
24033
|
+
},
|
|
24034
|
+
UseFIPS: {
|
|
24035
|
+
builtIn: "AWS::UseFIPS",
|
|
24036
|
+
required: true,
|
|
24037
|
+
default: false,
|
|
24038
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
24039
|
+
type: "Boolean"
|
|
24040
|
+
},
|
|
24041
|
+
Endpoint: {
|
|
24042
|
+
builtIn: "SDK::Endpoint",
|
|
24043
|
+
required: false,
|
|
24044
|
+
documentation: "Override the endpoint used to send this request",
|
|
24045
|
+
type: "String"
|
|
24046
|
+
},
|
|
24047
|
+
UseGlobalEndpoint: {
|
|
24048
|
+
builtIn: "AWS::STS::UseGlobalEndpoint",
|
|
24049
|
+
required: true,
|
|
24050
|
+
default: false,
|
|
24051
|
+
documentation: "Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.",
|
|
24052
|
+
type: "Boolean"
|
|
24053
|
+
}
|
|
24054
|
+
},
|
|
24055
|
+
rules: [
|
|
24056
|
+
{
|
|
24057
|
+
conditions: [
|
|
24058
|
+
{
|
|
24059
|
+
fn: "aws.partition",
|
|
24060
|
+
argv: [
|
|
24061
|
+
{
|
|
24062
|
+
ref: "Region"
|
|
24063
|
+
}
|
|
24064
|
+
],
|
|
24065
|
+
assign: "PartitionResult"
|
|
24066
|
+
}
|
|
24067
|
+
],
|
|
24068
|
+
type: "tree",
|
|
24069
|
+
rules: [
|
|
24070
|
+
{
|
|
24071
|
+
conditions: [
|
|
24072
|
+
{
|
|
24073
|
+
fn: "booleanEquals",
|
|
24074
|
+
argv: [
|
|
24075
|
+
{
|
|
24076
|
+
ref: "UseGlobalEndpoint"
|
|
24077
|
+
},
|
|
24078
|
+
true
|
|
24079
|
+
]
|
|
24080
|
+
},
|
|
24081
|
+
{
|
|
24082
|
+
fn: "booleanEquals",
|
|
24083
|
+
argv: [
|
|
24084
|
+
{
|
|
24085
|
+
ref: "UseFIPS"
|
|
24086
|
+
},
|
|
24087
|
+
false
|
|
24088
|
+
]
|
|
24089
|
+
},
|
|
24090
|
+
{
|
|
24091
|
+
fn: "booleanEquals",
|
|
24092
|
+
argv: [
|
|
24093
|
+
{
|
|
24094
|
+
ref: "UseDualStack"
|
|
24095
|
+
},
|
|
24096
|
+
false
|
|
24097
|
+
]
|
|
24098
|
+
},
|
|
24099
|
+
{
|
|
24100
|
+
fn: "not",
|
|
24101
|
+
argv: [
|
|
24102
|
+
{
|
|
24103
|
+
fn: "isSet",
|
|
24104
|
+
argv: [
|
|
24105
|
+
{
|
|
24106
|
+
ref: "Endpoint"
|
|
24107
|
+
}
|
|
24108
|
+
]
|
|
24109
|
+
}
|
|
24110
|
+
]
|
|
24111
|
+
}
|
|
24112
|
+
],
|
|
24113
|
+
type: "tree",
|
|
24114
|
+
rules: [
|
|
24115
|
+
{
|
|
24116
|
+
conditions: [
|
|
24117
|
+
{
|
|
24118
|
+
fn: "stringEquals",
|
|
24119
|
+
argv: [
|
|
24120
|
+
{
|
|
24121
|
+
ref: "Region"
|
|
24122
|
+
},
|
|
24123
|
+
"ap-northeast-1"
|
|
24124
|
+
]
|
|
24125
|
+
}
|
|
24126
|
+
],
|
|
24127
|
+
endpoint: {
|
|
24128
|
+
url: "https://sts.amazonaws.com",
|
|
24129
|
+
properties: {
|
|
24130
|
+
authSchemes: [
|
|
24131
|
+
{
|
|
24132
|
+
name: "sigv4",
|
|
24133
|
+
signingName: "sts",
|
|
24134
|
+
signingRegion: "us-east-1"
|
|
24135
|
+
}
|
|
24136
|
+
]
|
|
24137
|
+
},
|
|
24138
|
+
headers: {}
|
|
24139
|
+
},
|
|
24140
|
+
type: "endpoint"
|
|
24141
|
+
},
|
|
24142
|
+
{
|
|
24143
|
+
conditions: [
|
|
24144
|
+
{
|
|
24145
|
+
fn: "stringEquals",
|
|
24146
|
+
argv: [
|
|
24147
|
+
{
|
|
24148
|
+
ref: "Region"
|
|
24149
|
+
},
|
|
24150
|
+
"ap-south-1"
|
|
24151
|
+
]
|
|
24152
|
+
}
|
|
24153
|
+
],
|
|
24154
|
+
endpoint: {
|
|
24155
|
+
url: "https://sts.amazonaws.com",
|
|
24156
|
+
properties: {
|
|
24157
|
+
authSchemes: [
|
|
24158
|
+
{
|
|
24159
|
+
name: "sigv4",
|
|
24160
|
+
signingName: "sts",
|
|
24161
|
+
signingRegion: "us-east-1"
|
|
24162
|
+
}
|
|
24163
|
+
]
|
|
24164
|
+
},
|
|
24165
|
+
headers: {}
|
|
24166
|
+
},
|
|
24167
|
+
type: "endpoint"
|
|
24168
|
+
},
|
|
24169
|
+
{
|
|
24170
|
+
conditions: [
|
|
24171
|
+
{
|
|
24172
|
+
fn: "stringEquals",
|
|
24173
|
+
argv: [
|
|
24174
|
+
{
|
|
24175
|
+
ref: "Region"
|
|
24176
|
+
},
|
|
24177
|
+
"ap-southeast-1"
|
|
24178
|
+
]
|
|
24179
|
+
}
|
|
24180
|
+
],
|
|
24181
|
+
endpoint: {
|
|
24182
|
+
url: "https://sts.amazonaws.com",
|
|
24183
|
+
properties: {
|
|
24184
|
+
authSchemes: [
|
|
24185
|
+
{
|
|
24186
|
+
name: "sigv4",
|
|
24187
|
+
signingName: "sts",
|
|
24188
|
+
signingRegion: "us-east-1"
|
|
24189
|
+
}
|
|
24190
|
+
]
|
|
24191
|
+
},
|
|
24192
|
+
headers: {}
|
|
24193
|
+
},
|
|
24194
|
+
type: "endpoint"
|
|
24195
|
+
},
|
|
24196
|
+
{
|
|
24197
|
+
conditions: [
|
|
24198
|
+
{
|
|
24199
|
+
fn: "stringEquals",
|
|
24200
|
+
argv: [
|
|
24201
|
+
{
|
|
24202
|
+
ref: "Region"
|
|
24203
|
+
},
|
|
24204
|
+
"ap-southeast-2"
|
|
24205
|
+
]
|
|
24206
|
+
}
|
|
24207
|
+
],
|
|
24208
|
+
endpoint: {
|
|
24209
|
+
url: "https://sts.amazonaws.com",
|
|
24210
|
+
properties: {
|
|
24211
|
+
authSchemes: [
|
|
24212
|
+
{
|
|
24213
|
+
name: "sigv4",
|
|
24214
|
+
signingName: "sts",
|
|
24215
|
+
signingRegion: "us-east-1"
|
|
24216
|
+
}
|
|
24217
|
+
]
|
|
24218
|
+
},
|
|
24219
|
+
headers: {}
|
|
24220
|
+
},
|
|
24221
|
+
type: "endpoint"
|
|
24222
|
+
},
|
|
24223
|
+
{
|
|
24224
|
+
conditions: [
|
|
24225
|
+
{
|
|
24226
|
+
fn: "stringEquals",
|
|
24227
|
+
argv: [
|
|
24228
|
+
{
|
|
24229
|
+
ref: "Region"
|
|
24230
|
+
},
|
|
24231
|
+
"aws-global"
|
|
24232
|
+
]
|
|
24233
|
+
}
|
|
24234
|
+
],
|
|
24235
|
+
endpoint: {
|
|
24236
|
+
url: "https://sts.amazonaws.com",
|
|
24237
|
+
properties: {
|
|
24238
|
+
authSchemes: [
|
|
24239
|
+
{
|
|
24240
|
+
name: "sigv4",
|
|
24241
|
+
signingName: "sts",
|
|
24242
|
+
signingRegion: "us-east-1"
|
|
24243
|
+
}
|
|
24244
|
+
]
|
|
24245
|
+
},
|
|
24246
|
+
headers: {}
|
|
24247
|
+
},
|
|
24248
|
+
type: "endpoint"
|
|
24249
|
+
},
|
|
24250
|
+
{
|
|
24251
|
+
conditions: [
|
|
24252
|
+
{
|
|
24253
|
+
fn: "stringEquals",
|
|
24254
|
+
argv: [
|
|
24255
|
+
{
|
|
24256
|
+
ref: "Region"
|
|
24257
|
+
},
|
|
24258
|
+
"ca-central-1"
|
|
24259
|
+
]
|
|
24260
|
+
}
|
|
24261
|
+
],
|
|
24262
|
+
endpoint: {
|
|
24263
|
+
url: "https://sts.amazonaws.com",
|
|
24264
|
+
properties: {
|
|
24265
|
+
authSchemes: [
|
|
24266
|
+
{
|
|
24267
|
+
name: "sigv4",
|
|
24268
|
+
signingName: "sts",
|
|
24269
|
+
signingRegion: "us-east-1"
|
|
24270
|
+
}
|
|
24271
|
+
]
|
|
24272
|
+
},
|
|
24273
|
+
headers: {}
|
|
24274
|
+
},
|
|
24275
|
+
type: "endpoint"
|
|
24276
|
+
},
|
|
24277
|
+
{
|
|
24278
|
+
conditions: [
|
|
24279
|
+
{
|
|
24280
|
+
fn: "stringEquals",
|
|
24281
|
+
argv: [
|
|
24282
|
+
{
|
|
24283
|
+
ref: "Region"
|
|
24284
|
+
},
|
|
24285
|
+
"eu-central-1"
|
|
24286
|
+
]
|
|
24287
|
+
}
|
|
24288
|
+
],
|
|
24289
|
+
endpoint: {
|
|
24290
|
+
url: "https://sts.amazonaws.com",
|
|
24291
|
+
properties: {
|
|
24292
|
+
authSchemes: [
|
|
24293
|
+
{
|
|
24294
|
+
name: "sigv4",
|
|
24295
|
+
signingName: "sts",
|
|
24296
|
+
signingRegion: "us-east-1"
|
|
24297
|
+
}
|
|
24298
|
+
]
|
|
24299
|
+
},
|
|
24300
|
+
headers: {}
|
|
24301
|
+
},
|
|
24302
|
+
type: "endpoint"
|
|
24303
|
+
},
|
|
24304
|
+
{
|
|
24305
|
+
conditions: [
|
|
24306
|
+
{
|
|
24307
|
+
fn: "stringEquals",
|
|
24308
|
+
argv: [
|
|
24309
|
+
{
|
|
24310
|
+
ref: "Region"
|
|
24311
|
+
},
|
|
24312
|
+
"eu-north-1"
|
|
24313
|
+
]
|
|
24314
|
+
}
|
|
24315
|
+
],
|
|
24316
|
+
endpoint: {
|
|
24317
|
+
url: "https://sts.amazonaws.com",
|
|
24318
|
+
properties: {
|
|
24319
|
+
authSchemes: [
|
|
24320
|
+
{
|
|
24321
|
+
name: "sigv4",
|
|
24322
|
+
signingName: "sts",
|
|
24323
|
+
signingRegion: "us-east-1"
|
|
24324
|
+
}
|
|
24325
|
+
]
|
|
24326
|
+
},
|
|
24327
|
+
headers: {}
|
|
24328
|
+
},
|
|
24329
|
+
type: "endpoint"
|
|
24330
|
+
},
|
|
24331
|
+
{
|
|
24332
|
+
conditions: [
|
|
24333
|
+
{
|
|
24334
|
+
fn: "stringEquals",
|
|
24335
|
+
argv: [
|
|
24336
|
+
{
|
|
24337
|
+
ref: "Region"
|
|
24338
|
+
},
|
|
24339
|
+
"eu-west-1"
|
|
24340
|
+
]
|
|
24341
|
+
}
|
|
24342
|
+
],
|
|
24343
|
+
endpoint: {
|
|
24344
|
+
url: "https://sts.amazonaws.com",
|
|
24345
|
+
properties: {
|
|
24346
|
+
authSchemes: [
|
|
24347
|
+
{
|
|
24348
|
+
name: "sigv4",
|
|
24349
|
+
signingName: "sts",
|
|
24350
|
+
signingRegion: "us-east-1"
|
|
24351
|
+
}
|
|
24352
|
+
]
|
|
24353
|
+
},
|
|
24354
|
+
headers: {}
|
|
24355
|
+
},
|
|
24356
|
+
type: "endpoint"
|
|
24357
|
+
},
|
|
24358
|
+
{
|
|
24359
|
+
conditions: [
|
|
24360
|
+
{
|
|
24361
|
+
fn: "stringEquals",
|
|
24362
|
+
argv: [
|
|
24363
|
+
{
|
|
24364
|
+
ref: "Region"
|
|
24365
|
+
},
|
|
24366
|
+
"eu-west-2"
|
|
24367
|
+
]
|
|
24368
|
+
}
|
|
24369
|
+
],
|
|
24370
|
+
endpoint: {
|
|
24371
|
+
url: "https://sts.amazonaws.com",
|
|
24372
|
+
properties: {
|
|
24373
|
+
authSchemes: [
|
|
24374
|
+
{
|
|
24375
|
+
name: "sigv4",
|
|
24376
|
+
signingName: "sts",
|
|
24377
|
+
signingRegion: "us-east-1"
|
|
24378
|
+
}
|
|
24379
|
+
]
|
|
24380
|
+
},
|
|
24381
|
+
headers: {}
|
|
24382
|
+
},
|
|
24383
|
+
type: "endpoint"
|
|
24384
|
+
},
|
|
24385
|
+
{
|
|
24386
|
+
conditions: [
|
|
24387
|
+
{
|
|
24388
|
+
fn: "stringEquals",
|
|
24389
|
+
argv: [
|
|
24390
|
+
{
|
|
24391
|
+
ref: "Region"
|
|
24392
|
+
},
|
|
24393
|
+
"eu-west-3"
|
|
24394
|
+
]
|
|
24395
|
+
}
|
|
24396
|
+
],
|
|
24397
|
+
endpoint: {
|
|
24398
|
+
url: "https://sts.amazonaws.com",
|
|
24399
|
+
properties: {
|
|
24400
|
+
authSchemes: [
|
|
24401
|
+
{
|
|
24402
|
+
name: "sigv4",
|
|
24403
|
+
signingName: "sts",
|
|
24404
|
+
signingRegion: "us-east-1"
|
|
24405
|
+
}
|
|
24406
|
+
]
|
|
24407
|
+
},
|
|
24408
|
+
headers: {}
|
|
24409
|
+
},
|
|
24410
|
+
type: "endpoint"
|
|
24411
|
+
},
|
|
24412
|
+
{
|
|
24413
|
+
conditions: [
|
|
24414
|
+
{
|
|
24415
|
+
fn: "stringEquals",
|
|
24416
|
+
argv: [
|
|
24417
|
+
{
|
|
24418
|
+
ref: "Region"
|
|
24419
|
+
},
|
|
24420
|
+
"sa-east-1"
|
|
24421
|
+
]
|
|
24422
|
+
}
|
|
24423
|
+
],
|
|
24424
|
+
endpoint: {
|
|
24425
|
+
url: "https://sts.amazonaws.com",
|
|
24426
|
+
properties: {
|
|
24427
|
+
authSchemes: [
|
|
24428
|
+
{
|
|
24429
|
+
name: "sigv4",
|
|
24430
|
+
signingName: "sts",
|
|
24431
|
+
signingRegion: "us-east-1"
|
|
24432
|
+
}
|
|
24433
|
+
]
|
|
24434
|
+
},
|
|
24435
|
+
headers: {}
|
|
24436
|
+
},
|
|
24437
|
+
type: "endpoint"
|
|
24438
|
+
},
|
|
24439
|
+
{
|
|
24440
|
+
conditions: [
|
|
24441
|
+
{
|
|
24442
|
+
fn: "stringEquals",
|
|
24443
|
+
argv: [
|
|
24444
|
+
{
|
|
24445
|
+
ref: "Region"
|
|
24446
|
+
},
|
|
24447
|
+
"us-east-1"
|
|
24448
|
+
]
|
|
24449
|
+
}
|
|
24450
|
+
],
|
|
24451
|
+
endpoint: {
|
|
24452
|
+
url: "https://sts.amazonaws.com",
|
|
24453
|
+
properties: {
|
|
24454
|
+
authSchemes: [
|
|
24455
|
+
{
|
|
24456
|
+
name: "sigv4",
|
|
24457
|
+
signingName: "sts",
|
|
24458
|
+
signingRegion: "us-east-1"
|
|
24459
|
+
}
|
|
24460
|
+
]
|
|
24461
|
+
},
|
|
24462
|
+
headers: {}
|
|
24463
|
+
},
|
|
24464
|
+
type: "endpoint"
|
|
24465
|
+
},
|
|
24466
|
+
{
|
|
24467
|
+
conditions: [
|
|
24468
|
+
{
|
|
24469
|
+
fn: "stringEquals",
|
|
24470
|
+
argv: [
|
|
24471
|
+
{
|
|
24472
|
+
ref: "Region"
|
|
24473
|
+
},
|
|
24474
|
+
"us-east-2"
|
|
24475
|
+
]
|
|
24476
|
+
}
|
|
24477
|
+
],
|
|
24478
|
+
endpoint: {
|
|
24479
|
+
url: "https://sts.amazonaws.com",
|
|
24480
|
+
properties: {
|
|
24481
|
+
authSchemes: [
|
|
24482
|
+
{
|
|
24483
|
+
name: "sigv4",
|
|
24484
|
+
signingName: "sts",
|
|
24485
|
+
signingRegion: "us-east-1"
|
|
24486
|
+
}
|
|
24487
|
+
]
|
|
24488
|
+
},
|
|
24489
|
+
headers: {}
|
|
24490
|
+
},
|
|
24491
|
+
type: "endpoint"
|
|
24492
|
+
},
|
|
24493
|
+
{
|
|
24494
|
+
conditions: [
|
|
24495
|
+
{
|
|
24496
|
+
fn: "stringEquals",
|
|
24497
|
+
argv: [
|
|
24498
|
+
{
|
|
24499
|
+
ref: "Region"
|
|
24500
|
+
},
|
|
24501
|
+
"us-west-1"
|
|
24502
|
+
]
|
|
24503
|
+
}
|
|
24504
|
+
],
|
|
24505
|
+
endpoint: {
|
|
24506
|
+
url: "https://sts.amazonaws.com",
|
|
24507
|
+
properties: {
|
|
24508
|
+
authSchemes: [
|
|
24509
|
+
{
|
|
24510
|
+
name: "sigv4",
|
|
24511
|
+
signingName: "sts",
|
|
24512
|
+
signingRegion: "us-east-1"
|
|
24513
|
+
}
|
|
24514
|
+
]
|
|
24515
|
+
},
|
|
24516
|
+
headers: {}
|
|
24517
|
+
},
|
|
24518
|
+
type: "endpoint"
|
|
24519
|
+
},
|
|
24520
|
+
{
|
|
24521
|
+
conditions: [
|
|
24522
|
+
{
|
|
24523
|
+
fn: "stringEquals",
|
|
24524
|
+
argv: [
|
|
24525
|
+
{
|
|
24526
|
+
ref: "Region"
|
|
24527
|
+
},
|
|
24528
|
+
"us-west-2"
|
|
24529
|
+
]
|
|
24530
|
+
}
|
|
24531
|
+
],
|
|
24532
|
+
endpoint: {
|
|
24533
|
+
url: "https://sts.amazonaws.com",
|
|
24534
|
+
properties: {
|
|
24535
|
+
authSchemes: [
|
|
24536
|
+
{
|
|
24537
|
+
name: "sigv4",
|
|
24538
|
+
signingName: "sts",
|
|
24539
|
+
signingRegion: "us-east-1"
|
|
24540
|
+
}
|
|
24541
|
+
]
|
|
24542
|
+
},
|
|
24543
|
+
headers: {}
|
|
24544
|
+
},
|
|
24545
|
+
type: "endpoint"
|
|
24546
|
+
},
|
|
24547
|
+
{
|
|
24548
|
+
conditions: [],
|
|
24549
|
+
endpoint: {
|
|
24550
|
+
url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
|
|
24551
|
+
properties: {
|
|
24552
|
+
authSchemes: [
|
|
24553
|
+
{
|
|
24554
|
+
name: "sigv4",
|
|
24555
|
+
signingName: "sts",
|
|
24556
|
+
signingRegion: "{Region}"
|
|
24557
|
+
}
|
|
24558
|
+
]
|
|
24559
|
+
},
|
|
24560
|
+
headers: {}
|
|
24561
|
+
},
|
|
24562
|
+
type: "endpoint"
|
|
24563
|
+
}
|
|
24564
|
+
]
|
|
24565
|
+
},
|
|
24566
|
+
{
|
|
24567
|
+
conditions: [
|
|
24568
|
+
{
|
|
24569
|
+
fn: "isSet",
|
|
24570
|
+
argv: [
|
|
24571
|
+
{
|
|
24572
|
+
ref: "Endpoint"
|
|
24573
|
+
}
|
|
24574
|
+
]
|
|
24575
|
+
},
|
|
24576
|
+
{
|
|
24577
|
+
fn: "parseURL",
|
|
24578
|
+
argv: [
|
|
24579
|
+
{
|
|
24580
|
+
ref: "Endpoint"
|
|
24581
|
+
}
|
|
24582
|
+
],
|
|
24583
|
+
assign: "url"
|
|
24584
|
+
}
|
|
24585
|
+
],
|
|
24586
|
+
type: "tree",
|
|
24587
|
+
rules: [
|
|
24588
|
+
{
|
|
24589
|
+
conditions: [
|
|
24590
|
+
{
|
|
24591
|
+
fn: "booleanEquals",
|
|
24592
|
+
argv: [
|
|
24593
|
+
{
|
|
24594
|
+
ref: "UseFIPS"
|
|
24595
|
+
},
|
|
24596
|
+
true
|
|
24597
|
+
]
|
|
24598
|
+
}
|
|
24599
|
+
],
|
|
24600
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
24601
|
+
type: "error"
|
|
24602
|
+
},
|
|
24603
|
+
{
|
|
24604
|
+
conditions: [],
|
|
24605
|
+
type: "tree",
|
|
24606
|
+
rules: [
|
|
24607
|
+
{
|
|
24608
|
+
conditions: [
|
|
24609
|
+
{
|
|
24610
|
+
fn: "booleanEquals",
|
|
24611
|
+
argv: [
|
|
24612
|
+
{
|
|
24613
|
+
ref: "UseDualStack"
|
|
24614
|
+
},
|
|
24615
|
+
true
|
|
24616
|
+
]
|
|
24617
|
+
}
|
|
24618
|
+
],
|
|
24619
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
24620
|
+
type: "error"
|
|
24621
|
+
},
|
|
24622
|
+
{
|
|
24623
|
+
conditions: [],
|
|
24624
|
+
endpoint: {
|
|
24625
|
+
url: {
|
|
24626
|
+
ref: "Endpoint"
|
|
24627
|
+
},
|
|
24628
|
+
properties: {},
|
|
24629
|
+
headers: {}
|
|
24630
|
+
},
|
|
24631
|
+
type: "endpoint"
|
|
24632
|
+
}
|
|
24633
|
+
]
|
|
24634
|
+
}
|
|
24635
|
+
]
|
|
24636
|
+
},
|
|
24637
|
+
{
|
|
24638
|
+
conditions: [
|
|
24639
|
+
{
|
|
24640
|
+
fn: "booleanEquals",
|
|
24641
|
+
argv: [
|
|
24642
|
+
{
|
|
24643
|
+
ref: "UseFIPS"
|
|
24644
|
+
},
|
|
24645
|
+
true
|
|
24646
|
+
]
|
|
24647
|
+
},
|
|
24648
|
+
{
|
|
24649
|
+
fn: "booleanEquals",
|
|
24650
|
+
argv: [
|
|
24651
|
+
{
|
|
24652
|
+
ref: "UseDualStack"
|
|
24653
|
+
},
|
|
24654
|
+
true
|
|
24655
|
+
]
|
|
24656
|
+
}
|
|
24657
|
+
],
|
|
24658
|
+
type: "tree",
|
|
24659
|
+
rules: [
|
|
24660
|
+
{
|
|
24661
|
+
conditions: [
|
|
24662
|
+
{
|
|
24663
|
+
fn: "booleanEquals",
|
|
24664
|
+
argv: [
|
|
24665
|
+
true,
|
|
24666
|
+
{
|
|
24667
|
+
fn: "getAttr",
|
|
24668
|
+
argv: [
|
|
24669
|
+
{
|
|
24670
|
+
ref: "PartitionResult"
|
|
24671
|
+
},
|
|
24672
|
+
"supportsFIPS"
|
|
24673
|
+
]
|
|
24674
|
+
}
|
|
24675
|
+
]
|
|
24676
|
+
},
|
|
24677
|
+
{
|
|
24678
|
+
fn: "booleanEquals",
|
|
24679
|
+
argv: [
|
|
24680
|
+
true,
|
|
24681
|
+
{
|
|
24682
|
+
fn: "getAttr",
|
|
24683
|
+
argv: [
|
|
24684
|
+
{
|
|
24685
|
+
ref: "PartitionResult"
|
|
24686
|
+
},
|
|
24687
|
+
"supportsDualStack"
|
|
24688
|
+
]
|
|
24689
|
+
}
|
|
24690
|
+
]
|
|
24691
|
+
}
|
|
24692
|
+
],
|
|
24693
|
+
type: "tree",
|
|
24694
|
+
rules: [
|
|
24695
|
+
{
|
|
24696
|
+
conditions: [],
|
|
24697
|
+
endpoint: {
|
|
24698
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
24699
|
+
properties: {},
|
|
24700
|
+
headers: {}
|
|
24701
|
+
},
|
|
24702
|
+
type: "endpoint"
|
|
24703
|
+
}
|
|
24704
|
+
]
|
|
24705
|
+
},
|
|
24706
|
+
{
|
|
24707
|
+
conditions: [],
|
|
24708
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
24709
|
+
type: "error"
|
|
24710
|
+
}
|
|
24711
|
+
]
|
|
24712
|
+
},
|
|
24713
|
+
{
|
|
24714
|
+
conditions: [
|
|
24715
|
+
{
|
|
24716
|
+
fn: "booleanEquals",
|
|
24717
|
+
argv: [
|
|
24718
|
+
{
|
|
24719
|
+
ref: "UseFIPS"
|
|
24720
|
+
},
|
|
24721
|
+
true
|
|
24722
|
+
]
|
|
24723
|
+
}
|
|
24724
|
+
],
|
|
24725
|
+
type: "tree",
|
|
24726
|
+
rules: [
|
|
24727
|
+
{
|
|
24728
|
+
conditions: [
|
|
24729
|
+
{
|
|
24730
|
+
fn: "booleanEquals",
|
|
24731
|
+
argv: [
|
|
24732
|
+
true,
|
|
24733
|
+
{
|
|
24734
|
+
fn: "getAttr",
|
|
24735
|
+
argv: [
|
|
24736
|
+
{
|
|
24737
|
+
ref: "PartitionResult"
|
|
24738
|
+
},
|
|
24739
|
+
"supportsFIPS"
|
|
24740
|
+
]
|
|
24741
|
+
}
|
|
24742
|
+
]
|
|
24743
|
+
}
|
|
24744
|
+
],
|
|
24745
|
+
type: "tree",
|
|
24746
|
+
rules: [
|
|
24747
|
+
{
|
|
24748
|
+
conditions: [],
|
|
24749
|
+
type: "tree",
|
|
24750
|
+
rules: [
|
|
24751
|
+
{
|
|
24752
|
+
conditions: [
|
|
24753
|
+
{
|
|
24754
|
+
fn: "stringEquals",
|
|
24755
|
+
argv: [
|
|
24756
|
+
"aws-us-gov",
|
|
24757
|
+
{
|
|
24758
|
+
fn: "getAttr",
|
|
24759
|
+
argv: [
|
|
24760
|
+
{
|
|
24761
|
+
ref: "PartitionResult"
|
|
24762
|
+
},
|
|
24763
|
+
"name"
|
|
24764
|
+
]
|
|
24765
|
+
}
|
|
24766
|
+
]
|
|
24767
|
+
}
|
|
24768
|
+
],
|
|
24769
|
+
endpoint: {
|
|
24770
|
+
url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
|
|
24771
|
+
properties: {},
|
|
24772
|
+
headers: {}
|
|
24773
|
+
},
|
|
24774
|
+
type: "endpoint"
|
|
24775
|
+
},
|
|
24776
|
+
{
|
|
24777
|
+
conditions: [],
|
|
24778
|
+
endpoint: {
|
|
24779
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
24780
|
+
properties: {},
|
|
24781
|
+
headers: {}
|
|
24782
|
+
},
|
|
24783
|
+
type: "endpoint"
|
|
24784
|
+
}
|
|
24785
|
+
]
|
|
24786
|
+
}
|
|
24787
|
+
]
|
|
24788
|
+
},
|
|
24789
|
+
{
|
|
24790
|
+
conditions: [],
|
|
24791
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
24792
|
+
type: "error"
|
|
24793
|
+
}
|
|
24794
|
+
]
|
|
24795
|
+
},
|
|
24796
|
+
{
|
|
24797
|
+
conditions: [
|
|
24798
|
+
{
|
|
24799
|
+
fn: "booleanEquals",
|
|
24800
|
+
argv: [
|
|
24801
|
+
{
|
|
24802
|
+
ref: "UseDualStack"
|
|
24803
|
+
},
|
|
24804
|
+
true
|
|
24805
|
+
]
|
|
24806
|
+
}
|
|
24807
|
+
],
|
|
24808
|
+
type: "tree",
|
|
24809
|
+
rules: [
|
|
24810
|
+
{
|
|
24811
|
+
conditions: [
|
|
24812
|
+
{
|
|
24813
|
+
fn: "booleanEquals",
|
|
24814
|
+
argv: [
|
|
24815
|
+
true,
|
|
24816
|
+
{
|
|
24817
|
+
fn: "getAttr",
|
|
24818
|
+
argv: [
|
|
24819
|
+
{
|
|
24820
|
+
ref: "PartitionResult"
|
|
24821
|
+
},
|
|
24822
|
+
"supportsDualStack"
|
|
24823
|
+
]
|
|
24824
|
+
}
|
|
24825
|
+
]
|
|
24826
|
+
}
|
|
24827
|
+
],
|
|
24828
|
+
type: "tree",
|
|
24829
|
+
rules: [
|
|
24830
|
+
{
|
|
24831
|
+
conditions: [],
|
|
24832
|
+
endpoint: {
|
|
24833
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
24834
|
+
properties: {},
|
|
24835
|
+
headers: {}
|
|
24836
|
+
},
|
|
24837
|
+
type: "endpoint"
|
|
24838
|
+
}
|
|
24839
|
+
]
|
|
24840
|
+
},
|
|
24841
|
+
{
|
|
24842
|
+
conditions: [],
|
|
24843
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
24844
|
+
type: "error"
|
|
24845
|
+
}
|
|
24846
|
+
]
|
|
24847
|
+
},
|
|
24848
|
+
{
|
|
24849
|
+
conditions: [],
|
|
24850
|
+
type: "tree",
|
|
24851
|
+
rules: [
|
|
24852
|
+
{
|
|
24853
|
+
conditions: [
|
|
24854
|
+
{
|
|
24855
|
+
fn: "stringEquals",
|
|
24856
|
+
argv: [
|
|
24857
|
+
{
|
|
24858
|
+
ref: "Region"
|
|
24859
|
+
},
|
|
24860
|
+
"aws-global"
|
|
24861
|
+
]
|
|
24862
|
+
}
|
|
24863
|
+
],
|
|
24864
|
+
endpoint: {
|
|
24865
|
+
url: "https://sts.amazonaws.com",
|
|
24866
|
+
properties: {
|
|
24867
|
+
authSchemes: [
|
|
24868
|
+
{
|
|
24869
|
+
name: "sigv4",
|
|
24870
|
+
signingName: "sts",
|
|
24871
|
+
signingRegion: "us-east-1"
|
|
24872
|
+
}
|
|
24873
|
+
]
|
|
24874
|
+
},
|
|
24875
|
+
headers: {}
|
|
24876
|
+
},
|
|
24877
|
+
type: "endpoint"
|
|
24878
|
+
},
|
|
24879
|
+
{
|
|
24880
|
+
conditions: [],
|
|
24881
|
+
endpoint: {
|
|
24882
|
+
url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
|
|
24883
|
+
properties: {},
|
|
24884
|
+
headers: {}
|
|
24885
|
+
},
|
|
24886
|
+
type: "endpoint"
|
|
24887
|
+
}
|
|
24888
|
+
]
|
|
24889
|
+
}
|
|
24890
|
+
]
|
|
24891
|
+
}
|
|
24892
|
+
]
|
|
24893
|
+
};
|
|
24894
|
+
}
|
|
24895
|
+
});
|
|
24896
|
+
|
|
24897
|
+
// node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js
|
|
24898
|
+
var require_endpointResolver = __commonJS({
|
|
24899
|
+
"node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js"(exports) {
|
|
24900
|
+
"use strict";
|
|
24901
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24902
|
+
exports.defaultEndpointResolver = void 0;
|
|
24903
|
+
var util_endpoints_1 = require_dist_cjs45();
|
|
24904
|
+
var ruleset_1 = require_ruleset();
|
|
24905
|
+
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
24906
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
24907
|
+
endpointParams,
|
|
24908
|
+
logger: context.logger
|
|
24909
|
+
});
|
|
24910
|
+
};
|
|
24911
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
24912
|
+
}
|
|
24913
|
+
});
|
|
24914
|
+
|
|
24915
|
+
// node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js
|
|
24916
|
+
var require_runtimeConfig_shared2 = __commonJS({
|
|
24917
|
+
"node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js"(exports) {
|
|
24918
|
+
"use strict";
|
|
24919
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24920
|
+
exports.getRuntimeConfig = void 0;
|
|
24921
|
+
var url_parser_1 = require_dist_cjs22();
|
|
24922
|
+
var endpointResolver_1 = require_endpointResolver();
|
|
24923
|
+
var getRuntimeConfig = (config) => {
|
|
24924
|
+
var _a, _b, _c, _d, _e;
|
|
24925
|
+
return {
|
|
24926
|
+
apiVersion: "2011-06-15",
|
|
24927
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
24928
|
+
endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
|
|
24929
|
+
logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
|
|
24930
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "STS",
|
|
24931
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl
|
|
24932
|
+
};
|
|
24933
|
+
};
|
|
24934
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
24935
|
+
}
|
|
24936
|
+
});
|
|
24937
|
+
|
|
24938
|
+
// node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js
|
|
22715
24939
|
var require_runtimeConfig2 = __commonJS({
|
|
22716
24940
|
"node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js"(exports) {
|
|
22717
24941
|
"use strict";
|
|
@@ -22721,18 +24945,18 @@ var require_runtimeConfig2 = __commonJS({
|
|
|
22721
24945
|
var package_json_1 = tslib_1.__importDefault(require_package2());
|
|
22722
24946
|
var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers();
|
|
22723
24947
|
var config_resolver_1 = require_dist_cjs7();
|
|
22724
|
-
var credential_provider_node_1 =
|
|
22725
|
-
var hash_node_1 =
|
|
24948
|
+
var credential_provider_node_1 = require_dist_cjs43();
|
|
24949
|
+
var hash_node_1 = require_dist_cjs30();
|
|
22726
24950
|
var middleware_retry_1 = require_dist_cjs13();
|
|
22727
|
-
var node_config_provider_1 =
|
|
22728
|
-
var node_http_handler_1 =
|
|
22729
|
-
var util_base64_node_1 =
|
|
22730
|
-
var util_body_length_node_1 =
|
|
22731
|
-
var util_user_agent_node_1 =
|
|
22732
|
-
var util_utf8_node_1 =
|
|
24951
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
24952
|
+
var node_http_handler_1 = require_dist_cjs32();
|
|
24953
|
+
var util_base64_node_1 = require_dist_cjs33();
|
|
24954
|
+
var util_body_length_node_1 = require_dist_cjs34();
|
|
24955
|
+
var util_user_agent_node_1 = require_dist_cjs35();
|
|
24956
|
+
var util_utf8_node_1 = require_dist_cjs36();
|
|
22733
24957
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared2();
|
|
22734
24958
|
var smithy_client_1 = require_dist_cjs3();
|
|
22735
|
-
var util_defaults_mode_node_1 =
|
|
24959
|
+
var util_defaults_mode_node_1 = require_dist_cjs37();
|
|
22736
24960
|
var smithy_client_2 = require_dist_cjs3();
|
|
22737
24961
|
var getRuntimeConfig = (config) => {
|
|
22738
24962
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
@@ -22777,25 +25001,28 @@ var require_STSClient = __commonJS({
|
|
|
22777
25001
|
exports.STSClient = void 0;
|
|
22778
25002
|
var config_resolver_1 = require_dist_cjs7();
|
|
22779
25003
|
var middleware_content_length_1 = require_dist_cjs8();
|
|
25004
|
+
var middleware_endpoint_1 = require_dist_cjs23();
|
|
22780
25005
|
var middleware_host_header_1 = require_dist_cjs9();
|
|
22781
25006
|
var middleware_logger_1 = require_dist_cjs10();
|
|
22782
25007
|
var middleware_recursion_detection_1 = require_dist_cjs11();
|
|
22783
25008
|
var middleware_retry_1 = require_dist_cjs13();
|
|
22784
|
-
var middleware_sdk_sts_1 =
|
|
25009
|
+
var middleware_sdk_sts_1 = require_dist_cjs24();
|
|
22785
25010
|
var middleware_user_agent_1 = require_dist_cjs20();
|
|
22786
25011
|
var smithy_client_1 = require_dist_cjs3();
|
|
25012
|
+
var EndpointParameters_1 = require_EndpointParameters();
|
|
22787
25013
|
var runtimeConfig_1 = require_runtimeConfig2();
|
|
22788
25014
|
var STSClient = class extends smithy_client_1.Client {
|
|
22789
25015
|
constructor(configuration) {
|
|
22790
25016
|
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
22791
|
-
const _config_1 = (0,
|
|
22792
|
-
const _config_2 = (0, config_resolver_1.
|
|
22793
|
-
const _config_3 = (0,
|
|
22794
|
-
const _config_4 = (0,
|
|
22795
|
-
const _config_5 = (0,
|
|
22796
|
-
const _config_6 = (0,
|
|
22797
|
-
|
|
22798
|
-
|
|
25017
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
25018
|
+
const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
|
|
25019
|
+
const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
|
|
25020
|
+
const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
|
|
25021
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
25022
|
+
const _config_6 = (0, middleware_sdk_sts_1.resolveStsAuthConfig)(_config_5, { stsClientCtor: STSClient });
|
|
25023
|
+
const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
|
|
25024
|
+
super(_config_7);
|
|
25025
|
+
this.config = _config_7;
|
|
22799
25026
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
22800
25027
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
22801
25028
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
@@ -22990,7 +25217,7 @@ var require_models2 = __commonJS({
|
|
|
22990
25217
|
});
|
|
22991
25218
|
|
|
22992
25219
|
// node_modules/@aws-sdk/client-sts/dist-cjs/index.js
|
|
22993
|
-
var
|
|
25220
|
+
var require_dist_cjs46 = __commonJS({
|
|
22994
25221
|
"node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports) {
|
|
22995
25222
|
"use strict";
|
|
22996
25223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -23009,7 +25236,7 @@ var require_dist_cjs43 = __commonJS({
|
|
|
23009
25236
|
});
|
|
23010
25237
|
|
|
23011
25238
|
// node_modules/@aws-sdk/client-lambda/dist-cjs/endpoints.js
|
|
23012
|
-
var
|
|
25239
|
+
var require_endpoints2 = __commonJS({
|
|
23013
25240
|
"node_modules/@aws-sdk/client-lambda/dist-cjs/endpoints.js"(exports) {
|
|
23014
25241
|
"use strict";
|
|
23015
25242
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -23389,8 +25616,8 @@ var require_runtimeConfig_shared3 = __commonJS({
|
|
|
23389
25616
|
"use strict";
|
|
23390
25617
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23391
25618
|
exports.getRuntimeConfig = void 0;
|
|
23392
|
-
var url_parser_1 =
|
|
23393
|
-
var endpoints_1 =
|
|
25619
|
+
var url_parser_1 = require_dist_cjs22();
|
|
25620
|
+
var endpoints_1 = require_endpoints2();
|
|
23394
25621
|
var getRuntimeConfig = (config) => {
|
|
23395
25622
|
var _a, _b, _c, _d, _e;
|
|
23396
25623
|
return {
|
|
@@ -23414,20 +25641,20 @@ var require_runtimeConfig3 = __commonJS({
|
|
|
23414
25641
|
exports.getRuntimeConfig = void 0;
|
|
23415
25642
|
var tslib_1 = require_tslib();
|
|
23416
25643
|
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
23417
|
-
var client_sts_1 =
|
|
25644
|
+
var client_sts_1 = require_dist_cjs46();
|
|
23418
25645
|
var config_resolver_1 = require_dist_cjs7();
|
|
23419
|
-
var credential_provider_node_1 =
|
|
23420
|
-
var hash_node_1 =
|
|
25646
|
+
var credential_provider_node_1 = require_dist_cjs43();
|
|
25647
|
+
var hash_node_1 = require_dist_cjs30();
|
|
23421
25648
|
var middleware_retry_1 = require_dist_cjs13();
|
|
23422
|
-
var node_config_provider_1 =
|
|
23423
|
-
var node_http_handler_1 =
|
|
23424
|
-
var util_base64_node_1 =
|
|
23425
|
-
var util_body_length_node_1 =
|
|
23426
|
-
var util_user_agent_node_1 =
|
|
23427
|
-
var util_utf8_node_1 =
|
|
25649
|
+
var node_config_provider_1 = require_dist_cjs27();
|
|
25650
|
+
var node_http_handler_1 = require_dist_cjs32();
|
|
25651
|
+
var util_base64_node_1 = require_dist_cjs33();
|
|
25652
|
+
var util_body_length_node_1 = require_dist_cjs34();
|
|
25653
|
+
var util_user_agent_node_1 = require_dist_cjs35();
|
|
25654
|
+
var util_utf8_node_1 = require_dist_cjs36();
|
|
23428
25655
|
var runtimeConfig_shared_1 = require_runtimeConfig_shared3();
|
|
23429
25656
|
var smithy_client_1 = require_dist_cjs3();
|
|
23430
|
-
var util_defaults_mode_node_1 =
|
|
25657
|
+
var util_defaults_mode_node_1 = require_dist_cjs37();
|
|
23431
25658
|
var smithy_client_2 = require_dist_cjs3();
|
|
23432
25659
|
var getRuntimeConfig = (config) => {
|
|
23433
25660
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
@@ -24870,7 +27097,7 @@ var require_ListVersionsByFunctionPaginator = __commonJS({
|
|
|
24870
27097
|
});
|
|
24871
27098
|
|
|
24872
27099
|
// node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js
|
|
24873
|
-
var
|
|
27100
|
+
var require_pagination3 = __commonJS({
|
|
24874
27101
|
"node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js"(exports) {
|
|
24875
27102
|
"use strict";
|
|
24876
27103
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -24904,7 +27131,7 @@ var require_sleep = __commonJS({
|
|
|
24904
27131
|
});
|
|
24905
27132
|
|
|
24906
27133
|
// node_modules/@aws-sdk/util-waiter/dist-cjs/waiter.js
|
|
24907
|
-
var
|
|
27134
|
+
var require_waiter2 = __commonJS({
|
|
24908
27135
|
"node_modules/@aws-sdk/util-waiter/dist-cjs/waiter.js"(exports) {
|
|
24909
27136
|
"use strict";
|
|
24910
27137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -24952,7 +27179,7 @@ var require_poller = __commonJS({
|
|
|
24952
27179
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24953
27180
|
exports.runPolling = void 0;
|
|
24954
27181
|
var sleep_1 = require_sleep();
|
|
24955
|
-
var waiter_1 =
|
|
27182
|
+
var waiter_1 = require_waiter2();
|
|
24956
27183
|
var exponentialBackoffWithJitter = (minDelay, maxDelay, attemptCeiling, attempt) => {
|
|
24957
27184
|
if (attempt > attemptCeiling)
|
|
24958
27185
|
return maxDelay;
|
|
@@ -25013,7 +27240,7 @@ var require_validate2 = __commonJS({
|
|
|
25013
27240
|
});
|
|
25014
27241
|
|
|
25015
27242
|
// node_modules/@aws-sdk/util-waiter/dist-cjs/utils/index.js
|
|
25016
|
-
var
|
|
27243
|
+
var require_utils2 = __commonJS({
|
|
25017
27244
|
"node_modules/@aws-sdk/util-waiter/dist-cjs/utils/index.js"(exports) {
|
|
25018
27245
|
"use strict";
|
|
25019
27246
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -25030,8 +27257,8 @@ var require_createWaiter = __commonJS({
|
|
|
25030
27257
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25031
27258
|
exports.createWaiter = void 0;
|
|
25032
27259
|
var poller_1 = require_poller();
|
|
25033
|
-
var utils_1 =
|
|
25034
|
-
var waiter_1 =
|
|
27260
|
+
var utils_1 = require_utils2();
|
|
27261
|
+
var waiter_1 = require_waiter2();
|
|
25035
27262
|
var abortTimeout = async (abortSignal) => {
|
|
25036
27263
|
return new Promise((resolve) => {
|
|
25037
27264
|
abortSignal.onabort = () => resolve({ state: waiter_1.WaiterState.ABORTED });
|
|
@@ -25057,13 +27284,13 @@ var require_createWaiter = __commonJS({
|
|
|
25057
27284
|
});
|
|
25058
27285
|
|
|
25059
27286
|
// node_modules/@aws-sdk/util-waiter/dist-cjs/index.js
|
|
25060
|
-
var
|
|
27287
|
+
var require_dist_cjs47 = __commonJS({
|
|
25061
27288
|
"node_modules/@aws-sdk/util-waiter/dist-cjs/index.js"(exports) {
|
|
25062
27289
|
"use strict";
|
|
25063
27290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25064
27291
|
var tslib_1 = require_tslib();
|
|
25065
27292
|
tslib_1.__exportStar(require_createWaiter(), exports);
|
|
25066
|
-
tslib_1.__exportStar(
|
|
27293
|
+
tslib_1.__exportStar(require_waiter2(), exports);
|
|
25067
27294
|
}
|
|
25068
27295
|
});
|
|
25069
27296
|
|
|
@@ -25073,7 +27300,7 @@ var require_waitForFunctionActive = __commonJS({
|
|
|
25073
27300
|
"use strict";
|
|
25074
27301
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25075
27302
|
exports.waitUntilFunctionActive = exports.waitForFunctionActive = void 0;
|
|
25076
|
-
var util_waiter_1 =
|
|
27303
|
+
var util_waiter_1 = require_dist_cjs47();
|
|
25077
27304
|
var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
|
|
25078
27305
|
var checkState = async (client, input) => {
|
|
25079
27306
|
let reason;
|
|
@@ -25132,7 +27359,7 @@ var require_waitForFunctionActiveV2 = __commonJS({
|
|
|
25132
27359
|
"use strict";
|
|
25133
27360
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25134
27361
|
exports.waitUntilFunctionActiveV2 = exports.waitForFunctionActiveV2 = void 0;
|
|
25135
|
-
var util_waiter_1 =
|
|
27362
|
+
var util_waiter_1 = require_dist_cjs47();
|
|
25136
27363
|
var GetFunctionCommand_1 = require_GetFunctionCommand();
|
|
25137
27364
|
var checkState = async (client, input) => {
|
|
25138
27365
|
let reason;
|
|
@@ -25191,7 +27418,7 @@ var require_waitForFunctionExists = __commonJS({
|
|
|
25191
27418
|
"use strict";
|
|
25192
27419
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25193
27420
|
exports.waitUntilFunctionExists = exports.waitForFunctionExists = void 0;
|
|
25194
|
-
var util_waiter_1 =
|
|
27421
|
+
var util_waiter_1 = require_dist_cjs47();
|
|
25195
27422
|
var GetFunctionCommand_1 = require_GetFunctionCommand();
|
|
25196
27423
|
var checkState = async (client, input) => {
|
|
25197
27424
|
let reason;
|
|
@@ -25227,7 +27454,7 @@ var require_waitForFunctionUpdated = __commonJS({
|
|
|
25227
27454
|
"use strict";
|
|
25228
27455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25229
27456
|
exports.waitUntilFunctionUpdated = exports.waitForFunctionUpdated = void 0;
|
|
25230
|
-
var util_waiter_1 =
|
|
27457
|
+
var util_waiter_1 = require_dist_cjs47();
|
|
25231
27458
|
var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
|
|
25232
27459
|
var checkState = async (client, input) => {
|
|
25233
27460
|
let reason;
|
|
@@ -25286,7 +27513,7 @@ var require_waitForFunctionUpdatedV2 = __commonJS({
|
|
|
25286
27513
|
"use strict";
|
|
25287
27514
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25288
27515
|
exports.waitUntilFunctionUpdatedV2 = exports.waitForFunctionUpdatedV2 = void 0;
|
|
25289
|
-
var util_waiter_1 =
|
|
27516
|
+
var util_waiter_1 = require_dist_cjs47();
|
|
25290
27517
|
var GetFunctionCommand_1 = require_GetFunctionCommand();
|
|
25291
27518
|
var checkState = async (client, input) => {
|
|
25292
27519
|
let reason;
|
|
@@ -25354,7 +27581,7 @@ var require_waiters = __commonJS({
|
|
|
25354
27581
|
});
|
|
25355
27582
|
|
|
25356
27583
|
// node_modules/@aws-sdk/client-lambda/dist-cjs/index.js
|
|
25357
|
-
var
|
|
27584
|
+
var require_dist_cjs48 = __commonJS({
|
|
25358
27585
|
"node_modules/@aws-sdk/client-lambda/dist-cjs/index.js"(exports) {
|
|
25359
27586
|
"use strict";
|
|
25360
27587
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -25364,7 +27591,7 @@ var require_dist_cjs45 = __commonJS({
|
|
|
25364
27591
|
tslib_1.__exportStar(require_LambdaClient(), exports);
|
|
25365
27592
|
tslib_1.__exportStar(require_commands3(), exports);
|
|
25366
27593
|
tslib_1.__exportStar(require_models3(), exports);
|
|
25367
|
-
tslib_1.__exportStar(
|
|
27594
|
+
tslib_1.__exportStar(require_pagination3(), exports);
|
|
25368
27595
|
tslib_1.__exportStar(require_waiters(), exports);
|
|
25369
27596
|
var LambdaServiceException_1 = require_LambdaServiceException();
|
|
25370
27597
|
Object.defineProperty(exports, "LambdaServiceException", { enumerable: true, get: function() {
|
|
@@ -25379,7 +27606,7 @@ __export(update_lambda_exports, {
|
|
|
25379
27606
|
handler: () => handler
|
|
25380
27607
|
});
|
|
25381
27608
|
module.exports = __toCommonJS(update_lambda_exports);
|
|
25382
|
-
var import_client_lambda = __toESM(
|
|
27609
|
+
var import_client_lambda = __toESM(require_dist_cjs48());
|
|
25383
27610
|
var AWS = __toESM(require("aws-sdk"));
|
|
25384
27611
|
var lambda = new AWS.Lambda();
|
|
25385
27612
|
function sleep(ms) {
|