@larkup/cli 0.3.11 → 0.3.15
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-TJPYJ5TS.js → chunk-54YIZOXQ.js} +13 -13
- package/dist/{chunk-RN25NOBI.js → chunk-6HRBZ7QP.js} +3 -3
- package/dist/{chunk-HQPSE5ZU.js → chunk-6VBJAFWY.js} +63 -55
- package/dist/{chunk-QKPH65NY.js → chunk-CUA3FHFQ.js} +16 -16
- package/dist/{chunk-ERDDY5EQ.js → chunk-DTRGAEFR.js} +4 -4
- package/dist/{chunk-QAJSSODU.js → chunk-FMBWCTFV.js} +116 -67
- package/dist/chunk-GYXT77I3.js +515 -0
- package/dist/{chunk-MACWQEJS.js → chunk-HYYSI5FE.js} +103 -80
- package/dist/{chunk-X46UIKQW.js → chunk-OFWLJSVC.js} +5 -5
- package/dist/{event-streams-NVY5IGD3.js → chunk-PFTSXAZG.js} +31 -31
- package/dist/{chunk-J2AR7L2Q.js → chunk-RJ2NIMTP.js} +2 -2
- package/dist/chunk-TFGGCUFR.js +126 -0
- package/dist/{chunk-ZBGNJVTC.js → chunk-VZAREDRR.js} +3 -3
- package/dist/{chunk-2IVYLF4F.js → chunk-YOPP3ETL.js} +108 -67
- package/dist/{chunk-7KURHXYU.js → chunk-ZH2A3TFQ.js} +44 -44
- package/dist/{dist-es-YVYT5SVI.js → dist-es-3SVFRI6P.js} +250 -224
- package/dist/{dist-es-7LQAPSS6.js → dist-es-CM7567P2.js} +8 -8
- package/dist/{dist-es-WEJJDMJW.js → dist-es-DC3KLBPR.js} +9 -9
- package/dist/{dist-es-G4H4NZOY.js → dist-es-FEVR73CQ.js} +8 -8
- package/dist/{dist-es-DAE2AYZV.js → dist-es-IS5PH45I.js} +24 -31
- package/dist/{dist-es-6MPMKRLG.js → dist-es-KY7QTIEX.js} +22 -22
- package/dist/{dist-es-UWL5EGDP.js → dist-es-M6OXVHSI.js} +2 -2
- package/dist/{dist-es-CVOBCRJ5.js → dist-es-OB4H2RSG.js} +10 -10
- package/dist/{dist-es-PQXH3VYE.js → dist-es-PY4YS7TC.js} +9 -12
- package/dist/{dist-es-3L6W7F7P.js → dist-es-ZDCXFYRX.js} +5 -5
- package/dist/{event-streams-RZ2JU5EF.js → event-streams-KOWL2S4G.js} +3 -2
- package/dist/index.js +48 -28
- package/dist/{lexer-DQCqS3nf-CGRGK47I.js → lexer-CanA6ArK-VIUEPQRT.js} +4 -4
- package/dist/{loadSso-DEHYSFO4.js → loadSso-OLMNBQ4H.js} +69 -68
- package/dist/{signin-CTAMN4QW.js → signin-NBTUJ5KD.js} +73 -72
- package/dist/{sso-oidc-ZYLSPNAE.js → sso-oidc-WNK6HQX7.js} +79 -71
- package/dist/{sts-EQDDSBAR.js → sts-TGY2Y4DZ.js} +92 -85
- 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 +12 -12
- package/dist/api-X4PHQJTH.js +0 -6943
- package/dist/chunk-3GL3SZFJ.js +0 -212
- package/dist/chunk-5BX2UVG2.js +0 -2352
- package/dist/chunk-5RGEHTEF.js +0 -646
- package/dist/chunk-A2PXF6Y7.js +0 -1426
- package/dist/chunk-IPKRK5UI.js +0 -73
- package/dist/chunk-ZYHZIBTH.js +0 -1272
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
SelectorType,
|
|
4
4
|
booleanSelector,
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FMBWCTFV.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-HYYSI5FE.js";
|
|
18
18
|
|
|
19
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
19
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/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) {
|
|
@@ -281,7 +281,7 @@ var priorityWeights = {
|
|
|
281
281
|
low: 1
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
284
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
|
|
285
285
|
var Client = class {
|
|
286
286
|
config;
|
|
287
287
|
middlewareStack = constructStack();
|
|
@@ -329,7 +329,7 @@ var Client = class {
|
|
|
329
329
|
}
|
|
330
330
|
};
|
|
331
331
|
|
|
332
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
332
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
|
|
333
333
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
334
334
|
function schemaLogFilter(schema, data) {
|
|
335
335
|
if (data == null) {
|
|
@@ -362,7 +362,7 @@ function schemaLogFilter(schema, data) {
|
|
|
362
362
|
return data;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
365
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
|
|
366
366
|
var Command = class {
|
|
367
367
|
middlewareStack = constructStack();
|
|
368
368
|
schema;
|
|
@@ -375,20 +375,27 @@ var Command = class {
|
|
|
375
375
|
}
|
|
376
376
|
const stack = clientStack.concat(this.middlewareStack);
|
|
377
377
|
const { logger } = configuration;
|
|
378
|
+
const additionalSmithyContext = additionalContext[SMITHY_CONTEXT_KEY];
|
|
378
379
|
const handlerExecutionContext = {
|
|
379
380
|
logger,
|
|
380
381
|
clientName,
|
|
381
382
|
commandName,
|
|
382
383
|
inputFilterSensitiveLog,
|
|
383
384
|
outputFilterSensitiveLog,
|
|
385
|
+
...additionalContext,
|
|
384
386
|
[SMITHY_CONTEXT_KEY]: {
|
|
387
|
+
...additionalSmithyContext,
|
|
385
388
|
commandInstance: this,
|
|
386
|
-
...smithyContext
|
|
387
|
-
|
|
388
|
-
|
|
389
|
+
...smithyContext,
|
|
390
|
+
...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder }
|
|
391
|
+
}
|
|
389
392
|
};
|
|
390
393
|
const { requestHandler } = configuration;
|
|
391
394
|
let requestOptions = options ?? {};
|
|
395
|
+
if (requestOptions.metricsRecorder) {
|
|
396
|
+
requestOptions = { ...requestOptions };
|
|
397
|
+
delete requestOptions.metricsRecorder;
|
|
398
|
+
}
|
|
392
399
|
if (smithyContext.eventStream) {
|
|
393
400
|
requestOptions = {
|
|
394
401
|
isEventStream: true,
|
|
@@ -493,7 +500,7 @@ var ClassBuilder = class {
|
|
|
493
500
|
}
|
|
494
501
|
};
|
|
495
502
|
|
|
496
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
503
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
|
|
497
504
|
var getCircularReplacer = () => {
|
|
498
505
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
499
506
|
return (key, value) => {
|
|
@@ -507,12 +514,12 @@ var getCircularReplacer = () => {
|
|
|
507
514
|
};
|
|
508
515
|
};
|
|
509
516
|
|
|
510
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
517
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
|
|
511
518
|
var sleep = (seconds) => {
|
|
512
519
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1e3));
|
|
513
520
|
};
|
|
514
521
|
|
|
515
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
522
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
|
|
516
523
|
var waiterServiceDefaults = {
|
|
517
524
|
minDelay: 2,
|
|
518
525
|
maxDelay: 120
|
|
@@ -546,7 +553,7 @@ var checkExceptions = (result) => {
|
|
|
546
553
|
return result;
|
|
547
554
|
};
|
|
548
555
|
|
|
549
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
556
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
|
|
550
557
|
var runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => {
|
|
551
558
|
const observedResponses = {};
|
|
552
559
|
const [minDelayMs, maxDelayMs] = [minDelay * 1e3, maxDelay * 1e3];
|
|
@@ -630,7 +637,7 @@ var exponentialBackoffWithJitter = (minDelayMs, maxDelayMs, attempt, waitUntil)
|
|
|
630
637
|
};
|
|
631
638
|
var randomInRange = (min, max) => min + Math.random() * (max - min);
|
|
632
639
|
|
|
633
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
640
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
|
|
634
641
|
var validateWaiterOptions = (options) => {
|
|
635
642
|
if (options.maxWaitTime <= 0) {
|
|
636
643
|
throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
|
|
@@ -645,7 +652,7 @@ var validateWaiterOptions = (options) => {
|
|
|
645
652
|
}
|
|
646
653
|
};
|
|
647
654
|
|
|
648
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
655
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
|
|
649
656
|
var abortTimeout = (abortSignal) => {
|
|
650
657
|
let onAbort;
|
|
651
658
|
const promise = new Promise((resolve) => {
|
|
@@ -691,7 +698,7 @@ var createWaiter = async (options, input, acceptorChecks) => {
|
|
|
691
698
|
});
|
|
692
699
|
};
|
|
693
700
|
|
|
694
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
701
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
|
|
695
702
|
var createAggregatedClient = (commands, Client2, options) => {
|
|
696
703
|
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
697
704
|
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
@@ -738,8 +745,9 @@ var createAggregatedClient = (commands, Client2, options) => {
|
|
|
738
745
|
}
|
|
739
746
|
};
|
|
740
747
|
|
|
741
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
748
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
|
|
742
749
|
var ServiceException = class _ServiceException extends Error {
|
|
750
|
+
static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
|
|
743
751
|
$fault;
|
|
744
752
|
$response;
|
|
745
753
|
$retryable;
|
|
@@ -765,10 +773,42 @@ var ServiceException = class _ServiceException extends Error {
|
|
|
765
773
|
return _ServiceException.isInstance(instance);
|
|
766
774
|
}
|
|
767
775
|
if (_ServiceException.isInstance(instance)) {
|
|
768
|
-
if (
|
|
769
|
-
return
|
|
776
|
+
if (this.prototype.isPrototypeOf(instance)) {
|
|
777
|
+
return true;
|
|
778
|
+
}
|
|
779
|
+
const targetId = Object.prototype.hasOwnProperty.call(this, "shapeId") ? this.shapeId : void 0;
|
|
780
|
+
let candidateHasShapeId = false;
|
|
781
|
+
if (targetId) {
|
|
782
|
+
let proto = Object.getPrototypeOf(candidate);
|
|
783
|
+
while (proto && proto !== Object.prototype) {
|
|
784
|
+
const ctor = proto.constructor;
|
|
785
|
+
const candidateId = ctor !== _ServiceException && Object.prototype.hasOwnProperty.call(ctor, "shapeId") ? ctor?.shapeId : void 0;
|
|
786
|
+
if (candidateId) {
|
|
787
|
+
candidateHasShapeId = true;
|
|
788
|
+
if (candidateId === targetId) {
|
|
789
|
+
return true;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
proto = Object.getPrototypeOf(proto);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
if (targetId && candidateHasShapeId) {
|
|
796
|
+
return false;
|
|
797
|
+
}
|
|
798
|
+
const targetName = this.name;
|
|
799
|
+
if (targetName && targetName.length >= 6) {
|
|
800
|
+
if (candidate.name === targetName) {
|
|
801
|
+
return true;
|
|
802
|
+
}
|
|
803
|
+
let proto = Object.getPrototypeOf(candidate);
|
|
804
|
+
while (proto && proto !== Object.prototype) {
|
|
805
|
+
const ctorName = proto.constructor?.name;
|
|
806
|
+
if (ctorName && ctorName !== "Error" && ctorName === targetName) {
|
|
807
|
+
return true;
|
|
808
|
+
}
|
|
809
|
+
proto = Object.getPrototypeOf(proto);
|
|
810
|
+
}
|
|
770
811
|
}
|
|
771
|
-
return this.prototype.isPrototypeOf(instance);
|
|
772
812
|
}
|
|
773
813
|
return false;
|
|
774
814
|
}
|
|
@@ -785,7 +825,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
785
825
|
return exception;
|
|
786
826
|
};
|
|
787
827
|
|
|
788
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
828
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
|
|
789
829
|
var loadConfigsForDefaultMode = (mode) => {
|
|
790
830
|
switch (mode) {
|
|
791
831
|
case "standard":
|
|
@@ -813,7 +853,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
813
853
|
}
|
|
814
854
|
};
|
|
815
855
|
|
|
816
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
856
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
|
|
817
857
|
var warningEmitted = false;
|
|
818
858
|
var emitWarningIfUnsupportedVersion = (version) => {
|
|
819
859
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
@@ -821,7 +861,7 @@ var emitWarningIfUnsupportedVersion = (version) => {
|
|
|
821
861
|
}
|
|
822
862
|
};
|
|
823
863
|
|
|
824
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
864
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
|
|
825
865
|
var knownAlgorithms = Object.values(AlgorithmId);
|
|
826
866
|
var getChecksumConfiguration = (runtimeConfig) => {
|
|
827
867
|
const checksumAlgorithms = [];
|
|
@@ -871,7 +911,7 @@ var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
|
871
911
|
return runtimeConfig;
|
|
872
912
|
};
|
|
873
913
|
|
|
874
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
914
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
|
|
875
915
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
876
916
|
return {
|
|
877
917
|
setRetryStrategy(retryStrategy) {
|
|
@@ -888,7 +928,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
888
928
|
return runtimeConfig;
|
|
889
929
|
};
|
|
890
930
|
|
|
891
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
931
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
|
|
892
932
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
893
933
|
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
894
934
|
};
|
|
@@ -896,7 +936,7 @@ var resolveDefaultRuntimeConfig = (config) => {
|
|
|
896
936
|
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
897
937
|
};
|
|
898
938
|
|
|
899
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
939
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js
|
|
900
940
|
var getValueFromTextNode = (obj) => {
|
|
901
941
|
const textNodeName = "#text";
|
|
902
942
|
for (const key in obj) {
|
|
@@ -911,7 +951,7 @@ var getValueFromTextNode = (obj) => {
|
|
|
911
951
|
return obj;
|
|
912
952
|
};
|
|
913
953
|
|
|
914
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
954
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
|
|
915
955
|
var NoOpLogger = class {
|
|
916
956
|
trace() {
|
|
917
957
|
}
|
|
@@ -925,7 +965,7 @@ var NoOpLogger = class {
|
|
|
925
965
|
}
|
|
926
966
|
};
|
|
927
967
|
|
|
928
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
968
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
|
|
929
969
|
function makeBuilder(common, service, name, ep) {
|
|
930
970
|
return function makeCommand(added, plugins, op, $, smithyContext = {}) {
|
|
931
971
|
const epMerged = Object.assign({}, common, added);
|
|
@@ -937,7 +977,7 @@ function makeBuilder(common, service, name, ep) {
|
|
|
937
977
|
};
|
|
938
978
|
}
|
|
939
979
|
|
|
940
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
980
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
|
|
941
981
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
942
982
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
943
983
|
var getEndpointUrlConfig = (serviceId) => ({
|
|
@@ -971,7 +1011,7 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
971
1011
|
default: void 0
|
|
972
1012
|
});
|
|
973
1013
|
|
|
974
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1014
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
975
1015
|
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
976
1016
|
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
977
1017
|
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
@@ -980,7 +1020,7 @@ var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
|
980
1020
|
default: false
|
|
981
1021
|
};
|
|
982
1022
|
|
|
983
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1023
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
984
1024
|
var getEndpointFromConfig = async (serviceId) => {
|
|
985
1025
|
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
986
1026
|
if (ignore) {
|
|
@@ -989,7 +1029,7 @@ var getEndpointFromConfig = async (serviceId) => {
|
|
|
989
1029
|
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
990
1030
|
};
|
|
991
1031
|
|
|
992
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1032
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
993
1033
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
994
1034
|
const bucket = endpointParams?.Bucket || "";
|
|
995
1035
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -1022,7 +1062,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
1022
1062
|
return isValidArn;
|
|
1023
1063
|
};
|
|
1024
1064
|
|
|
1025
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1065
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
|
|
1026
1066
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
|
|
1027
1067
|
const configProvider = async () => {
|
|
1028
1068
|
let configValue;
|
|
@@ -1073,7 +1113,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1073
1113
|
return configProvider;
|
|
1074
1114
|
};
|
|
1075
1115
|
|
|
1076
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1116
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1077
1117
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1078
1118
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1079
1119
|
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
@@ -1137,7 +1177,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
1137
1177
|
return endpointParams;
|
|
1138
1178
|
};
|
|
1139
1179
|
|
|
1140
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1180
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
|
|
1141
1181
|
function setFeature(context, feature, value) {
|
|
1142
1182
|
if (!context.__smithy_context) {
|
|
1143
1183
|
context.__smithy_context = { features: {} };
|
|
@@ -1183,7 +1223,7 @@ function bindEndpointMiddleware(getEndpointFromConfig2) {
|
|
|
1183
1223
|
};
|
|
1184
1224
|
}
|
|
1185
1225
|
|
|
1186
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1226
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
|
|
1187
1227
|
var serializerMiddlewareOption = {
|
|
1188
1228
|
name: "serializerMiddleware",
|
|
1189
1229
|
step: "serialize",
|
|
@@ -1210,7 +1250,7 @@ function bindGetEndpointPlugin(getEndpointFromConfig2) {
|
|
|
1210
1250
|
});
|
|
1211
1251
|
}
|
|
1212
1252
|
|
|
1213
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1253
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
|
|
1214
1254
|
function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
1215
1255
|
return (input) => {
|
|
1216
1256
|
const tls = input.tls ?? true;
|
|
@@ -1236,7 +1276,7 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1236
1276
|
};
|
|
1237
1277
|
}
|
|
1238
1278
|
|
|
1239
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1279
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
|
|
1240
1280
|
var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
1241
1281
|
nodes;
|
|
1242
1282
|
root;
|
|
@@ -1253,7 +1293,7 @@ var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
|
1253
1293
|
}
|
|
1254
1294
|
};
|
|
1255
1295
|
|
|
1256
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1296
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
|
|
1257
1297
|
var EndpointCache = class {
|
|
1258
1298
|
capacity;
|
|
1259
1299
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1295,7 +1335,8 @@ var EndpointCache = class {
|
|
|
1295
1335
|
return false;
|
|
1296
1336
|
}
|
|
1297
1337
|
for (const param of parameters) {
|
|
1298
|
-
const
|
|
1338
|
+
const raw = endpointParams[param];
|
|
1339
|
+
const val = raw == null ? "\0" : String(raw);
|
|
1299
1340
|
if (val.includes("|;")) {
|
|
1300
1341
|
return false;
|
|
1301
1342
|
}
|
|
@@ -1305,7 +1346,7 @@ var EndpointCache = class {
|
|
|
1305
1346
|
}
|
|
1306
1347
|
};
|
|
1307
1348
|
|
|
1308
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1349
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
|
|
1309
1350
|
var EndpointError = class extends Error {
|
|
1310
1351
|
constructor(message) {
|
|
1311
1352
|
super(message);
|
|
@@ -1313,10 +1354,10 @@ var EndpointError = class extends Error {
|
|
|
1313
1354
|
}
|
|
1314
1355
|
};
|
|
1315
1356
|
|
|
1316
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1357
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
|
|
1317
1358
|
var debugId = "endpoints";
|
|
1318
1359
|
|
|
1319
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1360
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
|
|
1320
1361
|
function toDebugString(input) {
|
|
1321
1362
|
if (typeof input !== "object" || input == null) {
|
|
1322
1363
|
return input;
|
|
@@ -1330,13 +1371,13 @@ function toDebugString(input) {
|
|
|
1330
1371
|
return JSON.stringify(input, null, 2);
|
|
1331
1372
|
}
|
|
1332
1373
|
|
|
1333
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1374
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
|
|
1334
1375
|
var customEndpointFunctions = {};
|
|
1335
1376
|
|
|
1336
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1377
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
|
|
1337
1378
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
1338
1379
|
|
|
1339
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1380
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
|
|
1340
1381
|
function coalesce(...args) {
|
|
1341
1382
|
for (const arg of args) {
|
|
1342
1383
|
if (arg != null) {
|
|
@@ -1346,7 +1387,7 @@ function coalesce(...args) {
|
|
|
1346
1387
|
return void 0;
|
|
1347
1388
|
}
|
|
1348
1389
|
|
|
1349
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1390
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
|
|
1350
1391
|
var getAttrPathList = (path) => {
|
|
1351
1392
|
const parts = path.split(".");
|
|
1352
1393
|
const pathList = [];
|
|
@@ -1371,7 +1412,7 @@ var getAttrPathList = (path) => {
|
|
|
1371
1412
|
return pathList;
|
|
1372
1413
|
};
|
|
1373
1414
|
|
|
1374
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1415
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
|
|
1375
1416
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
1376
1417
|
if (typeof acc !== "object") {
|
|
1377
1418
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -1382,22 +1423,22 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
1382
1423
|
return acc[index];
|
|
1383
1424
|
}, value);
|
|
1384
1425
|
|
|
1385
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1426
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
|
|
1386
1427
|
var isSet = (value) => value != null;
|
|
1387
1428
|
|
|
1388
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1429
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
|
|
1389
1430
|
function ite(condition, trueValue, falseValue) {
|
|
1390
1431
|
return condition ? trueValue : falseValue;
|
|
1391
1432
|
}
|
|
1392
1433
|
|
|
1393
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1434
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
|
|
1394
1435
|
var not = (value) => !value;
|
|
1395
1436
|
|
|
1396
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1437
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
|
|
1397
1438
|
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
1439
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
1399
1440
|
|
|
1400
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1441
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
|
|
1401
1442
|
var DEFAULT_PORTS = {
|
|
1402
1443
|
[EndpointURLScheme.HTTP]: 80,
|
|
1403
1444
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -1444,7 +1485,7 @@ var parseURL = (value) => {
|
|
|
1444
1485
|
};
|
|
1445
1486
|
};
|
|
1446
1487
|
|
|
1447
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1488
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
|
|
1448
1489
|
function split(value, delimiter, limit) {
|
|
1449
1490
|
if (limit === 1) {
|
|
1450
1491
|
return [value];
|
|
@@ -1459,10 +1500,10 @@ function split(value, delimiter, limit) {
|
|
|
1459
1500
|
return parts.slice(0, limit - 1).concat(parts.slice(1).join(delimiter));
|
|
1460
1501
|
}
|
|
1461
1502
|
|
|
1462
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1503
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
|
|
1463
1504
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
1464
1505
|
|
|
1465
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1506
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
|
|
1466
1507
|
var substring = (input, start, stop, reverse) => {
|
|
1467
1508
|
if (input == null || start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
|
|
1468
1509
|
return null;
|
|
@@ -1473,10 +1514,10 @@ var substring = (input, start, stop, reverse) => {
|
|
|
1473
1514
|
return input.substring(input.length - stop, input.length - start);
|
|
1474
1515
|
};
|
|
1475
1516
|
|
|
1476
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1517
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
|
|
1477
1518
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
1478
1519
|
|
|
1479
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1520
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
|
|
1480
1521
|
var endpointFunctions = {
|
|
1481
1522
|
booleanEquals,
|
|
1482
1523
|
coalesce,
|
|
@@ -1492,7 +1533,7 @@ var endpointFunctions = {
|
|
|
1492
1533
|
uriEncode
|
|
1493
1534
|
};
|
|
1494
1535
|
|
|
1495
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1536
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
|
|
1496
1537
|
var evaluateTemplate = (template, options) => {
|
|
1497
1538
|
const evaluatedTemplateArr = [];
|
|
1498
1539
|
const { referenceRecord, endpointParams } = options;
|
|
@@ -1525,12 +1566,12 @@ var evaluateTemplate = (template, options) => {
|
|
|
1525
1566
|
return evaluatedTemplateArr.join("");
|
|
1526
1567
|
};
|
|
1527
1568
|
|
|
1528
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1569
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
|
|
1529
1570
|
var getReferenceValue = ({ ref }, options) => {
|
|
1530
1571
|
return options.referenceRecord[ref] ?? options.endpointParams[ref];
|
|
1531
1572
|
};
|
|
1532
1573
|
|
|
1533
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1574
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
|
|
1534
1575
|
var evaluateExpression = (obj, keyName, options) => {
|
|
1535
1576
|
if (typeof obj === "string") {
|
|
1536
1577
|
return evaluateTemplate(obj, options);
|
|
@@ -1570,7 +1611,7 @@ var group = {
|
|
|
1570
1611
|
callFunction
|
|
1571
1612
|
};
|
|
1572
1613
|
|
|
1573
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1614
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
|
|
1574
1615
|
var evaluateCondition = (condition, options) => {
|
|
1575
1616
|
const { assign } = condition;
|
|
1576
1617
|
if (assign && assign in options.referenceRecord) {
|
|
@@ -1585,7 +1626,7 @@ var evaluateCondition = (condition, options) => {
|
|
|
1585
1626
|
return { result };
|
|
1586
1627
|
};
|
|
1587
1628
|
|
|
1588
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1629
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
|
|
1589
1630
|
var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
|
|
1590
1631
|
acc[headerKey] = headerVal.map((headerValEntry) => {
|
|
1591
1632
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -1597,7 +1638,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).red
|
|
|
1597
1638
|
return acc;
|
|
1598
1639
|
}, {});
|
|
1599
1640
|
|
|
1600
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1641
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
|
|
1601
1642
|
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
1602
1643
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
1603
1644
|
return acc;
|
|
@@ -1625,7 +1666,7 @@ var group2 = {
|
|
|
1625
1666
|
getEndpointProperties
|
|
1626
1667
|
};
|
|
1627
1668
|
|
|
1628
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1669
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
|
|
1629
1670
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
1630
1671
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1631
1672
|
if (typeof expression === "string") {
|
|
@@ -1639,7 +1680,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
1639
1680
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1640
1681
|
};
|
|
1641
1682
|
|
|
1642
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1683
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
|
|
1643
1684
|
var RESULT = 1e8;
|
|
1644
1685
|
var decideEndpoint = (bdd, options) => {
|
|
1645
1686
|
const { nodes, root, results, conditions } = bdd;
|
|
@@ -1677,7 +1718,7 @@ var decideEndpoint = (bdd, options) => {
|
|
|
1677
1718
|
throw new EndpointError(`No matching endpoint.`);
|
|
1678
1719
|
};
|
|
1679
1720
|
|
|
1680
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1721
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
|
|
1681
1722
|
var getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
1682
1723
|
var resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
1683
1724
|
var endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|