@larkup/cli 0.3.22 → 0.3.25
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/{bowser-KBMRPWZW.js → bowser-ASWGABFI.js} +164 -121
- package/dist/{chunk-M4T7TRRC.js → chunk-5BSYIRDU.js} +101 -99
- package/dist/{chunk-JKTTCUZ3.js → chunk-6DABOFED.js} +45 -43
- package/dist/chunk-7EA4HEQD.js +34 -0
- package/dist/{chunk-G4JLV4D2.js → chunk-7FM7FGTQ.js} +44 -45
- package/dist/{chunk-3HURSQNH.js → chunk-7TW2TQDP.js} +2 -2
- package/dist/{chunk-G542PEOG.js → chunk-CONEIN76.js} +12 -40
- package/dist/{chunk-SUBMQE2G.js → chunk-H7OL7A3G.js} +29 -29
- package/dist/{chunk-NMIRIGDS.js → chunk-HQBHXWFO.js} +25 -25
- package/dist/{chunk-TEVXZRMI.js → chunk-ILXTFN5F.js} +73 -71
- package/dist/{chunk-CQRTVM3R.js → chunk-J7WYSJV7.js} +41 -36
- package/dist/{chunk-YL567TPU.js → chunk-JI3YBGMX.js} +4 -4
- package/dist/{chunk-4Y7OLVDR.js → chunk-K4ZAP2B4.js} +4 -4
- package/dist/{chunk-VMIDDBSU.js → chunk-KS7UJLUP.js} +3 -3
- package/dist/{chunk-5UNSW2YQ.js → chunk-MJ2NZ7GC.js} +2 -2
- package/dist/{chunk-MEKWGOS5.js → chunk-R344ACAN.js} +3 -3
- package/dist/{chunk-TX2W2TDD.js → chunk-UQHNRXYH.js} +3 -3
- package/dist/{chunk-5YXDD2GC.js → chunk-YK4G67UU.js} +135 -163
- package/dist/{chunk-MTXSOKLF.js → chunk-ZXBQA42I.js} +1066 -1027
- package/dist/{chunk-5LXQQ3B5.js → chunk-ZYEAPZDK.js} +67 -64
- package/dist/{dist-es-EYJKNFZZ.js → dist-es-3UDUJKAW.js} +10 -9
- package/dist/{dist-es-I5PEXU6M.js → dist-es-3ZGN24NL.js} +6 -5
- package/dist/{dist-es-HOKTEA4H.js → dist-es-6VWQDGTA.js} +23 -22
- package/dist/{dist-es-IBDQOMV4.js → dist-es-DJYED3JX.js} +21 -20
- package/dist/{dist-es-KLJ57YTV.js → dist-es-HKJET4EN.js} +3 -2
- package/dist/{dist-es-GCJ2YN2W.js → dist-es-JZZWWWB2.js} +15 -12
- package/dist/{dist-es-RSHHKZQR.js → dist-es-RQTS5BDT.js} +287 -236
- package/dist/{dist-es-SM3XZOJI.js → dist-es-RUHE7T2I.js} +11 -10
- package/dist/{dist-es-64SQQSB2.js → dist-es-S4JBTIGW.js} +9 -8
- package/dist/{dist-es-WKOKSFRW.js → dist-es-TGIPXSQR.js} +9 -8
- package/dist/{event-streams-DO25HTN4.js → event-streams-5GHJY7DB.js} +3 -2
- package/dist/{event-streams-DE7Y6VJA.js → event-streams-7GD5LM2F.js} +19 -18
- package/dist/index.js +92 -60
- package/dist/{loadSso-RBMT5EPI.js → loadSso-QUU5KKBX.js} +27 -26
- package/dist/{signin-S7FYOH5Y.js → signin-KDNHL2KM.js} +30 -29
- package/dist/{sso-oidc-YVLODDDB.js → sso-oidc-BNG5ERAX.js} +29 -28
- package/dist/{sts-R6CUYWGQ.js → sts-K53JNAYZ.js} +32 -31
- package/dist/{tool-loader-ZRVSMB4T.js → tool-loader-3TBSU7FY.js} +2 -2
- package/dist/{tool-registry-FLO7V4FK.js → tool-registry-HJLG5I6X.js} +1 -1
- package/package.json +12 -12
|
@@ -3,26 +3,28 @@ import {
|
|
|
3
3
|
SelectorType,
|
|
4
4
|
booleanSelector,
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6DABOFED.js";
|
|
7
7
|
import {
|
|
8
8
|
NormalizedSchema,
|
|
9
9
|
parseRfc7231DateTime,
|
|
10
10
|
v4
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H7OL7A3G.js";
|
|
12
12
|
import {
|
|
13
|
-
AlgorithmId,
|
|
14
|
-
EndpointURLScheme,
|
|
15
13
|
HttpRequest,
|
|
16
14
|
HttpResponse,
|
|
17
|
-
SMITHY_CONTEXT_KEY,
|
|
18
15
|
getSmithyContext,
|
|
19
16
|
hasOwn,
|
|
20
17
|
isValidHostLabel,
|
|
21
18
|
normalizeProvider,
|
|
22
19
|
toEndpointV1
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CONEIN76.js";
|
|
21
|
+
import {
|
|
22
|
+
AlgorithmId,
|
|
23
|
+
EndpointURLScheme,
|
|
24
|
+
SMITHY_CONTEXT_KEY
|
|
25
|
+
} from "./chunk-7EA4HEQD.js";
|
|
24
26
|
|
|
25
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
27
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
26
28
|
var getAllAliases = (name, aliases) => {
|
|
27
29
|
const _aliases = [];
|
|
28
30
|
if (name) {
|
|
@@ -291,7 +293,7 @@ var priorityWeights = {
|
|
|
291
293
|
low: 1
|
|
292
294
|
};
|
|
293
295
|
|
|
294
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
296
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
|
|
295
297
|
var Client = class {
|
|
296
298
|
config;
|
|
297
299
|
middlewareStack = constructStack();
|
|
@@ -339,7 +341,7 @@ var Client = class {
|
|
|
339
341
|
}
|
|
340
342
|
};
|
|
341
343
|
|
|
342
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
344
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
|
|
343
345
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
344
346
|
function schemaLogFilter(schema, data) {
|
|
345
347
|
if (data == null) {
|
|
@@ -378,7 +380,7 @@ function schemaLogFilter(schema, data) {
|
|
|
378
380
|
return data;
|
|
379
381
|
}
|
|
380
382
|
|
|
381
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
383
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
|
|
382
384
|
var operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
|
|
383
385
|
var Command = class {
|
|
384
386
|
middlewareStack = constructStack();
|
|
@@ -529,7 +531,7 @@ var ClassBuilder = class {
|
|
|
529
531
|
}
|
|
530
532
|
};
|
|
531
533
|
|
|
532
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
534
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
|
|
533
535
|
var createAggregatedClient = (commands, Client2, options) => {
|
|
534
536
|
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
535
537
|
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
@@ -577,7 +579,7 @@ var createAggregatedClient = (commands, Client2, options) => {
|
|
|
577
579
|
}
|
|
578
580
|
};
|
|
579
581
|
|
|
580
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
582
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
|
|
581
583
|
var ServiceException = class _ServiceException extends Error {
|
|
582
584
|
static shapeId = "smithy.ts.sdk.synthetic.nonamespace.client#ServiceException";
|
|
583
585
|
$fault;
|
|
@@ -648,7 +650,7 @@ var ServiceException = class _ServiceException extends Error {
|
|
|
648
650
|
}
|
|
649
651
|
};
|
|
650
652
|
|
|
651
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
653
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
|
|
652
654
|
var loadConfigsForDefaultMode = (mode) => {
|
|
653
655
|
switch (mode) {
|
|
654
656
|
case "standard":
|
|
@@ -676,7 +678,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
676
678
|
}
|
|
677
679
|
};
|
|
678
680
|
|
|
679
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
681
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
|
|
680
682
|
var warningEmitted = false;
|
|
681
683
|
var emitWarningIfUnsupportedVersion = (version) => {
|
|
682
684
|
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
@@ -684,7 +686,7 @@ var emitWarningIfUnsupportedVersion = (version) => {
|
|
|
684
686
|
}
|
|
685
687
|
};
|
|
686
688
|
|
|
687
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
689
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
|
|
688
690
|
var knownAlgorithms = Object.values(AlgorithmId);
|
|
689
691
|
var getChecksumConfiguration = (runtimeConfig) => {
|
|
690
692
|
const checksumAlgorithms = [];
|
|
@@ -735,7 +737,7 @@ var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
|
735
737
|
return runtimeConfig;
|
|
736
738
|
};
|
|
737
739
|
|
|
738
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
740
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
|
|
739
741
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
740
742
|
return {
|
|
741
743
|
setRetryStrategy(retryStrategy) {
|
|
@@ -752,7 +754,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
752
754
|
return runtimeConfig;
|
|
753
755
|
};
|
|
754
756
|
|
|
755
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
757
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
|
|
756
758
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
757
759
|
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
758
760
|
};
|
|
@@ -760,7 +762,7 @@ var resolveDefaultRuntimeConfig = (config) => {
|
|
|
760
762
|
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
761
763
|
};
|
|
762
764
|
|
|
763
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
765
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
|
|
764
766
|
var NoOpLogger = class {
|
|
765
767
|
trace() {
|
|
766
768
|
}
|
|
@@ -774,7 +776,7 @@ var NoOpLogger = class {
|
|
|
774
776
|
}
|
|
775
777
|
};
|
|
776
778
|
|
|
777
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
779
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
|
|
778
780
|
function makeBuilder(common, service, name, ep) {
|
|
779
781
|
return function makeCommand(added, plugins, op, $, smithyContext = {}) {
|
|
780
782
|
const epMerged = Object.assign({}, common, added);
|
|
@@ -786,7 +788,7 @@ function makeBuilder(common, service, name, ep) {
|
|
|
786
788
|
};
|
|
787
789
|
}
|
|
788
790
|
|
|
789
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
791
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.js
|
|
790
792
|
var resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
|
|
791
793
|
if (!authSchemePreference || authSchemePreference.length === 0) {
|
|
792
794
|
return candidateAuthOptions;
|
|
@@ -808,7 +810,7 @@ var resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
|
|
|
808
810
|
return preferredAuthOptions;
|
|
809
811
|
};
|
|
810
812
|
|
|
811
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
813
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
812
814
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
813
815
|
const map = /* @__PURE__ */ new Map();
|
|
814
816
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -850,7 +852,7 @@ var httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (
|
|
|
850
852
|
return next(args);
|
|
851
853
|
};
|
|
852
854
|
|
|
853
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
855
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
854
856
|
var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
855
857
|
step: "serialize",
|
|
856
858
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -868,7 +870,7 @@ var getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParameters
|
|
|
868
870
|
}
|
|
869
871
|
});
|
|
870
872
|
|
|
871
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
873
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
|
|
872
874
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
873
875
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
874
876
|
var getEndpointUrlConfig = (serviceId) => ({
|
|
@@ -906,7 +908,7 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
906
908
|
default: void 0
|
|
907
909
|
});
|
|
908
910
|
|
|
909
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
911
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
910
912
|
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
911
913
|
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
912
914
|
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
@@ -915,7 +917,7 @@ var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
|
915
917
|
default: false
|
|
916
918
|
};
|
|
917
919
|
|
|
918
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
920
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
919
921
|
var getEndpointFromConfig = async (serviceId) => {
|
|
920
922
|
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
921
923
|
if (ignore) {
|
|
@@ -924,7 +926,7 @@ var getEndpointFromConfig = async (serviceId) => {
|
|
|
924
926
|
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
925
927
|
};
|
|
926
928
|
|
|
927
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
929
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
928
930
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
929
931
|
const bucket = endpointParams?.Bucket || "";
|
|
930
932
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -957,7 +959,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
957
959
|
return isValidArn;
|
|
958
960
|
};
|
|
959
961
|
|
|
960
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
962
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
|
|
961
963
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
|
|
962
964
|
const configProvider = async () => {
|
|
963
965
|
let configValue;
|
|
@@ -1008,7 +1010,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1008
1010
|
return configProvider;
|
|
1009
1011
|
};
|
|
1010
1012
|
|
|
1011
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1013
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1012
1014
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1013
1015
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1014
1016
|
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
@@ -1072,7 +1074,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
1072
1074
|
return endpointParams;
|
|
1073
1075
|
};
|
|
1074
1076
|
|
|
1075
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1077
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
|
|
1076
1078
|
function setFeature(context, feature, value) {
|
|
1077
1079
|
if (!context.__smithy_context) {
|
|
1078
1080
|
context.__smithy_context = { features: {} };
|
|
@@ -1118,7 +1120,7 @@ function bindEndpointMiddleware(getEndpointFromConfig2) {
|
|
|
1118
1120
|
};
|
|
1119
1121
|
}
|
|
1120
1122
|
|
|
1121
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1123
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
|
|
1122
1124
|
var serializerMiddlewareOption = {
|
|
1123
1125
|
name: "serializerMiddleware",
|
|
1124
1126
|
step: "serialize",
|
|
@@ -1145,7 +1147,7 @@ function bindGetEndpointPlugin(getEndpointFromConfig2) {
|
|
|
1145
1147
|
});
|
|
1146
1148
|
}
|
|
1147
1149
|
|
|
1148
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1150
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
|
|
1149
1151
|
function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
1150
1152
|
return (input) => {
|
|
1151
1153
|
const tls = input.tls ?? true;
|
|
@@ -1171,7 +1173,7 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1171
1173
|
};
|
|
1172
1174
|
}
|
|
1173
1175
|
|
|
1174
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1176
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
|
|
1175
1177
|
var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
1176
1178
|
nodes;
|
|
1177
1179
|
root;
|
|
@@ -1188,7 +1190,7 @@ var BinaryDecisionDiagram = class _BinaryDecisionDiagram {
|
|
|
1188
1190
|
}
|
|
1189
1191
|
};
|
|
1190
1192
|
|
|
1191
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1193
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
|
|
1192
1194
|
var EndpointCache = class {
|
|
1193
1195
|
capacity;
|
|
1194
1196
|
data = /* @__PURE__ */ new Map();
|
|
@@ -1241,7 +1243,7 @@ var EndpointCache = class {
|
|
|
1241
1243
|
}
|
|
1242
1244
|
};
|
|
1243
1245
|
|
|
1244
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1246
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
|
|
1245
1247
|
var EndpointError = class extends Error {
|
|
1246
1248
|
constructor(message) {
|
|
1247
1249
|
super(message);
|
|
@@ -1249,10 +1251,10 @@ var EndpointError = class extends Error {
|
|
|
1249
1251
|
}
|
|
1250
1252
|
};
|
|
1251
1253
|
|
|
1252
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1254
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
|
|
1253
1255
|
var debugId = "endpoints";
|
|
1254
1256
|
|
|
1255
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1257
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
|
|
1256
1258
|
function toDebugString(input) {
|
|
1257
1259
|
if (typeof input !== "object" || input == null) {
|
|
1258
1260
|
return input;
|
|
@@ -1266,13 +1268,13 @@ function toDebugString(input) {
|
|
|
1266
1268
|
return JSON.stringify(input, null, 2);
|
|
1267
1269
|
}
|
|
1268
1270
|
|
|
1269
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1271
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
|
|
1270
1272
|
var customEndpointFunctions = {};
|
|
1271
1273
|
|
|
1272
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1274
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
|
|
1273
1275
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
1274
1276
|
|
|
1275
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1277
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
|
|
1276
1278
|
function coalesce(...args) {
|
|
1277
1279
|
for (const arg of args) {
|
|
1278
1280
|
if (arg != null) {
|
|
@@ -1282,7 +1284,7 @@ function coalesce(...args) {
|
|
|
1282
1284
|
return void 0;
|
|
1283
1285
|
}
|
|
1284
1286
|
|
|
1285
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1287
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
|
|
1286
1288
|
var getAttrPathList = (path) => {
|
|
1287
1289
|
const parts = path.split(".");
|
|
1288
1290
|
const pathList = [];
|
|
@@ -1307,7 +1309,7 @@ var getAttrPathList = (path) => {
|
|
|
1307
1309
|
return pathList;
|
|
1308
1310
|
};
|
|
1309
1311
|
|
|
1310
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1312
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
|
|
1311
1313
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
1312
1314
|
if (typeof acc !== "object") {
|
|
1313
1315
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -1318,22 +1320,22 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
1318
1320
|
return acc[index];
|
|
1319
1321
|
}, value);
|
|
1320
1322
|
|
|
1321
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1323
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
|
|
1322
1324
|
var isSet = (value) => value != null;
|
|
1323
1325
|
|
|
1324
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1326
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
|
|
1325
1327
|
function ite(condition, trueValue, falseValue) {
|
|
1326
1328
|
return condition ? trueValue : falseValue;
|
|
1327
1329
|
}
|
|
1328
1330
|
|
|
1329
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1331
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
|
|
1330
1332
|
var not = (value) => !value;
|
|
1331
1333
|
|
|
1332
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1334
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
|
|
1333
1335
|
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}$`);
|
|
1334
1336
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
1335
1337
|
|
|
1336
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1338
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
|
|
1337
1339
|
var DEFAULT_PORTS = {
|
|
1338
1340
|
[EndpointURLScheme.HTTP]: 80,
|
|
1339
1341
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -1380,7 +1382,7 @@ var parseURL = (value) => {
|
|
|
1380
1382
|
};
|
|
1381
1383
|
};
|
|
1382
1384
|
|
|
1383
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1385
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
|
|
1384
1386
|
function split(value, delimiter, limit) {
|
|
1385
1387
|
if (limit === 1) {
|
|
1386
1388
|
return [value];
|
|
@@ -1395,10 +1397,10 @@ function split(value, delimiter, limit) {
|
|
|
1395
1397
|
return parts.slice(0, limit - 1).concat(parts.slice(1).join(delimiter));
|
|
1396
1398
|
}
|
|
1397
1399
|
|
|
1398
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1400
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
|
|
1399
1401
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
1400
1402
|
|
|
1401
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1403
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
|
|
1402
1404
|
var substring = (input, start, stop, reverse) => {
|
|
1403
1405
|
if (input == null || start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
|
|
1404
1406
|
return null;
|
|
@@ -1409,10 +1411,10 @@ var substring = (input, start, stop, reverse) => {
|
|
|
1409
1411
|
return input.substring(input.length - stop, input.length - start);
|
|
1410
1412
|
};
|
|
1411
1413
|
|
|
1412
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1414
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
|
|
1413
1415
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
1414
1416
|
|
|
1415
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1417
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
|
|
1416
1418
|
var endpointFunctions = {
|
|
1417
1419
|
booleanEquals,
|
|
1418
1420
|
coalesce,
|
|
@@ -1428,7 +1430,7 @@ var endpointFunctions = {
|
|
|
1428
1430
|
uriEncode
|
|
1429
1431
|
};
|
|
1430
1432
|
|
|
1431
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1433
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
|
|
1432
1434
|
var evaluateTemplate = (template, options) => {
|
|
1433
1435
|
const evaluatedTemplateArr = [];
|
|
1434
1436
|
const { referenceRecord, endpointParams } = options;
|
|
@@ -1461,12 +1463,12 @@ var evaluateTemplate = (template, options) => {
|
|
|
1461
1463
|
return evaluatedTemplateArr.join("");
|
|
1462
1464
|
};
|
|
1463
1465
|
|
|
1464
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1466
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
|
|
1465
1467
|
var getReferenceValue = ({ ref }, options) => {
|
|
1466
1468
|
return options.referenceRecord[ref] ?? options.endpointParams[ref];
|
|
1467
1469
|
};
|
|
1468
1470
|
|
|
1469
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1471
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
|
|
1470
1472
|
var evaluateExpression = (obj, keyName, options) => {
|
|
1471
1473
|
if (typeof obj === "string") {
|
|
1472
1474
|
return evaluateTemplate(obj, options);
|
|
@@ -1506,7 +1508,7 @@ var group = {
|
|
|
1506
1508
|
callFunction
|
|
1507
1509
|
};
|
|
1508
1510
|
|
|
1509
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1511
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
|
|
1510
1512
|
var evaluateCondition = (condition, options) => {
|
|
1511
1513
|
const { assign } = condition;
|
|
1512
1514
|
if (assign && assign in options.referenceRecord) {
|
|
@@ -1521,7 +1523,7 @@ var evaluateCondition = (condition, options) => {
|
|
|
1521
1523
|
return { result };
|
|
1522
1524
|
};
|
|
1523
1525
|
|
|
1524
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1526
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
|
|
1525
1527
|
var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).reduce((acc, [headerKey, headerVal]) => {
|
|
1526
1528
|
acc[headerKey] = headerVal.map((headerValEntry) => {
|
|
1527
1529
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -1533,7 +1535,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers ?? {}).red
|
|
|
1533
1535
|
return acc;
|
|
1534
1536
|
}, {});
|
|
1535
1537
|
|
|
1536
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1538
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
|
|
1537
1539
|
var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
1538
1540
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
1539
1541
|
return acc;
|
|
@@ -1561,7 +1563,7 @@ var group2 = {
|
|
|
1561
1563
|
getEndpointProperties
|
|
1562
1564
|
};
|
|
1563
1565
|
|
|
1564
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1566
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
|
|
1565
1567
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
1566
1568
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1567
1569
|
if (typeof expression === "string") {
|
|
@@ -1575,7 +1577,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
1575
1577
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1576
1578
|
};
|
|
1577
1579
|
|
|
1578
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1580
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
|
|
1579
1581
|
var RESULT = 1e8;
|
|
1580
1582
|
var decideEndpoint = (bdd, options) => {
|
|
1581
1583
|
const { nodes, root, results, conditions } = bdd;
|
|
@@ -1613,13 +1615,13 @@ var decideEndpoint = (bdd, options) => {
|
|
|
1613
1615
|
throw new EndpointError(`No matching endpoint.`);
|
|
1614
1616
|
};
|
|
1615
1617
|
|
|
1616
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1618
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
|
|
1617
1619
|
var getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
|
|
1618
1620
|
var resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
|
|
1619
1621
|
var endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
|
|
1620
1622
|
var getEndpointPlugin = bindGetEndpointPlugin(getEndpointFromConfig);
|
|
1621
1623
|
|
|
1622
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1624
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js
|
|
1623
1625
|
var defaultErrorHandler = (signingProperties) => (error) => {
|
|
1624
1626
|
throw error;
|
|
1625
1627
|
};
|
|
@@ -1643,7 +1645,7 @@ var httpSigningMiddleware = (config) => (next, context) => async (args) => {
|
|
|
1643
1645
|
return output;
|
|
1644
1646
|
};
|
|
1645
1647
|
|
|
1646
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1648
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.js
|
|
1647
1649
|
var httpSigningMiddlewareOptions = {
|
|
1648
1650
|
step: "finalizeRequest",
|
|
1649
1651
|
tags: ["HTTP_SIGNING"],
|
|
@@ -1659,7 +1661,7 @@ var getHttpSigningPlugin = (config) => ({
|
|
|
1659
1661
|
}
|
|
1660
1662
|
});
|
|
1661
1663
|
|
|
1662
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1664
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js
|
|
1663
1665
|
var DefaultIdentityProviderConfig = class {
|
|
1664
1666
|
authSchemes = /* @__PURE__ */ new Map();
|
|
1665
1667
|
constructor(config) {
|
|
@@ -1678,14 +1680,14 @@ var DefaultIdentityProviderConfig = class {
|
|
|
1678
1680
|
}
|
|
1679
1681
|
};
|
|
1680
1682
|
|
|
1681
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1683
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.js
|
|
1682
1684
|
var NoAuthSigner = class {
|
|
1683
1685
|
async sign(httpRequest, identity, signingProperties) {
|
|
1684
1686
|
return httpRequest;
|
|
1685
1687
|
}
|
|
1686
1688
|
};
|
|
1687
1689
|
|
|
1688
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1690
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js
|
|
1689
1691
|
var THROTTLING_ERROR_CODES = [
|
|
1690
1692
|
"BandwidthLimitExceeded",
|
|
1691
1693
|
"EC2ThrottledException",
|
|
@@ -1707,7 +1709,7 @@ var TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
|
|
1707
1709
|
var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];
|
|
1708
1710
|
var NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND", "EAI_AGAIN"];
|
|
1709
1711
|
|
|
1710
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1712
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js
|
|
1711
1713
|
var isRetryableByTrait = (error) => error?.$retryable !== void 0;
|
|
1712
1714
|
var isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCorrected;
|
|
1713
1715
|
var isBrowserNetworkError = (error) => {
|
|
@@ -1740,7 +1742,7 @@ function isNodeJsHttp2TransientError(error) {
|
|
|
1740
1742
|
return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
|
|
1741
1743
|
}
|
|
1742
1744
|
|
|
1743
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1745
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js
|
|
1744
1746
|
var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
1745
1747
|
static setTimeoutFn = (fn, delay) => setTimeout(fn, delay);
|
|
1746
1748
|
beta;
|
|
@@ -1851,34 +1853,34 @@ var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
1851
1853
|
}
|
|
1852
1854
|
};
|
|
1853
1855
|
|
|
1854
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1856
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/constants.js
|
|
1855
1857
|
var MAXIMUM_RETRY_DELAY = 20 * 1e3;
|
|
1856
1858
|
var INITIAL_RETRY_TOKENS = 500;
|
|
1857
1859
|
var NO_RETRY_INCREMENT = 1;
|
|
1858
1860
|
var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
1859
1861
|
var REQUEST_HEADER = "amz-sdk-request";
|
|
1860
1862
|
|
|
1861
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1862
|
-
var Retry = class
|
|
1863
|
-
static v2026 =
|
|
1863
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/retries-2026-config.js
|
|
1864
|
+
var Retry = class {
|
|
1865
|
+
static v2026 = true;
|
|
1864
1866
|
static delay() {
|
|
1865
|
-
return
|
|
1867
|
+
return 50;
|
|
1866
1868
|
}
|
|
1867
1869
|
static throttlingDelay() {
|
|
1868
|
-
return
|
|
1870
|
+
return 1e3;
|
|
1869
1871
|
}
|
|
1870
1872
|
static cost() {
|
|
1871
|
-
return
|
|
1873
|
+
return 14;
|
|
1872
1874
|
}
|
|
1873
1875
|
static throttlingCost() {
|
|
1874
|
-
return
|
|
1876
|
+
return 5;
|
|
1875
1877
|
}
|
|
1876
1878
|
static modifiedCostType() {
|
|
1877
|
-
return
|
|
1879
|
+
return "THROTTLING";
|
|
1878
1880
|
}
|
|
1879
1881
|
};
|
|
1880
1882
|
|
|
1881
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1883
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryBackoffStrategy.js
|
|
1882
1884
|
var DefaultRetryBackoffStrategy = class {
|
|
1883
1885
|
x = Retry.delay();
|
|
1884
1886
|
computeNextBackoffDelay(i) {
|
|
@@ -1892,7 +1894,7 @@ var DefaultRetryBackoffStrategy = class {
|
|
|
1892
1894
|
}
|
|
1893
1895
|
};
|
|
1894
1896
|
|
|
1895
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1897
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js
|
|
1896
1898
|
var DefaultRetryToken = class {
|
|
1897
1899
|
delay;
|
|
1898
1900
|
count;
|
|
@@ -1921,7 +1923,7 @@ var DefaultRetryToken = class {
|
|
|
1921
1923
|
}
|
|
1922
1924
|
};
|
|
1923
1925
|
|
|
1924
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1926
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/config.js
|
|
1925
1927
|
var RETRY_MODES;
|
|
1926
1928
|
(function(RETRY_MODES2) {
|
|
1927
1929
|
RETRY_MODES2["STANDARD"] = "standard";
|
|
@@ -1930,7 +1932,7 @@ var RETRY_MODES;
|
|
|
1930
1932
|
var DEFAULT_MAX_ATTEMPTS = 3;
|
|
1931
1933
|
var DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
1932
1934
|
|
|
1933
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1935
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js
|
|
1934
1936
|
var refusal = {
|
|
1935
1937
|
incompatible: 1,
|
|
1936
1938
|
attempts: 2,
|
|
@@ -1957,7 +1959,7 @@ var StandardRetryStrategy = class {
|
|
|
1957
1959
|
this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
|
|
1958
1960
|
}
|
|
1959
1961
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
1960
|
-
return new DefaultRetryToken(Retry.delay(), 0, void 0,
|
|
1962
|
+
return new DefaultRetryToken(Retry.delay(), 0, void 0, retryTokenScope.includes(":longpoll"));
|
|
1961
1963
|
}
|
|
1962
1964
|
async refreshRetryTokenForRetry(token, errorInfo) {
|
|
1963
1965
|
const maxAttempts = await this.getMaxAttempts();
|
|
@@ -1973,7 +1975,7 @@ var StandardRetryStrategy = class {
|
|
|
1973
1975
|
retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5e3));
|
|
1974
1976
|
}
|
|
1975
1977
|
if (!shouldRetry) {
|
|
1976
|
-
const longPollBackoff =
|
|
1978
|
+
const longPollBackoff = retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
|
|
1977
1979
|
if (longPollBackoff > 0) {
|
|
1978
1980
|
await new Promise((r) => setTimeout(r, longPollBackoff));
|
|
1979
1981
|
}
|
|
@@ -2020,7 +2022,7 @@ var StandardRetryStrategy = class {
|
|
|
2020
2022
|
}
|
|
2021
2023
|
};
|
|
2022
2024
|
|
|
2023
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2025
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/AdaptiveRetryStrategy.js
|
|
2024
2026
|
var AdaptiveRetryStrategy = class {
|
|
2025
2027
|
mode = RETRY_MODES.ADAPTIVE;
|
|
2026
2028
|
rateLimiter;
|
|
@@ -2053,7 +2055,7 @@ var AdaptiveRetryStrategy = class {
|
|
|
2053
2055
|
}
|
|
2054
2056
|
};
|
|
2055
2057
|
|
|
2056
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2058
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js
|
|
2057
2059
|
var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
2058
2060
|
var CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
2059
2061
|
var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
@@ -2113,11 +2115,11 @@ var NODE_RETRY_MODE_CONFIG_OPTIONS = {
|
|
|
2113
2115
|
default: DEFAULT_RETRY_MODE
|
|
2114
2116
|
};
|
|
2115
2117
|
|
|
2116
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2118
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.js
|
|
2117
2119
|
import { Readable } from "stream";
|
|
2118
2120
|
var isStreamingPayload = (request) => request?.body instanceof Readable || typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream;
|
|
2119
2121
|
|
|
2120
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2122
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js
|
|
2121
2123
|
var race = (promise, signal) => {
|
|
2122
2124
|
if (!signal) {
|
|
2123
2125
|
return promise;
|
|
@@ -2140,7 +2142,7 @@ var race = (promise, signal) => {
|
|
|
2140
2142
|
var createAbortError = () => Object.assign(new Error("Request aborted"), { name: "AbortError" });
|
|
2141
2143
|
var isAbortError = (error) => typeof error === "object" && error !== null && "name" in error && error.name === "AbortError";
|
|
2142
2144
|
|
|
2143
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2145
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js
|
|
2144
2146
|
function parseRetryAfterHeader(response, logger) {
|
|
2145
2147
|
if (!HttpResponse.isInstance(response)) {
|
|
2146
2148
|
return;
|
|
@@ -2184,7 +2186,7 @@ function parseRetryAfterHeader(response, logger) {
|
|
|
2184
2186
|
}
|
|
2185
2187
|
}
|
|
2186
2188
|
|
|
2187
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2189
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js
|
|
2188
2190
|
var asSdkError = (error) => {
|
|
2189
2191
|
if (error instanceof Error) {
|
|
2190
2192
|
return error;
|
|
@@ -2198,7 +2200,7 @@ var asSdkError = (error) => {
|
|
|
2198
2200
|
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
2199
2201
|
};
|
|
2200
2202
|
|
|
2201
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2203
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js
|
|
2202
2204
|
function bindRetryMiddleware(isStreamingPayload2) {
|
|
2203
2205
|
return (options) => (next, context) => async (args) => {
|
|
2204
2206
|
let retryStrategy = await options.retryStrategy();
|
|
@@ -2303,14 +2305,14 @@ function bindGetRetryPlugin(isStreamingPayload2) {
|
|
|
2303
2305
|
});
|
|
2304
2306
|
}
|
|
2305
2307
|
|
|
2306
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
2308
|
+
// ../../node_modules/.pnpm/@smithy+core@3.41.0/node_modules/@smithy/core/dist-es/submodules/retry/index.js
|
|
2307
2309
|
var retryMiddleware = bindRetryMiddleware(isStreamingPayload);
|
|
2308
2310
|
var getRetryPlugin = bindGetRetryPlugin(isStreamingPayload);
|
|
2309
2311
|
|
|
2310
|
-
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.
|
|
2312
|
+
// ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.998.4/node_modules/@aws-sdk/nested-clients/package.json
|
|
2311
2313
|
var package_default = {
|
|
2312
2314
|
name: "@aws-sdk/nested-clients",
|
|
2313
|
-
version: "3.998.
|
|
2315
|
+
version: "3.998.4",
|
|
2314
2316
|
description: "Nested clients for AWS SDK packages.",
|
|
2315
2317
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
2316
2318
|
license: "Apache-2.0",
|
|
@@ -2410,13 +2412,13 @@ var package_default = {
|
|
|
2410
2412
|
"test:watch": "yarn g:vitest watch"
|
|
2411
2413
|
},
|
|
2412
2414
|
dependencies: {
|
|
2413
|
-
"@aws-sdk/core": "^3.
|
|
2414
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
2415
|
-
"@aws-sdk/types": "^3.975.
|
|
2416
|
-
"@smithy/core": "^3.
|
|
2417
|
-
"@smithy/fetch-http-handler": "^5.8.
|
|
2418
|
-
"@smithy/node-http-handler": "^4.14.
|
|
2419
|
-
"@smithy/types": "^4.
|
|
2415
|
+
"@aws-sdk/core": "^3.981.1",
|
|
2416
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
|
2417
|
+
"@aws-sdk/types": "^3.975.1",
|
|
2418
|
+
"@smithy/core": "^3.40.0",
|
|
2419
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
2420
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
2421
|
+
"@smithy/types": "^4.20.0",
|
|
2420
2422
|
tslib: "^2.6.2"
|
|
2421
2423
|
},
|
|
2422
2424
|
devDependencies: {
|