@larkup/cli 0.3.22 → 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-MTXSOKLF.js → chunk-52FEKTCQ.js} +1069 -1028
- package/dist/{chunk-4Y7OLVDR.js → chunk-5VCEWBIF.js} +4 -4
- package/dist/{chunk-5YXDD2GC.js → chunk-7MWCEBXG.js} +139 -139
- package/dist/{chunk-YL567TPU.js → chunk-D4V74FXY.js} +4 -4
- package/dist/chunk-IYRX2FOU.js +515 -0
- package/dist/{event-streams-DE7Y6VJA.js → chunk-MA7PMBAQ.js} +31 -31
- package/dist/{chunk-TX2W2TDD.js → chunk-MSJ5HF3C.js} +3 -3
- package/dist/{chunk-VMIDDBSU.js → chunk-MXXWLVUQ.js} +3 -3
- package/dist/{chunk-5LXQQ3B5.js → chunk-OMUGJ6MM.js} +62 -61
- package/dist/{chunk-CQRTVM3R.js → chunk-RAMGCJ3D.js} +38 -35
- package/dist/{chunk-G4JLV4D2.js → chunk-TPHCE6EK.js} +44 -45
- package/dist/chunk-VFPIXPQD.js +126 -0
- package/dist/{chunk-5UNSW2YQ.js → chunk-VV5N6AER.js} +2 -2
- package/dist/{chunk-3HURSQNH.js → chunk-WXYQJAMD.js} +2 -2
- package/dist/{chunk-TEVXZRMI.js → chunk-WZJD24FL.js} +81 -70
- package/dist/{dist-es-64SQQSB2.js → dist-es-3EVRA57P.js} +8 -8
- package/dist/{dist-es-SM3XZOJI.js → dist-es-6NUJXRYS.js} +10 -10
- package/dist/{dist-es-WKOKSFRW.js → dist-es-A6GXGSOI.js} +8 -8
- package/dist/{dist-es-HOKTEA4H.js → dist-es-BNVRZPYQ.js} +22 -22
- package/dist/{dist-es-KLJ57YTV.js → dist-es-FBYK33UR.js} +2 -2
- package/dist/{dist-es-GCJ2YN2W.js → dist-es-JD3OKSCB.js} +13 -14
- package/dist/{dist-es-RSHHKZQR.js → dist-es-O2QZUQ4K.js} +224 -222
- package/dist/{dist-es-IBDQOMV4.js → dist-es-XSLSUFFE.js} +24 -31
- package/dist/{dist-es-I5PEXU6M.js → dist-es-YYRJPI37.js} +5 -5
- package/dist/{dist-es-EYJKNFZZ.js → dist-es-ZZIU2OSM.js} +9 -9
- package/dist/{event-streams-DO25HTN4.js → event-streams-5YVZPWZL.js} +3 -2
- package/dist/index.js +17 -17
- package/dist/{loadSso-RBMT5EPI.js → loadSso-HQ4CEKJL.js} +63 -67
- package/dist/{signin-S7FYOH5Y.js → signin-EGXTPMOE.js} +67 -71
- package/dist/{sso-oidc-YVLODDDB.js → sso-oidc-XLG4JOZS.js} +66 -70
- package/dist/{sts-R6CUYWGQ.js → sts-643ZZLFZ.js} +71 -75
- package/dist/{tool-loader-ZRVSMB4T.js → tool-loader-BOX7F5OA.js} +2 -2
- package/dist/{tool-registry-FLO7V4FK.js → tool-registry-X2BVIZJS.js} +1 -1
- package/package.json +12 -12
- package/dist/chunk-G542PEOG.js +0 -215
- package/dist/chunk-JKTTCUZ3.js +0 -653
- package/dist/chunk-M4T7TRRC.js +0 -2461
- package/dist/chunk-MEKWGOS5.js +0 -76
- package/dist/chunk-NMIRIGDS.js +0 -1445
- package/dist/chunk-SUBMQE2G.js +0 -1280
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
SelectorType,
|
|
4
4
|
booleanSelector,
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZJD24FL.js";
|
|
7
7
|
import {
|
|
8
8
|
AlgorithmId,
|
|
9
9
|
EndpointURLScheme,
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
isValidHostLabel,
|
|
15
15
|
normalizeProvider,
|
|
16
16
|
toEndpointV1
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7MWCEBXG.js";
|
|
18
18
|
|
|
19
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
19
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
20
20
|
var getAllAliases = (name, aliases) => {
|
|
21
21
|
const _aliases = [];
|
|
22
22
|
if (name) {
|
|
@@ -285,7 +285,7 @@ var priorityWeights = {
|
|
|
285
285
|
low: 1
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
288
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
|
|
289
289
|
var Client = class {
|
|
290
290
|
config;
|
|
291
291
|
middlewareStack = constructStack();
|
|
@@ -333,7 +333,7 @@ var Client = class {
|
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
|
|
336
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
336
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
|
|
337
337
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
338
338
|
function schemaLogFilter(schema, data) {
|
|
339
339
|
if (data == null) {
|
|
@@ -372,7 +372,7 @@ function schemaLogFilter(schema, data) {
|
|
|
372
372
|
return data;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
375
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
|
|
376
376
|
var operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
|
|
377
377
|
var Command = class {
|
|
378
378
|
middlewareStack = constructStack();
|
|
@@ -398,7 +398,8 @@ var Command = class {
|
|
|
398
398
|
...additionalSmithyContext,
|
|
399
399
|
commandInstance: this,
|
|
400
400
|
...smithyContext,
|
|
401
|
-
...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder }
|
|
401
|
+
...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder },
|
|
402
|
+
...options?.abortSignal === void 0 ? {} : { abortSignal: options.abortSignal }
|
|
402
403
|
}
|
|
403
404
|
};
|
|
404
405
|
const { requestHandler } = configuration;
|
|
@@ -522,7 +523,7 @@ var ClassBuilder = class {
|
|
|
522
523
|
}
|
|
523
524
|
};
|
|
524
525
|
|
|
525
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
526
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
|
|
526
527
|
var getCircularReplacer = () => {
|
|
527
528
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
528
529
|
return (key, value) => {
|
|
@@ -536,12 +537,12 @@ var getCircularReplacer = () => {
|
|
|
536
537
|
};
|
|
537
538
|
};
|
|
538
539
|
|
|
539
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
540
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
|
|
540
541
|
var sleep = (seconds) => {
|
|
541
542
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1e3));
|
|
542
543
|
};
|
|
543
544
|
|
|
544
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
545
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
|
|
545
546
|
var waiterServiceDefaults = {
|
|
546
547
|
minDelay: 2,
|
|
547
548
|
maxDelay: 120
|
|
@@ -575,7 +576,7 @@ var checkExceptions = (result) => {
|
|
|
575
576
|
return result;
|
|
576
577
|
};
|
|
577
578
|
|
|
578
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
579
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
|
|
579
580
|
var runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => {
|
|
580
581
|
const observedResponses = {};
|
|
581
582
|
const [minDelayMs, maxDelayMs] = [minDelay * 1e3, maxDelay * 1e3];
|
|
@@ -659,7 +660,7 @@ var exponentialBackoffWithJitter = (minDelayMs, maxDelayMs, attempt, waitUntil)
|
|
|
659
660
|
};
|
|
660
661
|
var randomInRange = (min, max) => min + Math.random() * (max - min);
|
|
661
662
|
|
|
662
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
663
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
|
|
663
664
|
var validateWaiterOptions = (options) => {
|
|
664
665
|
if (options.maxWaitTime <= 0) {
|
|
665
666
|
throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
|
|
@@ -674,7 +675,7 @@ var validateWaiterOptions = (options) => {
|
|
|
674
675
|
}
|
|
675
676
|
};
|
|
676
677
|
|
|
677
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
678
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
|
|
678
679
|
var abortTimeout = (abortSignal) => {
|
|
679
680
|
let onAbort;
|
|
680
681
|
const promise = new Promise((resolve) => {
|
|
@@ -720,7 +721,7 @@ var createWaiter = async (options, input, acceptorChecks) => {
|
|
|
720
721
|
});
|
|
721
722
|
};
|
|
722
723
|
|
|
723
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
724
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
|
|
724
725
|
var createAggregatedClient = (commands, Client2, options) => {
|
|
725
726
|
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
726
727
|
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
@@ -768,7 +769,7 @@ var createAggregatedClient = (commands, Client2, options) => {
|
|
|
768
769
|
}
|
|
769
770
|
};
|
|
770
771
|
|
|
771
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
772
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
|
|
772
773
|
var ServiceException = class _ServiceException extends Error {
|
|
773
774
|
static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
|
|
774
775
|
$fault;
|
|
@@ -850,7 +851,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
850
851
|
return exception;
|
|
851
852
|
};
|
|
852
853
|
|
|
853
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
854
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
|
|
854
855
|
var loadConfigsForDefaultMode = (mode) => {
|
|
855
856
|
switch (mode) {
|
|
856
857
|
case "standard":
|
|
@@ -878,7 +879,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
878
879
|
}
|
|
879
880
|
};
|
|
880
881
|
|
|
881
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
882
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
|
|
882
883
|
var warningEmitted = false;
|
|
883
884
|
var emitWarningIfUnsupportedVersion = (version) => {
|
|
884
885
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
@@ -886,7 +887,7 @@ var emitWarningIfUnsupportedVersion = (version) => {
|
|
|
886
887
|
}
|
|
887
888
|
};
|
|
888
889
|
|
|
889
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
890
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
|
|
890
891
|
var knownAlgorithms = Object.values(AlgorithmId);
|
|
891
892
|
var getChecksumConfiguration = (runtimeConfig) => {
|
|
892
893
|
const checksumAlgorithms = [];
|
|
@@ -937,7 +938,7 @@ var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
|
937
938
|
return runtimeConfig;
|
|
938
939
|
};
|
|
939
940
|
|
|
940
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
941
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
|
|
941
942
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
942
943
|
return {
|
|
943
944
|
setRetryStrategy(retryStrategy) {
|
|
@@ -954,7 +955,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
954
955
|
return runtimeConfig;
|
|
955
956
|
};
|
|
956
957
|
|
|
957
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
958
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
|
|
958
959
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
959
960
|
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
960
961
|
};
|
|
@@ -962,7 +963,7 @@ var resolveDefaultRuntimeConfig = (config) => {
|
|
|
962
963
|
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
963
964
|
};
|
|
964
965
|
|
|
965
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
966
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js
|
|
966
967
|
var getValueFromTextNode = (obj) => {
|
|
967
968
|
const textNodeName = "#text";
|
|
968
969
|
for (const key in obj) {
|
|
@@ -978,7 +979,7 @@ var getValueFromTextNode = (obj) => {
|
|
|
978
979
|
return obj;
|
|
979
980
|
};
|
|
980
981
|
|
|
981
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
982
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
|
|
982
983
|
var NoOpLogger = class {
|
|
983
984
|
trace() {
|
|
984
985
|
}
|
|
@@ -992,7 +993,7 @@ var NoOpLogger = class {
|
|
|
992
993
|
}
|
|
993
994
|
};
|
|
994
995
|
|
|
995
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
996
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
|
|
996
997
|
function makeBuilder(common, service, name, ep) {
|
|
997
998
|
return function makeCommand(added, plugins, op, $, smithyContext = {}) {
|
|
998
999
|
const epMerged = Object.assign({}, common, added);
|
|
@@ -1004,7 +1005,7 @@ function makeBuilder(common, service, name, ep) {
|
|
|
1004
1005
|
};
|
|
1005
1006
|
}
|
|
1006
1007
|
|
|
1007
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1008
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
|
|
1008
1009
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
1009
1010
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
1010
1011
|
var getEndpointUrlConfig = (serviceId) => ({
|
|
@@ -1042,7 +1043,7 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
1042
1043
|
default: void 0
|
|
1043
1044
|
});
|
|
1044
1045
|
|
|
1045
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1046
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
1046
1047
|
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
1047
1048
|
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
1048
1049
|
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
@@ -1051,7 +1052,7 @@ var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
|
1051
1052
|
default: false
|
|
1052
1053
|
};
|
|
1053
1054
|
|
|
1054
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1055
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
1055
1056
|
var getEndpointFromConfig = async (serviceId) => {
|
|
1056
1057
|
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
1057
1058
|
if (ignore) {
|
|
@@ -1060,7 +1061,7 @@ var getEndpointFromConfig = async (serviceId) => {
|
|
|
1060
1061
|
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
1061
1062
|
};
|
|
1062
1063
|
|
|
1063
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1064
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
1064
1065
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
1065
1066
|
const bucket = endpointParams?.Bucket || "";
|
|
1066
1067
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -1093,7 +1094,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
1093
1094
|
return isValidArn;
|
|
1094
1095
|
};
|
|
1095
1096
|
|
|
1096
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1097
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
|
|
1097
1098
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
|
|
1098
1099
|
const configProvider = async () => {
|
|
1099
1100
|
let configValue;
|
|
@@ -1144,7 +1145,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1144
1145
|
return configProvider;
|
|
1145
1146
|
};
|
|
1146
1147
|
|
|
1147
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1148
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1148
1149
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1149
1150
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1150
1151
|
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
@@ -1208,7 +1209,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
1208
1209
|
return endpointParams;
|
|
1209
1210
|
};
|
|
1210
1211
|
|
|
1211
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1212
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
|
|
1212
1213
|
function setFeature(context, feature, value) {
|
|
1213
1214
|
if (!context.__smithy_context) {
|
|
1214
1215
|
context.__smithy_context = { features: {} };
|
|
@@ -1254,7 +1255,7 @@ function bindEndpointMiddleware(getEndpointFromConfig2) {
|
|
|
1254
1255
|
};
|
|
1255
1256
|
}
|
|
1256
1257
|
|
|
1257
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1258
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
|
|
1258
1259
|
var serializerMiddlewareOption = {
|
|
1259
1260
|
name: "serializerMiddleware",
|
|
1260
1261
|
step: "serialize",
|
|
@@ -1281,7 +1282,7 @@ function bindGetEndpointPlugin(getEndpointFromConfig2) {
|
|
|
1281
1282
|
});
|
|
1282
1283
|
}
|
|
1283
1284
|
|
|
1284
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1285
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
|
|
1285
1286
|
function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
1286
1287
|
return (input) => {
|
|
1287
1288
|
const tls = input.tls ?? true;
|
|
@@ -1307,7 +1308,7 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1307
1308
|
};
|
|
1308
1309
|
}
|
|
1309
1310
|
|
|
1310
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1311
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
|
|
1311
1312
|
var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
1312
1313
|
nodes;
|
|
1313
1314
|
root;
|
|
@@ -1324,7 +1325,7 @@ var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
|
1324
1325
|
}
|
|
1325
1326
|
};
|
|
1326
1327
|
|
|
1327
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1328
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
|
|
1328
1329
|
var EndpointCache = class {
|
|
1329
1330
|
capacity;
|
|
1330
1331
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1377,7 +1378,7 @@ var EndpointCache = class {
|
|
|
1377
1378
|
}
|
|
1378
1379
|
};
|
|
1379
1380
|
|
|
1380
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1381
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
|
|
1381
1382
|
var EndpointError = class extends Error {
|
|
1382
1383
|
constructor(message) {
|
|
1383
1384
|
super(message);
|
|
@@ -1385,10 +1386,10 @@ var EndpointError = class extends Error {
|
|
|
1385
1386
|
}
|
|
1386
1387
|
};
|
|
1387
1388
|
|
|
1388
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1389
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
|
|
1389
1390
|
var debugId = "endpoints";
|
|
1390
1391
|
|
|
1391
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1392
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
|
|
1392
1393
|
function toDebugString(input) {
|
|
1393
1394
|
if (typeof input !== "object" || input == null) {
|
|
1394
1395
|
return input;
|
|
@@ -1402,13 +1403,13 @@ function toDebugString(input) {
|
|
|
1402
1403
|
return JSON.stringify(input, null, 2);
|
|
1403
1404
|
}
|
|
1404
1405
|
|
|
1405
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1406
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
|
|
1406
1407
|
var customEndpointFunctions = {};
|
|
1407
1408
|
|
|
1408
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1409
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
|
|
1409
1410
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
1410
1411
|
|
|
1411
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1412
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
|
|
1412
1413
|
function coalesce(...args) {
|
|
1413
1414
|
for (const arg of args) {
|
|
1414
1415
|
if (arg != null) {
|
|
@@ -1418,7 +1419,7 @@ function coalesce(...args) {
|
|
|
1418
1419
|
return void 0;
|
|
1419
1420
|
}
|
|
1420
1421
|
|
|
1421
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1422
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
|
|
1422
1423
|
var getAttrPathList = (path) => {
|
|
1423
1424
|
const parts = path.split(".");
|
|
1424
1425
|
const pathList = [];
|
|
@@ -1443,7 +1444,7 @@ var getAttrPathList = (path) => {
|
|
|
1443
1444
|
return pathList;
|
|
1444
1445
|
};
|
|
1445
1446
|
|
|
1446
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1447
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
|
|
1447
1448
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
1448
1449
|
if (typeof acc !== "object") {
|
|
1449
1450
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -1454,22 +1455,22 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
1454
1455
|
return acc[index];
|
|
1455
1456
|
}, value);
|
|
1456
1457
|
|
|
1457
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1458
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
|
|
1458
1459
|
var isSet = (value) => value != null;
|
|
1459
1460
|
|
|
1460
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1461
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
|
|
1461
1462
|
function ite(condition, trueValue, falseValue) {
|
|
1462
1463
|
return condition ? trueValue : falseValue;
|
|
1463
1464
|
}
|
|
1464
1465
|
|
|
1465
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1466
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
|
|
1466
1467
|
var not = (value) => !value;
|
|
1467
1468
|
|
|
1468
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1469
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
|
|
1469
1470
|
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}$`);
|
|
1470
1471
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
1471
1472
|
|
|
1472
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1473
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
|
|
1473
1474
|
var DEFAULT_PORTS = {
|
|
1474
1475
|
[EndpointURLScheme.HTTP]: 80,
|
|
1475
1476
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -1516,7 +1517,7 @@ var parseURL = (value) => {
|
|
|
1516
1517
|
};
|
|
1517
1518
|
};
|
|
1518
1519
|
|
|
1519
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1520
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
|
|
1520
1521
|
function split(value, delimiter, limit) {
|
|
1521
1522
|
if (limit === 1) {
|
|
1522
1523
|
return [value];
|
|
@@ -1531,10 +1532,10 @@ function split(value, delimiter, limit) {
|
|
|
1531
1532
|
return parts.slice(0, limit - 1).concat(parts.slice(1).join(delimiter));
|
|
1532
1533
|
}
|
|
1533
1534
|
|
|
1534
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1535
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
|
|
1535
1536
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
1536
1537
|
|
|
1537
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1538
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
|
|
1538
1539
|
var substring = (input, start, stop, reverse) => {
|
|
1539
1540
|
if (input == null || start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
|
|
1540
1541
|
return null;
|
|
@@ -1545,10 +1546,10 @@ var substring = (input, start, stop, reverse) => {
|
|
|
1545
1546
|
return input.substring(input.length - stop, input.length - start);
|
|
1546
1547
|
};
|
|
1547
1548
|
|
|
1548
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1549
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
|
|
1549
1550
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
1550
1551
|
|
|
1551
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1552
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
|
|
1552
1553
|
var endpointFunctions = {
|
|
1553
1554
|
booleanEquals,
|
|
1554
1555
|
coalesce,
|
|
@@ -1564,7 +1565,7 @@ var endpointFunctions = {
|
|
|
1564
1565
|
uriEncode
|
|
1565
1566
|
};
|
|
1566
1567
|
|
|
1567
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1568
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
|
|
1568
1569
|
var evaluateTemplate = (template, options) => {
|
|
1569
1570
|
const evaluatedTemplateArr = [];
|
|
1570
1571
|
const { referenceRecord, endpointParams } = options;
|
|
@@ -1597,12 +1598,12 @@ var evaluateTemplate = (template, options) => {
|
|
|
1597
1598
|
return evaluatedTemplateArr.join("");
|
|
1598
1599
|
};
|
|
1599
1600
|
|
|
1600
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1601
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
|
|
1601
1602
|
var getReferenceValue = ({ ref }, options) => {
|
|
1602
1603
|
return options.referenceRecord[ref] ?? options.endpointParams[ref];
|
|
1603
1604
|
};
|
|
1604
1605
|
|
|
1605
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1606
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
|
|
1606
1607
|
var evaluateExpression = (obj, keyName, options) => {
|
|
1607
1608
|
if (typeof obj === "string") {
|
|
1608
1609
|
return evaluateTemplate(obj, options);
|
|
@@ -1642,7 +1643,7 @@ var group = {
|
|
|
1642
1643
|
callFunction
|
|
1643
1644
|
};
|
|
1644
1645
|
|
|
1645
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1646
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
|
|
1646
1647
|
var evaluateCondition = (condition, options) => {
|
|
1647
1648
|
const { assign } = condition;
|
|
1648
1649
|
if (assign && assign in options.referenceRecord) {
|
|
@@ -1657,7 +1658,7 @@ var evaluateCondition = (condition, options) => {
|
|
|
1657
1658
|
return { result };
|
|
1658
1659
|
};
|
|
1659
1660
|
|
|
1660
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1661
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
|
|
1661
1662
|
var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
|
|
1662
1663
|
acc[headerKey] = headerVal.map((headerValEntry) => {
|
|
1663
1664
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -1669,7 +1670,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).red
|
|
|
1669
1670
|
return acc;
|
|
1670
1671
|
}, {});
|
|
1671
1672
|
|
|
1672
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1673
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
|
|
1673
1674
|
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
1674
1675
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
1675
1676
|
return acc;
|
|
@@ -1697,7 +1698,7 @@ var group2 = {
|
|
|
1697
1698
|
getEndpointProperties
|
|
1698
1699
|
};
|
|
1699
1700
|
|
|
1700
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1701
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
|
|
1701
1702
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
1702
1703
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1703
1704
|
if (typeof expression === "string") {
|
|
@@ -1711,7 +1712,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
1711
1712
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1712
1713
|
};
|
|
1713
1714
|
|
|
1714
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1715
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
|
|
1715
1716
|
var RESULT = 1e8;
|
|
1716
1717
|
var decideEndpoint = (bdd, options) => {
|
|
1717
1718
|
const { nodes, root, results, conditions } = bdd;
|
|
@@ -1749,7 +1750,7 @@ var decideEndpoint = (bdd, options) => {
|
|
|
1749
1750
|
throw new EndpointError(`No matching endpoint.`);
|
|
1750
1751
|
};
|
|
1751
1752
|
|
|
1752
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1753
|
+
// ../../node_modules/.pnpm/@smithy+core@3.40.0/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
|
|
1753
1754
|
var getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
1754
1755
|
var resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
1755
1756
|
var endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|