@larkup/cli 0.3.11 → 0.3.14
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/api-T4HV5OFN.js +6936 -0
- package/dist/{chunk-QAJSSODU.js → chunk-CQ7NVYHT.js} +108 -68
- package/dist/{chunk-2IVYLF4F.js → chunk-CVBK47OT.js} +93 -69
- package/dist/{chunk-QKPH65NY.js → chunk-DE4VP425.js} +16 -16
- package/dist/{chunk-IPKRK5UI.js → chunk-FNZK42G6.js} +3 -3
- package/dist/{chunk-A2PXF6Y7.js → chunk-HBASLJRD.js} +25 -25
- package/dist/{chunk-7KURHXYU.js → chunk-HX45PZFR.js} +44 -44
- package/dist/{chunk-HQPSE5ZU.js → chunk-IJE2RPSN.js} +55 -55
- package/dist/{chunk-ZBGNJVTC.js → chunk-KA5D5NKN.js} +3 -3
- package/dist/{chunk-ERDDY5EQ.js → chunk-LCK6D6SK.js} +4 -4
- package/dist/{chunk-ZYHZIBTH.js → chunk-LREGQMME.js} +44 -36
- package/dist/{chunk-3GL3SZFJ.js → chunk-M5367BNN.js} +12 -40
- package/dist/{chunk-X46UIKQW.js → chunk-OFWLJSVC.js} +5 -5
- package/dist/{chunk-J2AR7L2Q.js → chunk-RJ2NIMTP.js} +2 -2
- package/dist/{chunk-RN25NOBI.js → chunk-V5MXHOEA.js} +3 -3
- package/dist/{chunk-TJPYJ5TS.js → chunk-WH6SGG26.js} +13 -13
- package/dist/chunk-WXRKGSWM.js +34 -0
- package/dist/{chunk-5RGEHTEF.js → chunk-XEB2OVD6.js} +45 -43
- package/dist/{chunk-5BX2UVG2.js → chunk-XFLXM5WU.js} +137 -95
- package/dist/{chunk-MACWQEJS.js → chunk-Z3C6M6AJ.js} +99 -107
- package/dist/{dist-es-YVYT5SVI.js → dist-es-2UI7ONZZ.js} +223 -220
- package/dist/{dist-es-DAE2AYZV.js → dist-es-5D5ADEYS.js} +21 -20
- package/dist/{dist-es-3L6W7F7P.js → dist-es-FI7PADBF.js} +6 -5
- package/dist/{dist-es-PQXH3VYE.js → dist-es-IAOJLUTI.js} +11 -10
- package/dist/{dist-es-6MPMKRLG.js → dist-es-KL7UCI6C.js} +23 -22
- package/dist/{dist-es-CVOBCRJ5.js → dist-es-MAY5SYH5.js} +11 -10
- package/dist/{dist-es-G4H4NZOY.js → dist-es-OED5OOKX.js} +9 -8
- package/dist/{dist-es-UWL5EGDP.js → dist-es-QQMKUAEQ.js} +3 -2
- package/dist/{dist-es-WEJJDMJW.js → dist-es-UJY2ZAAU.js} +10 -9
- package/dist/{dist-es-7LQAPSS6.js → dist-es-Y73OHM5Y.js} +9 -8
- package/dist/{event-streams-RZ2JU5EF.js → event-streams-IXBDR476.js} +3 -2
- package/dist/{event-streams-NVY5IGD3.js → event-streams-JRBKH3UT.js} +19 -18
- package/dist/index.js +17 -17
- package/dist/{lexer-DQCqS3nf-CGRGK47I.js → lexer-CanA6ArK-VIUEPQRT.js} +4 -4
- package/dist/{loadSso-DEHYSFO4.js → loadSso-S4KING47.js} +29 -28
- package/dist/{signin-CTAMN4QW.js → signin-ALRQUKQQ.js} +32 -31
- package/dist/{sso-oidc-ZYLSPNAE.js → sso-oidc-D3TLLZUS.js} +31 -30
- package/dist/{sts-EQDDSBAR.js → sts-PHP2EVI2.js} +45 -41
- package/dist/{tool-loader-JRRAAYTQ.js → tool-loader-K6PLXSLW.js} +2 -2
- package/dist/{tool-registry-WZ2RDXVS.js → tool-registry-G35SY4WN.js} +1 -1
- package/package.json +10 -10
- package/dist/api-X4PHQJTH.js +0 -6943
|
@@ -3,20 +3,22 @@ import {
|
|
|
3
3
|
SelectorType,
|
|
4
4
|
booleanSelector,
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CQ7NVYHT.js";
|
|
7
7
|
import {
|
|
8
|
-
AlgorithmId,
|
|
9
|
-
EndpointURLScheme,
|
|
10
8
|
NormalizedSchema,
|
|
11
|
-
SMITHY_CONTEXT_KEY,
|
|
12
9
|
getSmithyContext,
|
|
13
10
|
hasOwn,
|
|
14
11
|
isValidHostLabel,
|
|
15
12
|
normalizeProvider,
|
|
16
13
|
toEndpointV1
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z3C6M6AJ.js";
|
|
15
|
+
import {
|
|
16
|
+
AlgorithmId,
|
|
17
|
+
EndpointURLScheme,
|
|
18
|
+
SMITHY_CONTEXT_KEY
|
|
19
|
+
} from "./chunk-WXRKGSWM.js";
|
|
18
20
|
|
|
19
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
21
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
20
22
|
var getAllAliases = (name, aliases) => {
|
|
21
23
|
const _aliases = [];
|
|
22
24
|
if (name) {
|
|
@@ -281,7 +283,7 @@ var priorityWeights = {
|
|
|
281
283
|
low: 1
|
|
282
284
|
};
|
|
283
285
|
|
|
284
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
286
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
|
|
285
287
|
var Client = class {
|
|
286
288
|
config;
|
|
287
289
|
middlewareStack = constructStack();
|
|
@@ -329,7 +331,7 @@ var Client = class {
|
|
|
329
331
|
}
|
|
330
332
|
};
|
|
331
333
|
|
|
332
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
334
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
|
|
333
335
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
334
336
|
function schemaLogFilter(schema, data) {
|
|
335
337
|
if (data == null) {
|
|
@@ -362,7 +364,7 @@ function schemaLogFilter(schema, data) {
|
|
|
362
364
|
return data;
|
|
363
365
|
}
|
|
364
366
|
|
|
365
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
367
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
|
|
366
368
|
var Command = class {
|
|
367
369
|
middlewareStack = constructStack();
|
|
368
370
|
schema;
|
|
@@ -375,20 +377,27 @@ var Command = class {
|
|
|
375
377
|
}
|
|
376
378
|
const stack = clientStack.concat(this.middlewareStack);
|
|
377
379
|
const { logger } = configuration;
|
|
380
|
+
const additionalSmithyContext = additionalContext[SMITHY_CONTEXT_KEY];
|
|
378
381
|
const handlerExecutionContext = {
|
|
379
382
|
logger,
|
|
380
383
|
clientName,
|
|
381
384
|
commandName,
|
|
382
385
|
inputFilterSensitiveLog,
|
|
383
386
|
outputFilterSensitiveLog,
|
|
387
|
+
...additionalContext,
|
|
384
388
|
[SMITHY_CONTEXT_KEY]: {
|
|
389
|
+
...additionalSmithyContext,
|
|
385
390
|
commandInstance: this,
|
|
386
|
-
...smithyContext
|
|
387
|
-
|
|
388
|
-
|
|
391
|
+
...smithyContext,
|
|
392
|
+
...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder }
|
|
393
|
+
}
|
|
389
394
|
};
|
|
390
395
|
const { requestHandler } = configuration;
|
|
391
396
|
let requestOptions = options ?? {};
|
|
397
|
+
if (requestOptions.metricsRecorder) {
|
|
398
|
+
requestOptions = { ...requestOptions };
|
|
399
|
+
delete requestOptions.metricsRecorder;
|
|
400
|
+
}
|
|
392
401
|
if (smithyContext.eventStream) {
|
|
393
402
|
requestOptions = {
|
|
394
403
|
isEventStream: true,
|
|
@@ -493,7 +502,7 @@ var ClassBuilder = class {
|
|
|
493
502
|
}
|
|
494
503
|
};
|
|
495
504
|
|
|
496
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
505
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
|
|
497
506
|
var getCircularReplacer = () => {
|
|
498
507
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
499
508
|
return (key, value) => {
|
|
@@ -507,12 +516,12 @@ var getCircularReplacer = () => {
|
|
|
507
516
|
};
|
|
508
517
|
};
|
|
509
518
|
|
|
510
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
519
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
|
|
511
520
|
var sleep = (seconds) => {
|
|
512
521
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1e3));
|
|
513
522
|
};
|
|
514
523
|
|
|
515
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
524
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
|
|
516
525
|
var waiterServiceDefaults = {
|
|
517
526
|
minDelay: 2,
|
|
518
527
|
maxDelay: 120
|
|
@@ -546,7 +555,7 @@ var checkExceptions = (result) => {
|
|
|
546
555
|
return result;
|
|
547
556
|
};
|
|
548
557
|
|
|
549
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
558
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
|
|
550
559
|
var runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => {
|
|
551
560
|
const observedResponses = {};
|
|
552
561
|
const [minDelayMs, maxDelayMs] = [minDelay * 1e3, maxDelay * 1e3];
|
|
@@ -630,7 +639,7 @@ var exponentialBackoffWithJitter = (minDelayMs, maxDelayMs, attempt, waitUntil)
|
|
|
630
639
|
};
|
|
631
640
|
var randomInRange = (min, max) => min + Math.random() * (max - min);
|
|
632
641
|
|
|
633
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
642
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
|
|
634
643
|
var validateWaiterOptions = (options) => {
|
|
635
644
|
if (options.maxWaitTime <= 0) {
|
|
636
645
|
throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
|
|
@@ -645,7 +654,7 @@ var validateWaiterOptions = (options) => {
|
|
|
645
654
|
}
|
|
646
655
|
};
|
|
647
656
|
|
|
648
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
657
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
|
|
649
658
|
var abortTimeout = (abortSignal) => {
|
|
650
659
|
let onAbort;
|
|
651
660
|
const promise = new Promise((resolve) => {
|
|
@@ -691,7 +700,7 @@ var createWaiter = async (options, input, acceptorChecks) => {
|
|
|
691
700
|
});
|
|
692
701
|
};
|
|
693
702
|
|
|
694
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
703
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
|
|
695
704
|
var createAggregatedClient = (commands, Client2, options) => {
|
|
696
705
|
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
697
706
|
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
@@ -738,7 +747,7 @@ var createAggregatedClient = (commands, Client2, options) => {
|
|
|
738
747
|
}
|
|
739
748
|
};
|
|
740
749
|
|
|
741
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
750
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
|
|
742
751
|
var ServiceException = class _ServiceException extends Error {
|
|
743
752
|
$fault;
|
|
744
753
|
$response;
|
|
@@ -765,10 +774,25 @@ var ServiceException = class _ServiceException extends Error {
|
|
|
765
774
|
return _ServiceException.isInstance(instance);
|
|
766
775
|
}
|
|
767
776
|
if (_ServiceException.isInstance(instance)) {
|
|
768
|
-
if (
|
|
769
|
-
return
|
|
777
|
+
if (this.prototype.isPrototypeOf(instance)) {
|
|
778
|
+
return true;
|
|
770
779
|
}
|
|
771
|
-
|
|
780
|
+
const targetName = this.name;
|
|
781
|
+
if (!targetName || !candidate.name) {
|
|
782
|
+
return false;
|
|
783
|
+
}
|
|
784
|
+
if (candidate.name === targetName) {
|
|
785
|
+
return true;
|
|
786
|
+
}
|
|
787
|
+
let proto = Object.getPrototypeOf(candidate);
|
|
788
|
+
while (proto && proto !== Object.prototype) {
|
|
789
|
+
const ctorName = proto.constructor?.name;
|
|
790
|
+
if (ctorName && ctorName !== "Error" && ctorName === targetName) {
|
|
791
|
+
return true;
|
|
792
|
+
}
|
|
793
|
+
proto = Object.getPrototypeOf(proto);
|
|
794
|
+
}
|
|
795
|
+
return false;
|
|
772
796
|
}
|
|
773
797
|
return false;
|
|
774
798
|
}
|
|
@@ -785,7 +809,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
785
809
|
return exception;
|
|
786
810
|
};
|
|
787
811
|
|
|
788
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
812
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
|
|
789
813
|
var loadConfigsForDefaultMode = (mode) => {
|
|
790
814
|
switch (mode) {
|
|
791
815
|
case "standard":
|
|
@@ -813,7 +837,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
813
837
|
}
|
|
814
838
|
};
|
|
815
839
|
|
|
816
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
840
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
|
|
817
841
|
var warningEmitted = false;
|
|
818
842
|
var emitWarningIfUnsupportedVersion = (version) => {
|
|
819
843
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
@@ -821,7 +845,7 @@ var emitWarningIfUnsupportedVersion = (version) => {
|
|
|
821
845
|
}
|
|
822
846
|
};
|
|
823
847
|
|
|
824
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
848
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
|
|
825
849
|
var knownAlgorithms = Object.values(AlgorithmId);
|
|
826
850
|
var getChecksumConfiguration = (runtimeConfig) => {
|
|
827
851
|
const checksumAlgorithms = [];
|
|
@@ -871,7 +895,7 @@ var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
|
871
895
|
return runtimeConfig;
|
|
872
896
|
};
|
|
873
897
|
|
|
874
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
898
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
|
|
875
899
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
876
900
|
return {
|
|
877
901
|
setRetryStrategy(retryStrategy) {
|
|
@@ -888,7 +912,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
888
912
|
return runtimeConfig;
|
|
889
913
|
};
|
|
890
914
|
|
|
891
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
915
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
|
|
892
916
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
893
917
|
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
894
918
|
};
|
|
@@ -896,7 +920,7 @@ var resolveDefaultRuntimeConfig = (config) => {
|
|
|
896
920
|
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
897
921
|
};
|
|
898
922
|
|
|
899
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
923
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js
|
|
900
924
|
var getValueFromTextNode = (obj) => {
|
|
901
925
|
const textNodeName = "#text";
|
|
902
926
|
for (const key in obj) {
|
|
@@ -911,7 +935,7 @@ var getValueFromTextNode = (obj) => {
|
|
|
911
935
|
return obj;
|
|
912
936
|
};
|
|
913
937
|
|
|
914
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
938
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
|
|
915
939
|
var NoOpLogger = class {
|
|
916
940
|
trace() {
|
|
917
941
|
}
|
|
@@ -925,7 +949,7 @@ var NoOpLogger = class {
|
|
|
925
949
|
}
|
|
926
950
|
};
|
|
927
951
|
|
|
928
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
952
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
|
|
929
953
|
function makeBuilder(common, service, name, ep) {
|
|
930
954
|
return function makeCommand(added, plugins, op, $, smithyContext = {}) {
|
|
931
955
|
const epMerged = Object.assign({}, common, added);
|
|
@@ -937,7 +961,7 @@ function makeBuilder(common, service, name, ep) {
|
|
|
937
961
|
};
|
|
938
962
|
}
|
|
939
963
|
|
|
940
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
964
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
|
|
941
965
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
942
966
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
943
967
|
var getEndpointUrlConfig = (serviceId) => ({
|
|
@@ -971,7 +995,7 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
971
995
|
default: void 0
|
|
972
996
|
});
|
|
973
997
|
|
|
974
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
998
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
975
999
|
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
976
1000
|
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
977
1001
|
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
@@ -980,7 +1004,7 @@ var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
|
980
1004
|
default: false
|
|
981
1005
|
};
|
|
982
1006
|
|
|
983
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1007
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
984
1008
|
var getEndpointFromConfig = async (serviceId) => {
|
|
985
1009
|
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
986
1010
|
if (ignore) {
|
|
@@ -989,7 +1013,7 @@ var getEndpointFromConfig = async (serviceId) => {
|
|
|
989
1013
|
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
990
1014
|
};
|
|
991
1015
|
|
|
992
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1016
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
993
1017
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
994
1018
|
const bucket = endpointParams?.Bucket || "";
|
|
995
1019
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -1022,7 +1046,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
1022
1046
|
return isValidArn;
|
|
1023
1047
|
};
|
|
1024
1048
|
|
|
1025
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1049
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
|
|
1026
1050
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
|
|
1027
1051
|
const configProvider = async () => {
|
|
1028
1052
|
let configValue;
|
|
@@ -1073,7 +1097,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1073
1097
|
return configProvider;
|
|
1074
1098
|
};
|
|
1075
1099
|
|
|
1076
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1100
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1077
1101
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1078
1102
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1079
1103
|
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
@@ -1137,7 +1161,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
1137
1161
|
return endpointParams;
|
|
1138
1162
|
};
|
|
1139
1163
|
|
|
1140
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1164
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
|
|
1141
1165
|
function setFeature(context, feature, value) {
|
|
1142
1166
|
if (!context.__smithy_context) {
|
|
1143
1167
|
context.__smithy_context = { features: {} };
|
|
@@ -1183,7 +1207,7 @@ function bindEndpointMiddleware(getEndpointFromConfig2) {
|
|
|
1183
1207
|
};
|
|
1184
1208
|
}
|
|
1185
1209
|
|
|
1186
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1210
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
|
|
1187
1211
|
var serializerMiddlewareOption = {
|
|
1188
1212
|
name: "serializerMiddleware",
|
|
1189
1213
|
step: "serialize",
|
|
@@ -1210,7 +1234,7 @@ function bindGetEndpointPlugin(getEndpointFromConfig2) {
|
|
|
1210
1234
|
});
|
|
1211
1235
|
}
|
|
1212
1236
|
|
|
1213
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1237
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
|
|
1214
1238
|
function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
1215
1239
|
return (input) => {
|
|
1216
1240
|
const tls = input.tls ?? true;
|
|
@@ -1236,7 +1260,7 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1236
1260
|
};
|
|
1237
1261
|
}
|
|
1238
1262
|
|
|
1239
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1263
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
|
|
1240
1264
|
var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
1241
1265
|
nodes;
|
|
1242
1266
|
root;
|
|
@@ -1253,7 +1277,7 @@ var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
|
1253
1277
|
}
|
|
1254
1278
|
};
|
|
1255
1279
|
|
|
1256
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1280
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
|
|
1257
1281
|
var EndpointCache = class {
|
|
1258
1282
|
capacity;
|
|
1259
1283
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1305,7 +1329,7 @@ var EndpointCache = class {
|
|
|
1305
1329
|
}
|
|
1306
1330
|
};
|
|
1307
1331
|
|
|
1308
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1332
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
|
|
1309
1333
|
var EndpointError = class extends Error {
|
|
1310
1334
|
constructor(message) {
|
|
1311
1335
|
super(message);
|
|
@@ -1313,10 +1337,10 @@ var EndpointError = class extends Error {
|
|
|
1313
1337
|
}
|
|
1314
1338
|
};
|
|
1315
1339
|
|
|
1316
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1340
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
|
|
1317
1341
|
var debugId = "endpoints";
|
|
1318
1342
|
|
|
1319
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1343
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
|
|
1320
1344
|
function toDebugString(input) {
|
|
1321
1345
|
if (typeof input !== "object" || input == null) {
|
|
1322
1346
|
return input;
|
|
@@ -1330,13 +1354,13 @@ function toDebugString(input) {
|
|
|
1330
1354
|
return JSON.stringify(input, null, 2);
|
|
1331
1355
|
}
|
|
1332
1356
|
|
|
1333
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1357
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
|
|
1334
1358
|
var customEndpointFunctions = {};
|
|
1335
1359
|
|
|
1336
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1360
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
|
|
1337
1361
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
1338
1362
|
|
|
1339
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1363
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
|
|
1340
1364
|
function coalesce(...args) {
|
|
1341
1365
|
for (const arg of args) {
|
|
1342
1366
|
if (arg != null) {
|
|
@@ -1346,7 +1370,7 @@ function coalesce(...args) {
|
|
|
1346
1370
|
return void 0;
|
|
1347
1371
|
}
|
|
1348
1372
|
|
|
1349
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1373
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
|
|
1350
1374
|
var getAttrPathList = (path) => {
|
|
1351
1375
|
const parts = path.split(".");
|
|
1352
1376
|
const pathList = [];
|
|
@@ -1371,7 +1395,7 @@ var getAttrPathList = (path) => {
|
|
|
1371
1395
|
return pathList;
|
|
1372
1396
|
};
|
|
1373
1397
|
|
|
1374
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1398
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
|
|
1375
1399
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
1376
1400
|
if (typeof acc !== "object") {
|
|
1377
1401
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -1382,22 +1406,22 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
1382
1406
|
return acc[index];
|
|
1383
1407
|
}, value);
|
|
1384
1408
|
|
|
1385
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1409
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
|
|
1386
1410
|
var isSet = (value) => value != null;
|
|
1387
1411
|
|
|
1388
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1412
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
|
|
1389
1413
|
function ite(condition, trueValue, falseValue) {
|
|
1390
1414
|
return condition ? trueValue : falseValue;
|
|
1391
1415
|
}
|
|
1392
1416
|
|
|
1393
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1417
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
|
|
1394
1418
|
var not = (value) => !value;
|
|
1395
1419
|
|
|
1396
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1420
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
|
|
1397
1421
|
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}$`);
|
|
1398
1422
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
1399
1423
|
|
|
1400
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1424
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
|
|
1401
1425
|
var DEFAULT_PORTS = {
|
|
1402
1426
|
[EndpointURLScheme.HTTP]: 80,
|
|
1403
1427
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -1444,7 +1468,7 @@ var parseURL = (value) => {
|
|
|
1444
1468
|
};
|
|
1445
1469
|
};
|
|
1446
1470
|
|
|
1447
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1471
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
|
|
1448
1472
|
function split(value, delimiter, limit) {
|
|
1449
1473
|
if (limit === 1) {
|
|
1450
1474
|
return [value];
|
|
@@ -1459,10 +1483,10 @@ function split(value, delimiter, limit) {
|
|
|
1459
1483
|
return parts.slice(0, limit - 1).concat(parts.slice(1).join(delimiter));
|
|
1460
1484
|
}
|
|
1461
1485
|
|
|
1462
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1486
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
|
|
1463
1487
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
1464
1488
|
|
|
1465
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1489
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
|
|
1466
1490
|
var substring = (input, start, stop, reverse) => {
|
|
1467
1491
|
if (input == null || start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
|
|
1468
1492
|
return null;
|
|
@@ -1473,10 +1497,10 @@ var substring = (input, start, stop, reverse) => {
|
|
|
1473
1497
|
return input.substring(input.length - stop, input.length - start);
|
|
1474
1498
|
};
|
|
1475
1499
|
|
|
1476
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1500
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
|
|
1477
1501
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
1478
1502
|
|
|
1479
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1503
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
|
|
1480
1504
|
var endpointFunctions = {
|
|
1481
1505
|
booleanEquals,
|
|
1482
1506
|
coalesce,
|
|
@@ -1492,7 +1516,7 @@ var endpointFunctions = {
|
|
|
1492
1516
|
uriEncode
|
|
1493
1517
|
};
|
|
1494
1518
|
|
|
1495
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1519
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
|
|
1496
1520
|
var evaluateTemplate = (template, options) => {
|
|
1497
1521
|
const evaluatedTemplateArr = [];
|
|
1498
1522
|
const { referenceRecord, endpointParams } = options;
|
|
@@ -1525,12 +1549,12 @@ var evaluateTemplate = (template, options) => {
|
|
|
1525
1549
|
return evaluatedTemplateArr.join("");
|
|
1526
1550
|
};
|
|
1527
1551
|
|
|
1528
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1552
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
|
|
1529
1553
|
var getReferenceValue = ({ ref }, options) => {
|
|
1530
1554
|
return options.referenceRecord[ref] ?? options.endpointParams[ref];
|
|
1531
1555
|
};
|
|
1532
1556
|
|
|
1533
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1557
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
|
|
1534
1558
|
var evaluateExpression = (obj, keyName, options) => {
|
|
1535
1559
|
if (typeof obj === "string") {
|
|
1536
1560
|
return evaluateTemplate(obj, options);
|
|
@@ -1570,7 +1594,7 @@ var group = {
|
|
|
1570
1594
|
callFunction
|
|
1571
1595
|
};
|
|
1572
1596
|
|
|
1573
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1597
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
|
|
1574
1598
|
var evaluateCondition = (condition, options) => {
|
|
1575
1599
|
const { assign } = condition;
|
|
1576
1600
|
if (assign && assign in options.referenceRecord) {
|
|
@@ -1585,7 +1609,7 @@ var evaluateCondition = (condition, options) => {
|
|
|
1585
1609
|
return { result };
|
|
1586
1610
|
};
|
|
1587
1611
|
|
|
1588
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1612
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
|
|
1589
1613
|
var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
|
|
1590
1614
|
acc[headerKey] = headerVal.map((headerValEntry) => {
|
|
1591
1615
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -1597,7 +1621,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).red
|
|
|
1597
1621
|
return acc;
|
|
1598
1622
|
}, {});
|
|
1599
1623
|
|
|
1600
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1624
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
|
|
1601
1625
|
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
1602
1626
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
1603
1627
|
return acc;
|
|
@@ -1625,7 +1649,7 @@ var group2 = {
|
|
|
1625
1649
|
getEndpointProperties
|
|
1626
1650
|
};
|
|
1627
1651
|
|
|
1628
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1652
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
|
|
1629
1653
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
1630
1654
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1631
1655
|
if (typeof expression === "string") {
|
|
@@ -1639,7 +1663,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
1639
1663
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1640
1664
|
};
|
|
1641
1665
|
|
|
1642
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1666
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
|
|
1643
1667
|
var RESULT = 1e8;
|
|
1644
1668
|
var decideEndpoint = (bdd, options) => {
|
|
1645
1669
|
const { nodes, root, results, conditions } = bdd;
|
|
@@ -1677,7 +1701,7 @@ var decideEndpoint = (bdd, options) => {
|
|
|
1677
1701
|
throw new EndpointError(`No matching endpoint.`);
|
|
1678
1702
|
};
|
|
1679
1703
|
|
|
1680
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1704
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
|
|
1681
1705
|
var getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
1682
1706
|
var resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
1683
1707
|
var endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|