@larkup/cli 0.3.14 → 0.3.16
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/{analytics-store-5BPWULY4.js → analytics-store-4EI56OLE.js} +2 -1
- package/dist/{chunk-WH6SGG26.js → chunk-54YIZOXQ.js} +2 -2
- package/dist/{chunk-V5MXHOEA.js → chunk-6HRBZ7QP.js} +3 -3
- package/dist/{chunk-IJE2RPSN.js → chunk-6VBJAFWY.js} +62 -54
- package/dist/{chunk-DE4VP425.js → chunk-CUA3FHFQ.js} +2 -2
- package/dist/{chunk-LCK6D6SK.js → chunk-DTRGAEFR.js} +4 -4
- package/dist/{chunk-CQ7NVYHT.js → chunk-FMBWCTFV.js} +71 -62
- package/dist/chunk-GYXT77I3.js +515 -0
- package/dist/{chunk-Z3C6M6AJ.js → chunk-HYYSI5FE.js} +95 -64
- package/dist/chunk-MEYK3O6D.js +10 -0
- package/dist/{event-streams-JRBKH3UT.js → chunk-PFTSXAZG.js} +31 -32
- package/dist/{chunk-RJ2NIMTP.js → chunk-QTJFKXSU.js} +3 -3
- package/dist/{chunk-OFWLJSVC.js → chunk-SDP2LXLJ.js} +11 -4
- package/dist/{chunk-T2XKBURE.js → chunk-SMQUSHD4.js} +10 -0
- package/dist/chunk-TFGGCUFR.js +126 -0
- package/dist/{chunk-KA5D5NKN.js → chunk-VZAREDRR.js} +3 -3
- package/dist/{chunk-CVBK47OT.js → chunk-YOPP3ETL.js} +94 -77
- package/dist/{chunk-HX45PZFR.js → chunk-ZH2A3TFQ.js} +39 -39
- package/dist/{dist-es-2UI7ONZZ.js → dist-es-3SVFRI6P.js} +242 -219
- package/dist/{dist-es-Y73OHM5Y.js → dist-es-CM7567P2.js} +8 -9
- package/dist/{dist-es-UJY2ZAAU.js → dist-es-DC3KLBPR.js} +9 -10
- package/dist/{dist-es-OED5OOKX.js → dist-es-FEVR73CQ.js} +8 -9
- package/dist/{dist-es-5D5ADEYS.js → dist-es-IS5PH45I.js} +24 -32
- package/dist/{dist-es-KL7UCI6C.js → dist-es-KY7QTIEX.js} +22 -23
- package/dist/{dist-es-QQMKUAEQ.js → dist-es-M6OXVHSI.js} +2 -3
- package/dist/{dist-es-MAY5SYH5.js → dist-es-OB4H2RSG.js} +10 -11
- package/dist/{dist-es-IAOJLUTI.js → dist-es-PY4YS7TC.js} +9 -13
- package/dist/{dist-es-FI7PADBF.js → dist-es-ZDCXFYRX.js} +5 -6
- package/dist/{event-streams-IXBDR476.js → event-streams-KOWL2S4G.js} +3 -3
- package/dist/index.js +231 -65
- package/dist/{loadSso-S4KING47.js → loadSso-OLMNBQ4H.js} +67 -67
- package/dist/{signin-ALRQUKQQ.js → signin-NBTUJ5KD.js} +71 -71
- package/dist/{sso-oidc-D3TLLZUS.js → sso-oidc-WNK6HQX7.js} +77 -70
- package/dist/{sts-PHP2EVI2.js → sts-TGY2Y4DZ.js} +79 -76
- package/dist/{tool-loader-K6PLXSLW.js → tool-loader-PVQVSBBL.js} +3 -2
- package/dist/{tool-registry-G35SY4WN.js → tool-registry-M25AVCE4.js} +1 -1
- package/package.json +14 -14
- package/dist/chunk-FNZK42G6.js +0 -73
- package/dist/chunk-HBASLJRD.js +0 -1426
- package/dist/chunk-LREGQMME.js +0 -1280
- package/dist/chunk-M5367BNN.js +0 -184
- package/dist/chunk-WXRKGSWM.js +0 -34
- package/dist/chunk-XEB2OVD6.js +0 -648
- package/dist/chunk-XFLXM5WU.js +0 -2394
|
@@ -3,22 +3,20 @@ import {
|
|
|
3
3
|
SelectorType,
|
|
4
4
|
booleanSelector,
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FMBWCTFV.js";
|
|
7
7
|
import {
|
|
8
|
+
AlgorithmId,
|
|
9
|
+
EndpointURLScheme,
|
|
8
10
|
NormalizedSchema,
|
|
11
|
+
SMITHY_CONTEXT_KEY,
|
|
9
12
|
getSmithyContext,
|
|
10
13
|
hasOwn,
|
|
11
14
|
isValidHostLabel,
|
|
12
15
|
normalizeProvider,
|
|
13
16
|
toEndpointV1
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
AlgorithmId,
|
|
17
|
-
EndpointURLScheme,
|
|
18
|
-
SMITHY_CONTEXT_KEY
|
|
19
|
-
} from "./chunk-WXRKGSWM.js";
|
|
17
|
+
} from "./chunk-HYYSI5FE.js";
|
|
20
18
|
|
|
21
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
19
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
22
20
|
var getAllAliases = (name, aliases) => {
|
|
23
21
|
const _aliases = [];
|
|
24
22
|
if (name) {
|
|
@@ -283,7 +281,7 @@ var priorityWeights = {
|
|
|
283
281
|
low: 1
|
|
284
282
|
};
|
|
285
283
|
|
|
286
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
284
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
|
|
287
285
|
var Client = class {
|
|
288
286
|
config;
|
|
289
287
|
middlewareStack = constructStack();
|
|
@@ -331,7 +329,7 @@ var Client = class {
|
|
|
331
329
|
}
|
|
332
330
|
};
|
|
333
331
|
|
|
334
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
332
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
|
|
335
333
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
336
334
|
function schemaLogFilter(schema, data) {
|
|
337
335
|
if (data == null) {
|
|
@@ -364,7 +362,7 @@ function schemaLogFilter(schema, data) {
|
|
|
364
362
|
return data;
|
|
365
363
|
}
|
|
366
364
|
|
|
367
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
365
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
|
|
368
366
|
var Command = class {
|
|
369
367
|
middlewareStack = constructStack();
|
|
370
368
|
schema;
|
|
@@ -502,7 +500,7 @@ var ClassBuilder = class {
|
|
|
502
500
|
}
|
|
503
501
|
};
|
|
504
502
|
|
|
505
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
503
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
|
|
506
504
|
var getCircularReplacer = () => {
|
|
507
505
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
508
506
|
return (key, value) => {
|
|
@@ -516,12 +514,12 @@ var getCircularReplacer = () => {
|
|
|
516
514
|
};
|
|
517
515
|
};
|
|
518
516
|
|
|
519
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
517
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
|
|
520
518
|
var sleep = (seconds) => {
|
|
521
519
|
return new Promise((resolve) => setTimeout(resolve, seconds * 1e3));
|
|
522
520
|
};
|
|
523
521
|
|
|
524
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
522
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
|
|
525
523
|
var waiterServiceDefaults = {
|
|
526
524
|
minDelay: 2,
|
|
527
525
|
maxDelay: 120
|
|
@@ -555,7 +553,7 @@ var checkExceptions = (result) => {
|
|
|
555
553
|
return result;
|
|
556
554
|
};
|
|
557
555
|
|
|
558
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
556
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
|
|
559
557
|
var runPolling = async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => {
|
|
560
558
|
const observedResponses = {};
|
|
561
559
|
const [minDelayMs, maxDelayMs] = [minDelay * 1e3, maxDelay * 1e3];
|
|
@@ -639,7 +637,7 @@ var exponentialBackoffWithJitter = (minDelayMs, maxDelayMs, attempt, waitUntil)
|
|
|
639
637
|
};
|
|
640
638
|
var randomInRange = (min, max) => min + Math.random() * (max - min);
|
|
641
639
|
|
|
642
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
640
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
|
|
643
641
|
var validateWaiterOptions = (options) => {
|
|
644
642
|
if (options.maxWaitTime <= 0) {
|
|
645
643
|
throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`);
|
|
@@ -654,7 +652,7 @@ var validateWaiterOptions = (options) => {
|
|
|
654
652
|
}
|
|
655
653
|
};
|
|
656
654
|
|
|
657
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
655
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
|
|
658
656
|
var abortTimeout = (abortSignal) => {
|
|
659
657
|
let onAbort;
|
|
660
658
|
const promise = new Promise((resolve) => {
|
|
@@ -700,7 +698,7 @@ var createWaiter = async (options, input, acceptorChecks) => {
|
|
|
700
698
|
});
|
|
701
699
|
};
|
|
702
700
|
|
|
703
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
701
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
|
|
704
702
|
var createAggregatedClient = (commands, Client2, options) => {
|
|
705
703
|
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
706
704
|
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
@@ -747,8 +745,9 @@ var createAggregatedClient = (commands, Client2, options) => {
|
|
|
747
745
|
}
|
|
748
746
|
};
|
|
749
747
|
|
|
750
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
748
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
|
|
751
749
|
var ServiceException = class _ServiceException extends Error {
|
|
750
|
+
static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
|
|
752
751
|
$fault;
|
|
753
752
|
$response;
|
|
754
753
|
$retryable;
|
|
@@ -777,22 +776,39 @@ var ServiceException = class _ServiceException extends Error {
|
|
|
777
776
|
if (this.prototype.isPrototypeOf(instance)) {
|
|
778
777
|
return true;
|
|
779
778
|
}
|
|
780
|
-
const
|
|
781
|
-
|
|
782
|
-
|
|
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
|
+
}
|
|
783
794
|
}
|
|
784
|
-
if (
|
|
785
|
-
return
|
|
795
|
+
if (targetId && candidateHasShapeId) {
|
|
796
|
+
return false;
|
|
786
797
|
}
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
if (ctorName && ctorName !== "Error" && ctorName === targetName) {
|
|
798
|
+
const targetName = this.name;
|
|
799
|
+
if (targetName && targetName.length >= 6) {
|
|
800
|
+
if (candidate.name === targetName) {
|
|
791
801
|
return true;
|
|
792
802
|
}
|
|
793
|
-
proto = Object.getPrototypeOf(
|
|
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
|
+
}
|
|
794
811
|
}
|
|
795
|
-
return false;
|
|
796
812
|
}
|
|
797
813
|
return false;
|
|
798
814
|
}
|
|
@@ -809,7 +825,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
809
825
|
return exception;
|
|
810
826
|
};
|
|
811
827
|
|
|
812
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
828
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
|
|
813
829
|
var loadConfigsForDefaultMode = (mode) => {
|
|
814
830
|
switch (mode) {
|
|
815
831
|
case "standard":
|
|
@@ -837,7 +853,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
837
853
|
}
|
|
838
854
|
};
|
|
839
855
|
|
|
840
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
856
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
|
|
841
857
|
var warningEmitted = false;
|
|
842
858
|
var emitWarningIfUnsupportedVersion = (version) => {
|
|
843
859
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
@@ -845,7 +861,7 @@ var emitWarningIfUnsupportedVersion = (version) => {
|
|
|
845
861
|
}
|
|
846
862
|
};
|
|
847
863
|
|
|
848
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
864
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
|
|
849
865
|
var knownAlgorithms = Object.values(AlgorithmId);
|
|
850
866
|
var getChecksumConfiguration = (runtimeConfig) => {
|
|
851
867
|
const checksumAlgorithms = [];
|
|
@@ -895,7 +911,7 @@ var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
|
895
911
|
return runtimeConfig;
|
|
896
912
|
};
|
|
897
913
|
|
|
898
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
914
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
|
|
899
915
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
900
916
|
return {
|
|
901
917
|
setRetryStrategy(retryStrategy) {
|
|
@@ -912,7 +928,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
912
928
|
return runtimeConfig;
|
|
913
929
|
};
|
|
914
930
|
|
|
915
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
931
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
|
|
916
932
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
917
933
|
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
918
934
|
};
|
|
@@ -920,7 +936,7 @@ var resolveDefaultRuntimeConfig = (config) => {
|
|
|
920
936
|
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
921
937
|
};
|
|
922
938
|
|
|
923
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
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
|
|
924
940
|
var getValueFromTextNode = (obj) => {
|
|
925
941
|
const textNodeName = "#text";
|
|
926
942
|
for (const key in obj) {
|
|
@@ -935,7 +951,7 @@ var getValueFromTextNode = (obj) => {
|
|
|
935
951
|
return obj;
|
|
936
952
|
};
|
|
937
953
|
|
|
938
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
954
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
|
|
939
955
|
var NoOpLogger = class {
|
|
940
956
|
trace() {
|
|
941
957
|
}
|
|
@@ -949,7 +965,7 @@ var NoOpLogger = class {
|
|
|
949
965
|
}
|
|
950
966
|
};
|
|
951
967
|
|
|
952
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
968
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
|
|
953
969
|
function makeBuilder(common, service, name, ep) {
|
|
954
970
|
return function makeCommand(added, plugins, op, $, smithyContext = {}) {
|
|
955
971
|
const epMerged = Object.assign({}, common, added);
|
|
@@ -961,7 +977,7 @@ function makeBuilder(common, service, name, ep) {
|
|
|
961
977
|
};
|
|
962
978
|
}
|
|
963
979
|
|
|
964
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
980
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
|
|
965
981
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
966
982
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
967
983
|
var getEndpointUrlConfig = (serviceId) => ({
|
|
@@ -995,7 +1011,7 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
995
1011
|
default: void 0
|
|
996
1012
|
});
|
|
997
1013
|
|
|
998
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1014
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
999
1015
|
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
1000
1016
|
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
1001
1017
|
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
@@ -1004,7 +1020,7 @@ var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
|
1004
1020
|
default: false
|
|
1005
1021
|
};
|
|
1006
1022
|
|
|
1007
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1023
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
1008
1024
|
var getEndpointFromConfig = async (serviceId) => {
|
|
1009
1025
|
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
1010
1026
|
if (ignore) {
|
|
@@ -1013,7 +1029,7 @@ var getEndpointFromConfig = async (serviceId) => {
|
|
|
1013
1029
|
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
1014
1030
|
};
|
|
1015
1031
|
|
|
1016
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1032
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
1017
1033
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
1018
1034
|
const bucket = endpointParams?.Bucket || "";
|
|
1019
1035
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -1046,7 +1062,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
1046
1062
|
return isValidArn;
|
|
1047
1063
|
};
|
|
1048
1064
|
|
|
1049
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1065
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
|
|
1050
1066
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
|
|
1051
1067
|
const configProvider = async () => {
|
|
1052
1068
|
let configValue;
|
|
@@ -1097,7 +1113,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1097
1113
|
return configProvider;
|
|
1098
1114
|
};
|
|
1099
1115
|
|
|
1100
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1116
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1101
1117
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1102
1118
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1103
1119
|
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
@@ -1161,7 +1177,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
1161
1177
|
return endpointParams;
|
|
1162
1178
|
};
|
|
1163
1179
|
|
|
1164
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1180
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
|
|
1165
1181
|
function setFeature(context, feature, value) {
|
|
1166
1182
|
if (!context.__smithy_context) {
|
|
1167
1183
|
context.__smithy_context = { features: {} };
|
|
@@ -1207,7 +1223,7 @@ function bindEndpointMiddleware(getEndpointFromConfig2) {
|
|
|
1207
1223
|
};
|
|
1208
1224
|
}
|
|
1209
1225
|
|
|
1210
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1226
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
|
|
1211
1227
|
var serializerMiddlewareOption = {
|
|
1212
1228
|
name: "serializerMiddleware",
|
|
1213
1229
|
step: "serialize",
|
|
@@ -1234,7 +1250,7 @@ function bindGetEndpointPlugin(getEndpointFromConfig2) {
|
|
|
1234
1250
|
});
|
|
1235
1251
|
}
|
|
1236
1252
|
|
|
1237
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1253
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
|
|
1238
1254
|
function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
1239
1255
|
return (input) => {
|
|
1240
1256
|
const tls = input.tls ?? true;
|
|
@@ -1260,7 +1276,7 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1260
1276
|
};
|
|
1261
1277
|
}
|
|
1262
1278
|
|
|
1263
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1279
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
|
|
1264
1280
|
var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
1265
1281
|
nodes;
|
|
1266
1282
|
root;
|
|
@@ -1277,7 +1293,7 @@ var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
|
1277
1293
|
}
|
|
1278
1294
|
};
|
|
1279
1295
|
|
|
1280
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1296
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
|
|
1281
1297
|
var EndpointCache = class {
|
|
1282
1298
|
capacity;
|
|
1283
1299
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1319,7 +1335,8 @@ var EndpointCache = class {
|
|
|
1319
1335
|
return false;
|
|
1320
1336
|
}
|
|
1321
1337
|
for (const param of parameters) {
|
|
1322
|
-
const
|
|
1338
|
+
const raw = endpointParams[param];
|
|
1339
|
+
const val = raw == null ? "\0" : String(raw);
|
|
1323
1340
|
if (val.includes("|;")) {
|
|
1324
1341
|
return false;
|
|
1325
1342
|
}
|
|
@@ -1329,7 +1346,7 @@ var EndpointCache = class {
|
|
|
1329
1346
|
}
|
|
1330
1347
|
};
|
|
1331
1348
|
|
|
1332
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1349
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
|
|
1333
1350
|
var EndpointError = class extends Error {
|
|
1334
1351
|
constructor(message) {
|
|
1335
1352
|
super(message);
|
|
@@ -1337,10 +1354,10 @@ var EndpointError = class extends Error {
|
|
|
1337
1354
|
}
|
|
1338
1355
|
};
|
|
1339
1356
|
|
|
1340
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1357
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
|
|
1341
1358
|
var debugId = "endpoints";
|
|
1342
1359
|
|
|
1343
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1360
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
|
|
1344
1361
|
function toDebugString(input) {
|
|
1345
1362
|
if (typeof input !== "object" || input == null) {
|
|
1346
1363
|
return input;
|
|
@@ -1354,13 +1371,13 @@ function toDebugString(input) {
|
|
|
1354
1371
|
return JSON.stringify(input, null, 2);
|
|
1355
1372
|
}
|
|
1356
1373
|
|
|
1357
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1374
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
|
|
1358
1375
|
var customEndpointFunctions = {};
|
|
1359
1376
|
|
|
1360
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1377
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
|
|
1361
1378
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
1362
1379
|
|
|
1363
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1380
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
|
|
1364
1381
|
function coalesce(...args) {
|
|
1365
1382
|
for (const arg of args) {
|
|
1366
1383
|
if (arg != null) {
|
|
@@ -1370,7 +1387,7 @@ function coalesce(...args) {
|
|
|
1370
1387
|
return void 0;
|
|
1371
1388
|
}
|
|
1372
1389
|
|
|
1373
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1390
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
|
|
1374
1391
|
var getAttrPathList = (path) => {
|
|
1375
1392
|
const parts = path.split(".");
|
|
1376
1393
|
const pathList = [];
|
|
@@ -1395,7 +1412,7 @@ var getAttrPathList = (path) => {
|
|
|
1395
1412
|
return pathList;
|
|
1396
1413
|
};
|
|
1397
1414
|
|
|
1398
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1415
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
|
|
1399
1416
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
1400
1417
|
if (typeof acc !== "object") {
|
|
1401
1418
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -1406,22 +1423,22 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
1406
1423
|
return acc[index];
|
|
1407
1424
|
}, value);
|
|
1408
1425
|
|
|
1409
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1426
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
|
|
1410
1427
|
var isSet = (value) => value != null;
|
|
1411
1428
|
|
|
1412
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1429
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
|
|
1413
1430
|
function ite(condition, trueValue, falseValue) {
|
|
1414
1431
|
return condition ? trueValue : falseValue;
|
|
1415
1432
|
}
|
|
1416
1433
|
|
|
1417
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1434
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
|
|
1418
1435
|
var not = (value) => !value;
|
|
1419
1436
|
|
|
1420
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1437
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
|
|
1421
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}$`);
|
|
1422
1439
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
1423
1440
|
|
|
1424
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1441
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
|
|
1425
1442
|
var DEFAULT_PORTS = {
|
|
1426
1443
|
[EndpointURLScheme.HTTP]: 80,
|
|
1427
1444
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -1468,7 +1485,7 @@ var parseURL = (value) => {
|
|
|
1468
1485
|
};
|
|
1469
1486
|
};
|
|
1470
1487
|
|
|
1471
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1488
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
|
|
1472
1489
|
function split(value, delimiter, limit) {
|
|
1473
1490
|
if (limit === 1) {
|
|
1474
1491
|
return [value];
|
|
@@ -1483,10 +1500,10 @@ function split(value, delimiter, limit) {
|
|
|
1483
1500
|
return parts.slice(0, limit - 1).concat(parts.slice(1).join(delimiter));
|
|
1484
1501
|
}
|
|
1485
1502
|
|
|
1486
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1503
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
|
|
1487
1504
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
1488
1505
|
|
|
1489
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1506
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
|
|
1490
1507
|
var substring = (input, start, stop, reverse) => {
|
|
1491
1508
|
if (input == null || start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
|
|
1492
1509
|
return null;
|
|
@@ -1497,10 +1514,10 @@ var substring = (input, start, stop, reverse) => {
|
|
|
1497
1514
|
return input.substring(input.length - stop, input.length - start);
|
|
1498
1515
|
};
|
|
1499
1516
|
|
|
1500
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1517
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
|
|
1501
1518
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
1502
1519
|
|
|
1503
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1520
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
|
|
1504
1521
|
var endpointFunctions = {
|
|
1505
1522
|
booleanEquals,
|
|
1506
1523
|
coalesce,
|
|
@@ -1516,7 +1533,7 @@ var endpointFunctions = {
|
|
|
1516
1533
|
uriEncode
|
|
1517
1534
|
};
|
|
1518
1535
|
|
|
1519
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1536
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
|
|
1520
1537
|
var evaluateTemplate = (template, options) => {
|
|
1521
1538
|
const evaluatedTemplateArr = [];
|
|
1522
1539
|
const { referenceRecord, endpointParams } = options;
|
|
@@ -1549,12 +1566,12 @@ var evaluateTemplate = (template, options) => {
|
|
|
1549
1566
|
return evaluatedTemplateArr.join("");
|
|
1550
1567
|
};
|
|
1551
1568
|
|
|
1552
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1569
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
|
|
1553
1570
|
var getReferenceValue = ({ ref }, options) => {
|
|
1554
1571
|
return options.referenceRecord[ref] ?? options.endpointParams[ref];
|
|
1555
1572
|
};
|
|
1556
1573
|
|
|
1557
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1574
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
|
|
1558
1575
|
var evaluateExpression = (obj, keyName, options) => {
|
|
1559
1576
|
if (typeof obj === "string") {
|
|
1560
1577
|
return evaluateTemplate(obj, options);
|
|
@@ -1594,7 +1611,7 @@ var group = {
|
|
|
1594
1611
|
callFunction
|
|
1595
1612
|
};
|
|
1596
1613
|
|
|
1597
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1614
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
|
|
1598
1615
|
var evaluateCondition = (condition, options) => {
|
|
1599
1616
|
const { assign } = condition;
|
|
1600
1617
|
if (assign && assign in options.referenceRecord) {
|
|
@@ -1609,7 +1626,7 @@ var evaluateCondition = (condition, options) => {
|
|
|
1609
1626
|
return { result };
|
|
1610
1627
|
};
|
|
1611
1628
|
|
|
1612
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1629
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
|
|
1613
1630
|
var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
|
|
1614
1631
|
acc[headerKey] = headerVal.map((headerValEntry) => {
|
|
1615
1632
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -1621,7 +1638,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).red
|
|
|
1621
1638
|
return acc;
|
|
1622
1639
|
}, {});
|
|
1623
1640
|
|
|
1624
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1641
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
|
|
1625
1642
|
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
1626
1643
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
1627
1644
|
return acc;
|
|
@@ -1649,7 +1666,7 @@ var group2 = {
|
|
|
1649
1666
|
getEndpointProperties
|
|
1650
1667
|
};
|
|
1651
1668
|
|
|
1652
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1669
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
|
|
1653
1670
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
1654
1671
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1655
1672
|
if (typeof expression === "string") {
|
|
@@ -1663,7 +1680,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
1663
1680
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1664
1681
|
};
|
|
1665
1682
|
|
|
1666
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1683
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
|
|
1667
1684
|
var RESULT = 1e8;
|
|
1668
1685
|
var decideEndpoint = (bdd, options) => {
|
|
1669
1686
|
const { nodes, root, results, conditions } = bdd;
|
|
@@ -1701,7 +1718,7 @@ var decideEndpoint = (bdd, options) => {
|
|
|
1701
1718
|
throw new EndpointError(`No matching endpoint.`);
|
|
1702
1719
|
};
|
|
1703
1720
|
|
|
1704
|
-
// ../../node_modules/.pnpm/@smithy+core@3.35.
|
|
1721
|
+
// ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
|
|
1705
1722
|
var getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
1706
1723
|
var resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
1707
1724
|
var endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|