@continuous-excellence/ze-great-dashboard-aws 0.31.50 → 0.31.51
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/lambda.mjs +262 -109
- package/package.json +1 -1
package/dist/lambda.mjs
CHANGED
|
@@ -271,8 +271,9 @@ var init_MiddlewareStack = __esm({
|
|
|
271
271
|
const aliases = getAllAliases(name, _aliases);
|
|
272
272
|
if (aliases.length > 0) {
|
|
273
273
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
274
|
-
if (!override)
|
|
274
|
+
if (!override) {
|
|
275
275
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
276
|
+
}
|
|
276
277
|
for (const alias of aliases) {
|
|
277
278
|
const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a5) => a5 === alias));
|
|
278
279
|
if (toOverrideIndex === -1) {
|
|
@@ -300,8 +301,9 @@ var init_MiddlewareStack = __esm({
|
|
|
300
301
|
const aliases = getAllAliases(name, _aliases);
|
|
301
302
|
if (aliases.length > 0) {
|
|
302
303
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
303
|
-
if (!override)
|
|
304
|
+
if (!override) {
|
|
304
305
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
306
|
+
}
|
|
305
307
|
for (const alias of aliases) {
|
|
306
308
|
const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a5) => a5 === alias));
|
|
307
309
|
if (toOverrideIndex === -1) {
|
|
@@ -325,10 +327,11 @@ var init_MiddlewareStack = __esm({
|
|
|
325
327
|
plugin.applyToStack(stack);
|
|
326
328
|
},
|
|
327
329
|
remove: (toRemove) => {
|
|
328
|
-
if (typeof toRemove === "string")
|
|
330
|
+
if (typeof toRemove === "string") {
|
|
329
331
|
return removeByName(toRemove);
|
|
330
|
-
else
|
|
332
|
+
} else {
|
|
331
333
|
return removeByReference(toRemove);
|
|
334
|
+
}
|
|
332
335
|
},
|
|
333
336
|
removeByTag: (toRemove) => {
|
|
334
337
|
let isRemoved = false;
|
|
@@ -362,8 +365,9 @@ var init_MiddlewareStack = __esm({
|
|
|
362
365
|
});
|
|
363
366
|
},
|
|
364
367
|
identifyOnResolve(toggle) {
|
|
365
|
-
if (typeof toggle === "boolean")
|
|
368
|
+
if (typeof toggle === "boolean") {
|
|
366
369
|
identifyOnResolve = toggle;
|
|
370
|
+
}
|
|
367
371
|
return identifyOnResolve;
|
|
368
372
|
},
|
|
369
373
|
resolve: (handler2, context) => {
|
|
@@ -582,8 +586,9 @@ var init_httpResponse = __esm({
|
|
|
582
586
|
this.body = options.body;
|
|
583
587
|
}
|
|
584
588
|
static isInstance(response) {
|
|
585
|
-
if (!response)
|
|
589
|
+
if (!response) {
|
|
586
590
|
return false;
|
|
591
|
+
}
|
|
587
592
|
const resp = response;
|
|
588
593
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
589
594
|
}
|
|
@@ -626,8 +631,9 @@ var normalizeProvider;
|
|
|
626
631
|
var init_normalizeProvider = __esm({
|
|
627
632
|
"node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js"() {
|
|
628
633
|
normalizeProvider = (input2) => {
|
|
629
|
-
if (typeof input2 === "function")
|
|
634
|
+
if (typeof input2 === "function") {
|
|
630
635
|
return input2;
|
|
636
|
+
}
|
|
631
637
|
const promisified = Promise.resolve(input2);
|
|
632
638
|
return () => promisified;
|
|
633
639
|
};
|
|
@@ -699,8 +705,9 @@ var init_toEndpointV1 = __esm({
|
|
|
699
705
|
if (endpoint.headers) {
|
|
700
706
|
v1Endpoint.headers = {};
|
|
701
707
|
for (const name in endpoint.headers) {
|
|
702
|
-
if (!hasOwn(endpoint.headers, name))
|
|
708
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
703
709
|
continue;
|
|
710
|
+
}
|
|
704
711
|
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
705
712
|
}
|
|
706
713
|
}
|
|
@@ -2066,8 +2073,9 @@ var init_create_aggregated_client = __esm({
|
|
|
2066
2073
|
if (typeof optionsOrCb === "function") {
|
|
2067
2074
|
this.send(command6, optionsOrCb);
|
|
2068
2075
|
} else if (typeof cb === "function") {
|
|
2069
|
-
if (typeof optionsOrCb !== "object")
|
|
2076
|
+
if (typeof optionsOrCb !== "object") {
|
|
2070
2077
|
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
2078
|
+
}
|
|
2071
2079
|
this.send(command6, optionsOrCb || {}, cb);
|
|
2072
2080
|
} else {
|
|
2073
2081
|
return this.send(command6, optionsOrCb);
|
|
@@ -2125,14 +2133,16 @@ var init_exceptions = __esm({
|
|
|
2125
2133
|
this.$metadata = options.$metadata;
|
|
2126
2134
|
}
|
|
2127
2135
|
static isInstance(value) {
|
|
2128
|
-
if (!value)
|
|
2136
|
+
if (!value) {
|
|
2129
2137
|
return false;
|
|
2138
|
+
}
|
|
2130
2139
|
const candidate = value;
|
|
2131
2140
|
return _ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
|
2132
2141
|
}
|
|
2133
2142
|
static [Symbol.hasInstance](instance) {
|
|
2134
|
-
if (!instance)
|
|
2143
|
+
if (!instance) {
|
|
2135
2144
|
return false;
|
|
2145
|
+
}
|
|
2136
2146
|
const candidate = instance;
|
|
2137
2147
|
if (this === _ServiceException) {
|
|
2138
2148
|
return _ServiceException.isInstance(instance);
|
|
@@ -2277,8 +2287,9 @@ var init_checksum = __esm({
|
|
|
2277
2287
|
getChecksumConfiguration = (runtimeConfig) => {
|
|
2278
2288
|
const checksumAlgorithms = [];
|
|
2279
2289
|
for (const id in import_types3.AlgorithmId) {
|
|
2280
|
-
if (!hasOwn(import_types3.AlgorithmId, id))
|
|
2290
|
+
if (!hasOwn(import_types3.AlgorithmId, id)) {
|
|
2281
2291
|
continue;
|
|
2292
|
+
}
|
|
2282
2293
|
const algorithmId = import_types3.AlgorithmId[id];
|
|
2283
2294
|
if (runtimeConfig[algorithmId] === void 0) {
|
|
2284
2295
|
continue;
|
|
@@ -2378,8 +2389,9 @@ var init_get_value_from_text_node = __esm({
|
|
|
2378
2389
|
getValueFromTextNode = (obj) => {
|
|
2379
2390
|
const textNodeName = "#text";
|
|
2380
2391
|
for (const key in obj) {
|
|
2381
|
-
if (!hasOwn(obj, key))
|
|
2392
|
+
if (!hasOwn(obj, key)) {
|
|
2382
2393
|
continue;
|
|
2394
|
+
}
|
|
2383
2395
|
if (obj[key][textNodeName] !== void 0) {
|
|
2384
2396
|
obj[key] = obj[key][textNodeName];
|
|
2385
2397
|
} else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
@@ -2439,8 +2451,9 @@ function map3(arg0, arg1, arg2) {
|
|
|
2439
2451
|
}
|
|
2440
2452
|
}
|
|
2441
2453
|
for (const key in instructions) {
|
|
2442
|
-
if (!hasOwn(instructions, key))
|
|
2454
|
+
if (!hasOwn(instructions, key)) {
|
|
2443
2455
|
continue;
|
|
2456
|
+
}
|
|
2444
2457
|
if (!Array.isArray(instructions[key])) {
|
|
2445
2458
|
target[key] = instructions[key];
|
|
2446
2459
|
continue;
|
|
@@ -2463,8 +2476,9 @@ var init_object_mapping = __esm({
|
|
|
2463
2476
|
take = (source, instructions) => {
|
|
2464
2477
|
const out = {};
|
|
2465
2478
|
for (const key in instructions) {
|
|
2466
|
-
if (!hasOwn(instructions, key))
|
|
2479
|
+
if (!hasOwn(instructions, key)) {
|
|
2467
2480
|
continue;
|
|
2481
|
+
}
|
|
2468
2482
|
applyInstruction(out, source, instructions, key);
|
|
2469
2483
|
}
|
|
2470
2484
|
return out;
|
|
@@ -2554,8 +2568,9 @@ var init_serde_json = __esm({
|
|
|
2554
2568
|
if (typeof obj === "object") {
|
|
2555
2569
|
const target = {};
|
|
2556
2570
|
for (const key in obj) {
|
|
2557
|
-
if (!hasOwn(obj, key))
|
|
2571
|
+
if (!hasOwn(obj, key)) {
|
|
2558
2572
|
continue;
|
|
2573
|
+
}
|
|
2559
2574
|
if (obj[key] == null) {
|
|
2560
2575
|
continue;
|
|
2561
2576
|
}
|
|
@@ -2958,8 +2973,9 @@ var init_parse_utils = __esm({
|
|
|
2958
2973
|
const asObject = expectObject(value);
|
|
2959
2974
|
const setKeys = [];
|
|
2960
2975
|
for (const k5 in asObject) {
|
|
2961
|
-
if (!hasOwn(asObject, k5))
|
|
2976
|
+
if (!hasOwn(asObject, k5)) {
|
|
2962
2977
|
continue;
|
|
2978
|
+
}
|
|
2963
2979
|
if (asObject[k5] != null) {
|
|
2964
2980
|
setKeys.push(k5);
|
|
2965
2981
|
}
|
|
@@ -3819,12 +3835,15 @@ var booleanSelector;
|
|
|
3819
3835
|
var init_booleanSelector = __esm({
|
|
3820
3836
|
"node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js"() {
|
|
3821
3837
|
booleanSelector = (obj, key, type) => {
|
|
3822
|
-
if (!(key in obj))
|
|
3838
|
+
if (!(key in obj)) {
|
|
3823
3839
|
return void 0;
|
|
3824
|
-
|
|
3840
|
+
}
|
|
3841
|
+
if (obj[key] === "true") {
|
|
3825
3842
|
return true;
|
|
3826
|
-
|
|
3843
|
+
}
|
|
3844
|
+
if (obj[key] === "false") {
|
|
3827
3845
|
return false;
|
|
3846
|
+
}
|
|
3828
3847
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
3829
3848
|
};
|
|
3830
3849
|
}
|
|
@@ -3835,8 +3854,9 @@ var numberSelector;
|
|
|
3835
3854
|
var init_numberSelector = __esm({
|
|
3836
3855
|
"node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js"() {
|
|
3837
3856
|
numberSelector = (obj, key, type) => {
|
|
3838
|
-
if (!(key in obj))
|
|
3857
|
+
if (!(key in obj)) {
|
|
3839
3858
|
return void 0;
|
|
3859
|
+
}
|
|
3840
3860
|
const numberValue = parseInt(obj[key], 10);
|
|
3841
3861
|
if (Number.isNaN(numberValue)) {
|
|
3842
3862
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -3872,15 +3892,19 @@ var init_getHomeDir = __esm({
|
|
|
3872
3892
|
};
|
|
3873
3893
|
getHomeDir = () => {
|
|
3874
3894
|
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
|
|
3875
|
-
if (HOME)
|
|
3895
|
+
if (HOME) {
|
|
3876
3896
|
return HOME;
|
|
3877
|
-
|
|
3897
|
+
}
|
|
3898
|
+
if (USERPROFILE) {
|
|
3878
3899
|
return USERPROFILE;
|
|
3879
|
-
|
|
3900
|
+
}
|
|
3901
|
+
if (HOMEPATH) {
|
|
3880
3902
|
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
3903
|
+
}
|
|
3881
3904
|
const homeDirCacheKey = getHomeDirCacheKey();
|
|
3882
|
-
if (!homeDirCache[homeDirCacheKey])
|
|
3905
|
+
if (!homeDirCache[homeDirCacheKey]) {
|
|
3883
3906
|
homeDirCache[homeDirCacheKey] = homedir();
|
|
3907
|
+
}
|
|
3884
3908
|
return homeDirCache[homeDirCacheKey];
|
|
3885
3909
|
};
|
|
3886
3910
|
}
|
|
@@ -4813,11 +4837,13 @@ var init_getEndpointUrlConfig = __esm({
|
|
|
4813
4837
|
environmentVariableSelector: (env2) => {
|
|
4814
4838
|
const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
|
|
4815
4839
|
const serviceEndpointUrl = env2[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
|
|
4816
|
-
if (serviceEndpointUrl)
|
|
4840
|
+
if (serviceEndpointUrl) {
|
|
4817
4841
|
return serviceEndpointUrl;
|
|
4842
|
+
}
|
|
4818
4843
|
const endpointUrl = env2[ENV_ENDPOINT_URL];
|
|
4819
|
-
if (endpointUrl)
|
|
4844
|
+
if (endpointUrl) {
|
|
4820
4845
|
return endpointUrl;
|
|
4846
|
+
}
|
|
4821
4847
|
return void 0;
|
|
4822
4848
|
},
|
|
4823
4849
|
configFileSelector: (profile, config2) => {
|
|
@@ -4829,12 +4855,14 @@ var init_getEndpointUrlConfig = __esm({
|
|
|
4829
4855
|
const servicesSection = config2[servicesSectionKey];
|
|
4830
4856
|
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
4831
4857
|
const endpointUrl2 = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
4832
|
-
if (endpointUrl2)
|
|
4858
|
+
if (endpointUrl2) {
|
|
4833
4859
|
return endpointUrl2;
|
|
4860
|
+
}
|
|
4834
4861
|
}
|
|
4835
4862
|
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
|
4836
|
-
if (endpointUrl)
|
|
4863
|
+
if (endpointUrl) {
|
|
4837
4864
|
return endpointUrl;
|
|
4865
|
+
}
|
|
4838
4866
|
return void 0;
|
|
4839
4867
|
},
|
|
4840
4868
|
default: void 0
|
|
@@ -5968,8 +5996,9 @@ var init_resolveEndpoint = __esm({
|
|
|
5968
5996
|
const { parameters, rules } = ruleSetObject;
|
|
5969
5997
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
5970
5998
|
for (const paramKey in parameters) {
|
|
5971
|
-
if (!hasOwn(parameters, paramKey))
|
|
5999
|
+
if (!hasOwn(parameters, paramKey)) {
|
|
5972
6000
|
continue;
|
|
6001
|
+
}
|
|
5973
6002
|
const parameter = parameters[paramKey];
|
|
5974
6003
|
const endpointParam = endpointParams[paramKey];
|
|
5975
6004
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -6981,6 +7010,15 @@ var init_splitStream = __esm({
|
|
|
6981
7010
|
}
|
|
6982
7011
|
});
|
|
6983
7012
|
|
|
7013
|
+
// node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js
|
|
7014
|
+
function writeKey(obj) {
|
|
7015
|
+
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
7016
|
+
}
|
|
7017
|
+
var init_writeKey = __esm({
|
|
7018
|
+
"node_modules/@smithy/core/dist-es/submodules/serde/writeKey.js"() {
|
|
7019
|
+
}
|
|
7020
|
+
});
|
|
7021
|
+
|
|
6984
7022
|
// node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
6985
7023
|
var serde_exports = {};
|
|
6986
7024
|
__export(serde_exports, {
|
|
@@ -7056,7 +7094,8 @@ __export(serde_exports, {
|
|
|
7056
7094
|
toHex: () => toHex,
|
|
7057
7095
|
toUint8Array: () => toUint8Array,
|
|
7058
7096
|
toUtf8: () => toUtf8,
|
|
7059
|
-
v4: () => v4
|
|
7097
|
+
v4: () => v4,
|
|
7098
|
+
writeKey: () => writeKey
|
|
7060
7099
|
});
|
|
7061
7100
|
import { getRandomValues } from "node:crypto";
|
|
7062
7101
|
var Uint8ArrayBlobAdapter, _getRandomValues, v4, generateIdempotencyToken;
|
|
@@ -7097,6 +7136,7 @@ var init_serde = __esm({
|
|
|
7097
7136
|
init_stream_type_check();
|
|
7098
7137
|
init_stream_collector();
|
|
7099
7138
|
init_transport();
|
|
7139
|
+
init_writeKey();
|
|
7100
7140
|
Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
7101
7141
|
};
|
|
7102
7142
|
_getRandomValues = getRandomValues;
|
|
@@ -7876,8 +7916,9 @@ function negate(bytes) {
|
|
|
7876
7916
|
}
|
|
7877
7917
|
for (let i6 = 7; i6 > -1; i6--) {
|
|
7878
7918
|
bytes[i6]++;
|
|
7879
|
-
if (bytes[i6] !== 0)
|
|
7919
|
+
if (bytes[i6] !== 0) {
|
|
7880
7920
|
break;
|
|
7921
|
+
}
|
|
7881
7922
|
}
|
|
7882
7923
|
}
|
|
7883
7924
|
var Int64;
|
|
@@ -7937,8 +7978,9 @@ var init_HeaderMarshaller = __esm({
|
|
|
7937
7978
|
format(headers) {
|
|
7938
7979
|
const chunks = [];
|
|
7939
7980
|
for (const headerName in headers) {
|
|
7940
|
-
if (!hasOwn(headers, headerName))
|
|
7981
|
+
if (!hasOwn(headers, headerName)) {
|
|
7941
7982
|
continue;
|
|
7983
|
+
}
|
|
7942
7984
|
const bytes = this.fromUtf8(headerName);
|
|
7943
7985
|
if (bytes.byteLength > 255) {
|
|
7944
7986
|
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
@@ -8297,8 +8339,9 @@ var init_SmithyMessageDecoderStream = __esm({
|
|
|
8297
8339
|
async *asyncIterator() {
|
|
8298
8340
|
for await (const message2 of this.options.messageStream) {
|
|
8299
8341
|
const deserialized = await this.options.deserializer(message2);
|
|
8300
|
-
if (deserialized === void 0)
|
|
8342
|
+
if (deserialized === void 0) {
|
|
8301
8343
|
continue;
|
|
8344
|
+
}
|
|
8302
8345
|
yield deserialized;
|
|
8303
8346
|
}
|
|
8304
8347
|
}
|
|
@@ -8406,8 +8449,9 @@ function getUnmarshalledStream(source, options) {
|
|
|
8406
8449
|
for await (const chunk of source) {
|
|
8407
8450
|
const message2 = options.eventStreamCodec.decode(chunk);
|
|
8408
8451
|
const type = await messageUnmarshaller(message2);
|
|
8409
|
-
if (type === void 0)
|
|
8452
|
+
if (type === void 0) {
|
|
8410
8453
|
continue;
|
|
8454
|
+
}
|
|
8411
8455
|
yield type;
|
|
8412
8456
|
}
|
|
8413
8457
|
}
|
|
@@ -8435,8 +8479,9 @@ function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
|
8435
8479
|
[message2.headers[":event-type"].value]: message2
|
|
8436
8480
|
};
|
|
8437
8481
|
const deserialized = await deserializer(event);
|
|
8438
|
-
if (deserialized.$unknown)
|
|
8482
|
+
if (deserialized.$unknown) {
|
|
8439
8483
|
return;
|
|
8484
|
+
}
|
|
8440
8485
|
return deserialized;
|
|
8441
8486
|
} else {
|
|
8442
8487
|
throw Error(`Unrecognizable event type: ${message2.headers[":event-type"].value}`);
|
|
@@ -8547,8 +8592,9 @@ var init_utils2 = __esm({
|
|
|
8547
8592
|
try {
|
|
8548
8593
|
while (true) {
|
|
8549
8594
|
const { done, value } = await reader.read();
|
|
8550
|
-
if (done)
|
|
8595
|
+
if (done) {
|
|
8551
8596
|
return;
|
|
8597
|
+
}
|
|
8552
8598
|
yield value;
|
|
8553
8599
|
}
|
|
8554
8600
|
} finally {
|
|
@@ -8640,8 +8686,9 @@ var init_EventStreamSerde = __esm({
|
|
|
8640
8686
|
}
|
|
8641
8687
|
let unionMember = "";
|
|
8642
8688
|
for (const key in event) {
|
|
8643
|
-
if (!hasOwn(event, key))
|
|
8689
|
+
if (!hasOwn(event, key)) {
|
|
8644
8690
|
continue;
|
|
8691
|
+
}
|
|
8645
8692
|
if (key !== "__type") {
|
|
8646
8693
|
unionMember = key;
|
|
8647
8694
|
break;
|
|
@@ -8669,8 +8716,9 @@ var init_EventStreamSerde = __esm({
|
|
|
8669
8716
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
8670
8717
|
let unionMember = "";
|
|
8671
8718
|
for (const key in event) {
|
|
8672
|
-
if (!hasOwn(event, key))
|
|
8719
|
+
if (!hasOwn(event, key)) {
|
|
8673
8720
|
continue;
|
|
8721
|
+
}
|
|
8674
8722
|
if (key !== "__type") {
|
|
8675
8723
|
unionMember = key;
|
|
8676
8724
|
break;
|
|
@@ -8738,8 +8786,9 @@ var init_EventStreamSerde = __esm({
|
|
|
8738
8786
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
8739
8787
|
}
|
|
8740
8788
|
for (const key in firstEvent.value) {
|
|
8741
|
-
if (!hasOwn(firstEvent.value, key))
|
|
8789
|
+
if (!hasOwn(firstEvent.value, key)) {
|
|
8742
8790
|
continue;
|
|
8791
|
+
}
|
|
8743
8792
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
8744
8793
|
}
|
|
8745
8794
|
}
|
|
@@ -8948,8 +8997,9 @@ var init_HttpProtocol = __esm({
|
|
|
8948
8997
|
}
|
|
8949
8998
|
if (endpoint.headers) {
|
|
8950
8999
|
for (const name in endpoint.headers) {
|
|
8951
|
-
if (!hasOwn(endpoint.headers, name))
|
|
9000
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
8952
9001
|
continue;
|
|
9002
|
+
}
|
|
8953
9003
|
request.headers[name] = endpoint.headers[name].join(", ");
|
|
8954
9004
|
}
|
|
8955
9005
|
}
|
|
@@ -8964,8 +9014,9 @@ var init_HttpProtocol = __esm({
|
|
|
8964
9014
|
};
|
|
8965
9015
|
if (endpoint.headers) {
|
|
8966
9016
|
for (const name in endpoint.headers) {
|
|
8967
|
-
if (!hasOwn(endpoint.headers, name))
|
|
9017
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
8968
9018
|
continue;
|
|
9019
|
+
}
|
|
8969
9020
|
request.headers[name] = endpoint.headers[name];
|
|
8970
9021
|
}
|
|
8971
9022
|
}
|
|
@@ -9194,8 +9245,9 @@ var init_HttpBindingProtocol = __esm({
|
|
|
9194
9245
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
9195
9246
|
} else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
9196
9247
|
for (const key in inputMemberValue) {
|
|
9197
|
-
if (!hasOwn(inputMemberValue, key))
|
|
9248
|
+
if (!hasOwn(inputMemberValue, key)) {
|
|
9198
9249
|
continue;
|
|
9250
|
+
}
|
|
9199
9251
|
const val = inputMemberValue[key];
|
|
9200
9252
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
9201
9253
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
@@ -9239,8 +9291,9 @@ var init_HttpBindingProtocol = __esm({
|
|
|
9239
9291
|
const traits = ns.getMergedTraits();
|
|
9240
9292
|
if (traits.httpQueryParams) {
|
|
9241
9293
|
for (const key in data) {
|
|
9242
|
-
if (!hasOwn(data, key))
|
|
9294
|
+
if (!hasOwn(data, key)) {
|
|
9243
9295
|
continue;
|
|
9296
|
+
}
|
|
9244
9297
|
if (!(key in query)) {
|
|
9245
9298
|
const val = data[key];
|
|
9246
9299
|
const valueSchema = ns.getValueSchema();
|
|
@@ -9283,8 +9336,9 @@ var init_HttpBindingProtocol = __esm({
|
|
|
9283
9336
|
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
9284
9337
|
}
|
|
9285
9338
|
for (const header in response.headers) {
|
|
9286
|
-
if (!hasOwn(response.headers, header))
|
|
9339
|
+
if (!hasOwn(response.headers, header)) {
|
|
9287
9340
|
continue;
|
|
9341
|
+
}
|
|
9288
9342
|
const value = response.headers[header];
|
|
9289
9343
|
delete response.headers[header];
|
|
9290
9344
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -9363,8 +9417,9 @@ var init_HttpBindingProtocol = __esm({
|
|
|
9363
9417
|
} else if (memberTraits.httpPrefixHeaders !== void 0) {
|
|
9364
9418
|
dataObject[memberName] = {};
|
|
9365
9419
|
for (const header in response.headers) {
|
|
9366
|
-
if (!hasOwn(response.headers, header))
|
|
9420
|
+
if (!hasOwn(response.headers, header)) {
|
|
9367
9421
|
continue;
|
|
9422
|
+
}
|
|
9368
9423
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
9369
9424
|
const value = response.headers[header];
|
|
9370
9425
|
const valueSchema = memberSchema.getValueSchema();
|
|
@@ -9458,8 +9513,9 @@ var init_RpcProtocol = __esm({
|
|
|
9458
9513
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
9459
9514
|
}
|
|
9460
9515
|
for (const header in response.headers) {
|
|
9461
|
-
if (!hasOwn(response.headers, header))
|
|
9516
|
+
if (!hasOwn(response.headers, header)) {
|
|
9462
9517
|
continue;
|
|
9518
|
+
}
|
|
9463
9519
|
const value = response.headers[header];
|
|
9464
9520
|
delete response.headers[header];
|
|
9465
9521
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -9962,6 +10018,9 @@ var init_httpExtensionConfiguration = __esm({
|
|
|
9962
10018
|
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
9963
10019
|
runtimeConfig.requestHandler?.updateHttpClientConfig?.(/* @__PURE__ */ Symbol.for("logger"), runtimeConfig.logger);
|
|
9964
10020
|
}
|
|
10021
|
+
if (runtimeConfig.defaultSocketTimeout) {
|
|
10022
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig?.(/* @__PURE__ */ Symbol.for("@smithy/defaultSocketTimeout"), runtimeConfig.defaultSocketTimeout);
|
|
10023
|
+
}
|
|
9965
10024
|
return {
|
|
9966
10025
|
setHttpHandler(handler2) {
|
|
9967
10026
|
runtimeConfig.requestHandler = handler2;
|
|
@@ -10426,15 +10485,6 @@ var init_parseJsonBody = __esm({
|
|
|
10426
10485
|
}
|
|
10427
10486
|
});
|
|
10428
10487
|
|
|
10429
|
-
// node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js
|
|
10430
|
-
function writeKey(obj) {
|
|
10431
|
-
Object.defineProperty(obj, "__proto__", { value: void 0, writable: true, enumerable: true, configurable: true });
|
|
10432
|
-
}
|
|
10433
|
-
var init_writeKey = __esm({
|
|
10434
|
-
"node_modules/@smithy/core/dist-es/submodules/protocols/writeKey.js"() {
|
|
10435
|
-
}
|
|
10436
|
-
});
|
|
10437
|
-
|
|
10438
10488
|
// node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js
|
|
10439
10489
|
var JsonShapeDeserializer2;
|
|
10440
10490
|
var init_JsonShapeDeserializer2 = __esm({
|
|
@@ -10448,7 +10498,6 @@ var init_JsonShapeDeserializer2 = __esm({
|
|
|
10448
10498
|
init_jsonReviver();
|
|
10449
10499
|
init_needsReviver();
|
|
10450
10500
|
init_parseJsonBody();
|
|
10451
|
-
init_writeKey();
|
|
10452
10501
|
init_transport();
|
|
10453
10502
|
JsonShapeDeserializer2 = class extends SerdeContextConfig {
|
|
10454
10503
|
settings;
|
|
@@ -10499,8 +10548,9 @@ var init_JsonShapeDeserializer2 = __esm({
|
|
|
10499
10548
|
const map4 = value;
|
|
10500
10549
|
if (this.needsTransform(mapMember)) {
|
|
10501
10550
|
for (const k5 in map4) {
|
|
10502
|
-
if (!hasOwn(map4, k5))
|
|
10551
|
+
if (!hasOwn(map4, k5)) {
|
|
10503
10552
|
continue;
|
|
10553
|
+
}
|
|
10504
10554
|
if (k5 === "__proto__") {
|
|
10505
10555
|
writeKey(map4);
|
|
10506
10556
|
}
|
|
@@ -10571,8 +10621,9 @@ var init_JsonShapeDeserializer2 = __esm({
|
|
|
10571
10621
|
} else {
|
|
10572
10622
|
const doc = value;
|
|
10573
10623
|
for (const k5 in doc) {
|
|
10574
|
-
if (!hasOwn(doc, k5))
|
|
10624
|
+
if (!hasOwn(doc, k5)) {
|
|
10575
10625
|
continue;
|
|
10626
|
+
}
|
|
10576
10627
|
if (k5 === "__proto__") {
|
|
10577
10628
|
writeKey(doc);
|
|
10578
10629
|
}
|
|
@@ -10618,8 +10669,9 @@ var init_JsonShapeDeserializer2 = __esm({
|
|
|
10618
10669
|
unionSerde.writeUnknown();
|
|
10619
10670
|
} else if (hasType) {
|
|
10620
10671
|
for (const k5 in record2) {
|
|
10621
|
-
if (!hasOwn(record2, k5))
|
|
10672
|
+
if (!hasOwn(record2, k5)) {
|
|
10622
10673
|
continue;
|
|
10674
|
+
}
|
|
10623
10675
|
const v = record2[k5];
|
|
10624
10676
|
const t = jsonName ? nameMap[k5] ?? k5 : k5;
|
|
10625
10677
|
if (!(t in out)) {
|
|
@@ -11164,8 +11216,9 @@ var init_JsonShapeSerializer2 = __esm({
|
|
|
11164
11216
|
const out = [];
|
|
11165
11217
|
for (let i6 = 0; i6 < value.length; ++i6) {
|
|
11166
11218
|
const v = value[i6];
|
|
11167
|
-
if (v == null && !sparse)
|
|
11219
|
+
if (v == null && !sparse) {
|
|
11168
11220
|
continue;
|
|
11221
|
+
}
|
|
11169
11222
|
if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
|
|
11170
11223
|
out.push(String(v));
|
|
11171
11224
|
} else {
|
|
@@ -11204,8 +11257,9 @@ var init_JsonShapeSerializer2 = __esm({
|
|
|
11204
11257
|
if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
|
|
11205
11258
|
let modifications;
|
|
11206
11259
|
for (const k5 in value) {
|
|
11207
|
-
if (!hasOwn(value, k5))
|
|
11260
|
+
if (!hasOwn(value, k5)) {
|
|
11208
11261
|
continue;
|
|
11262
|
+
}
|
|
11209
11263
|
const v = value[k5];
|
|
11210
11264
|
if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
|
|
11211
11265
|
(modifications ??= {})[k5] = v;
|
|
@@ -11228,8 +11282,9 @@ var init_JsonShapeSerializer2 = __esm({
|
|
|
11228
11282
|
this.json[this.i++] = OPEN_BRACE;
|
|
11229
11283
|
let first = true;
|
|
11230
11284
|
for (const k5 in value) {
|
|
11231
|
-
if (!hasOwn(value, k5))
|
|
11285
|
+
if (!hasOwn(value, k5)) {
|
|
11232
11286
|
continue;
|
|
11287
|
+
}
|
|
11233
11288
|
const v = value[k5];
|
|
11234
11289
|
if (isDocument ? v === void 0 : v == null && !sparse) {
|
|
11235
11290
|
continue;
|
|
@@ -11401,7 +11456,6 @@ var init_JsonShapeDeserializer = __esm({
|
|
|
11401
11456
|
init_jsonReviver();
|
|
11402
11457
|
init_needsReviver();
|
|
11403
11458
|
init_parseJsonBody();
|
|
11404
|
-
init_writeKey();
|
|
11405
11459
|
JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
11406
11460
|
settings;
|
|
11407
11461
|
constructor(settings) {
|
|
@@ -11449,8 +11503,9 @@ var init_JsonShapeDeserializer = __esm({
|
|
|
11449
11503
|
unionSerde.writeUnknown();
|
|
11450
11504
|
} else if (typeof record2.__type === "string") {
|
|
11451
11505
|
for (const k5 in record2) {
|
|
11452
|
-
if (!hasOwn(record2, k5))
|
|
11506
|
+
if (!hasOwn(record2, k5)) {
|
|
11453
11507
|
continue;
|
|
11508
|
+
}
|
|
11454
11509
|
const v = record2[k5];
|
|
11455
11510
|
const t = jsonName ? nameMap[k5] ?? k5 : k5;
|
|
11456
11511
|
if (!(t in out)) {
|
|
@@ -11472,8 +11527,9 @@ var init_JsonShapeDeserializer = __esm({
|
|
|
11472
11527
|
const mapMember = ns.getValueSchema();
|
|
11473
11528
|
const out = {};
|
|
11474
11529
|
for (const _k in value) {
|
|
11475
|
-
if (!hasOwn(value, _k))
|
|
11530
|
+
if (!hasOwn(value, _k)) {
|
|
11476
11531
|
continue;
|
|
11532
|
+
}
|
|
11477
11533
|
if (_k === "__proto__") {
|
|
11478
11534
|
writeKey(out);
|
|
11479
11535
|
}
|
|
@@ -11535,8 +11591,9 @@ var init_JsonShapeDeserializer = __esm({
|
|
|
11535
11591
|
if (isObject3) {
|
|
11536
11592
|
const out = Array.isArray(value) ? [] : {};
|
|
11537
11593
|
for (const k5 in value) {
|
|
11538
|
-
if (!hasOwn(value, k5))
|
|
11594
|
+
if (!hasOwn(value, k5)) {
|
|
11539
11595
|
continue;
|
|
11596
|
+
}
|
|
11540
11597
|
if (k5 === "__proto__") {
|
|
11541
11598
|
writeKey(out);
|
|
11542
11599
|
}
|
|
@@ -11620,7 +11677,6 @@ var init_JsonShapeSerializer = __esm({
|
|
|
11620
11677
|
init_serde();
|
|
11621
11678
|
init_ConfigurableSerdeContext();
|
|
11622
11679
|
init_jsonReplacer();
|
|
11623
|
-
init_writeKey();
|
|
11624
11680
|
init_transport();
|
|
11625
11681
|
JsonShapeSerializer = class extends SerdeContextConfig {
|
|
11626
11682
|
settings;
|
|
@@ -11690,8 +11746,9 @@ var init_JsonShapeSerializer = __esm({
|
|
|
11690
11746
|
}
|
|
11691
11747
|
} else if (typeof record2.__type === "string") {
|
|
11692
11748
|
for (const k5 in record2) {
|
|
11693
|
-
if (!hasOwn(record2, k5))
|
|
11749
|
+
if (!hasOwn(record2, k5)) {
|
|
11694
11750
|
continue;
|
|
11751
|
+
}
|
|
11695
11752
|
const v = record2[k5];
|
|
11696
11753
|
const targetKey = jsonName ? nameMap[k5] ?? k5 : k5;
|
|
11697
11754
|
if (!(targetKey in out)) {
|
|
@@ -11717,8 +11774,9 @@ var init_JsonShapeSerializer = __esm({
|
|
|
11717
11774
|
const out = {};
|
|
11718
11775
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
11719
11776
|
for (const _k in value) {
|
|
11720
|
-
if (!hasOwn(value, _k))
|
|
11777
|
+
if (!hasOwn(value, _k)) {
|
|
11721
11778
|
continue;
|
|
11779
|
+
}
|
|
11722
11780
|
const _v = value[_k];
|
|
11723
11781
|
if (sparse || _v != null) {
|
|
11724
11782
|
if (_k === "__proto__") {
|
|
@@ -11791,8 +11849,9 @@ var init_JsonShapeSerializer = __esm({
|
|
|
11791
11849
|
}
|
|
11792
11850
|
const out = Array.isArray(value) ? [] : {};
|
|
11793
11851
|
for (const k5 in value) {
|
|
11794
|
-
if (!hasOwn(value, k5))
|
|
11852
|
+
if (!hasOwn(value, k5)) {
|
|
11795
11853
|
continue;
|
|
11854
|
+
}
|
|
11796
11855
|
const v = value[k5];
|
|
11797
11856
|
if (k5 === "__proto__") {
|
|
11798
11857
|
writeKey(out);
|
|
@@ -12025,8 +12084,9 @@ function parseRetryAfterHeader(response, logger2) {
|
|
|
12025
12084
|
return;
|
|
12026
12085
|
}
|
|
12027
12086
|
for (const header in response.headers) {
|
|
12028
|
-
if (!hasOwn(response.headers, header))
|
|
12087
|
+
if (!hasOwn(response.headers, header)) {
|
|
12029
12088
|
continue;
|
|
12089
|
+
}
|
|
12030
12090
|
const h5 = header.toLowerCase();
|
|
12031
12091
|
if (h5 === "retry-after") {
|
|
12032
12092
|
const retryAfter = response.headers[header];
|
|
@@ -12077,12 +12137,15 @@ var asSdkError;
|
|
|
12077
12137
|
var init_util = __esm({
|
|
12078
12138
|
"node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js"() {
|
|
12079
12139
|
asSdkError = (error63) => {
|
|
12080
|
-
if (error63 instanceof Error)
|
|
12140
|
+
if (error63 instanceof Error) {
|
|
12081
12141
|
return error63;
|
|
12082
|
-
|
|
12142
|
+
}
|
|
12143
|
+
if (error63 instanceof Object) {
|
|
12083
12144
|
return Object.assign(new Error(), error63);
|
|
12084
|
-
|
|
12145
|
+
}
|
|
12146
|
+
if (typeof error63 === "string") {
|
|
12085
12147
|
return new Error(error63);
|
|
12148
|
+
}
|
|
12086
12149
|
return new Error(`AWS SDK error wrapper for ${error63}`);
|
|
12087
12150
|
};
|
|
12088
12151
|
}
|
|
@@ -12180,12 +12243,15 @@ var init_retryMiddleware = __esm({
|
|
|
12180
12243
|
return errorInfo;
|
|
12181
12244
|
};
|
|
12182
12245
|
getRetryErrorType = (error63) => {
|
|
12183
|
-
if (isThrottlingError(error63))
|
|
12246
|
+
if (isThrottlingError(error63)) {
|
|
12184
12247
|
return "THROTTLING";
|
|
12185
|
-
|
|
12248
|
+
}
|
|
12249
|
+
if (isTransientError(error63)) {
|
|
12186
12250
|
return "TRANSIENT";
|
|
12187
|
-
|
|
12251
|
+
}
|
|
12252
|
+
if (isServerError(error63)) {
|
|
12188
12253
|
return "SERVER_ERROR";
|
|
12254
|
+
}
|
|
12189
12255
|
return "CLIENT_ERROR";
|
|
12190
12256
|
};
|
|
12191
12257
|
retryMiddlewareOptions = {
|
|
@@ -12716,15 +12782,18 @@ var init_StandardRetryStrategy2 = __esm({
|
|
|
12716
12782
|
}
|
|
12717
12783
|
};
|
|
12718
12784
|
getDelayFromRetryAfterHeader = (response) => {
|
|
12719
|
-
if (!HttpResponse.isInstance(response))
|
|
12785
|
+
if (!HttpResponse.isInstance(response)) {
|
|
12720
12786
|
return;
|
|
12787
|
+
}
|
|
12721
12788
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
12722
|
-
if (!retryAfterHeaderName)
|
|
12789
|
+
if (!retryAfterHeaderName) {
|
|
12723
12790
|
return;
|
|
12791
|
+
}
|
|
12724
12792
|
const retryAfter = response.headers[retryAfterHeaderName];
|
|
12725
12793
|
const retryAfterSeconds = Number(retryAfter);
|
|
12726
|
-
if (!Number.isNaN(retryAfterSeconds))
|
|
12794
|
+
if (!Number.isNaN(retryAfterSeconds)) {
|
|
12727
12795
|
return Math.min(retryAfterSeconds * 1e3, 2e4);
|
|
12796
|
+
}
|
|
12728
12797
|
const retryAfterDate = new Date(retryAfter);
|
|
12729
12798
|
return Math.min(retryAfterDate.getTime() - Date.now(), 2e4);
|
|
12730
12799
|
};
|
|
@@ -12774,8 +12843,9 @@ var init_configurations = __esm({
|
|
|
12774
12843
|
NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
12775
12844
|
environmentVariableSelector: (env2) => {
|
|
12776
12845
|
const value = env2[ENV_MAX_ATTEMPTS];
|
|
12777
|
-
if (!value)
|
|
12846
|
+
if (!value) {
|
|
12778
12847
|
return void 0;
|
|
12848
|
+
}
|
|
12779
12849
|
const maxAttempt = parseInt(value);
|
|
12780
12850
|
if (Number.isNaN(maxAttempt)) {
|
|
12781
12851
|
throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`);
|
|
@@ -12784,8 +12854,9 @@ var init_configurations = __esm({
|
|
|
12784
12854
|
},
|
|
12785
12855
|
configFileSelector: (profile) => {
|
|
12786
12856
|
const value = profile[CONFIG_MAX_ATTEMPTS];
|
|
12787
|
-
if (!value)
|
|
12857
|
+
if (!value) {
|
|
12788
12858
|
return void 0;
|
|
12859
|
+
}
|
|
12789
12860
|
const maxAttempt = parseInt(value);
|
|
12790
12861
|
if (Number.isNaN(maxAttempt)) {
|
|
12791
12862
|
throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`);
|
|
@@ -13468,8 +13539,9 @@ var normalizeProvider2;
|
|
|
13468
13539
|
var init_normalizeProvider2 = __esm({
|
|
13469
13540
|
"node_modules/@smithy/core/dist-es/normalizeProvider.js"() {
|
|
13470
13541
|
normalizeProvider2 = (input2) => {
|
|
13471
|
-
if (typeof input2 === "function")
|
|
13542
|
+
if (typeof input2 === "function") {
|
|
13472
13543
|
return input2;
|
|
13544
|
+
}
|
|
13473
13545
|
const promisified = Promise.resolve(input2);
|
|
13474
13546
|
return () => promisified;
|
|
13475
13547
|
};
|
|
@@ -13548,8 +13620,9 @@ var init_DefaultIdentityProviderConfig = __esm({
|
|
|
13548
13620
|
authSchemes = /* @__PURE__ */ new Map();
|
|
13549
13621
|
constructor(config2) {
|
|
13550
13622
|
for (const key in config2) {
|
|
13551
|
-
if (!hasOwn(config2, key))
|
|
13623
|
+
if (!hasOwn(config2, key)) {
|
|
13552
13624
|
continue;
|
|
13625
|
+
}
|
|
13553
13626
|
const value = config2[key];
|
|
13554
13627
|
if (value !== void 0) {
|
|
13555
13628
|
this.authSchemes.set(key, value);
|
|
@@ -17063,15 +17136,16 @@ var init_resolveAwsSdkSigV4AConfig = __esm({
|
|
|
17063
17136
|
// node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
17064
17137
|
var require_dist_cjs2 = __commonJS({
|
|
17065
17138
|
"node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
|
|
17066
|
-
var { hasOwn: hasOwn2, fromUtf8: fromUtf83, fromHex: fromHex2, toHex: toHex2, toUint8Array: toUint8Array2, isArrayBuffer: isArrayBuffer2 } = (init_serde(), __toCommonJS(serde_exports));
|
|
17139
|
+
var { hasOwn: hasOwn2, fromUtf8: fromUtf83, fromHex: fromHex2, toHex: toHex2, toUint8Array: toUint8Array2, writeKey: writeKey3, isArrayBuffer: isArrayBuffer2 } = (init_serde(), __toCommonJS(serde_exports));
|
|
17067
17140
|
var { normalizeProvider: normalizeProvider3 } = (init_client2(), __toCommonJS(client_exports));
|
|
17068
17141
|
var { escapeUri: escapeUri2, HttpRequest: HttpRequest2 } = (init_protocols(), __toCommonJS(protocols_exports));
|
|
17069
17142
|
var HeaderFormatter = class {
|
|
17070
17143
|
format(headers) {
|
|
17071
17144
|
const chunks = [];
|
|
17072
17145
|
for (const headerName in headers) {
|
|
17073
|
-
if (!hasOwn2(headers, headerName))
|
|
17146
|
+
if (!hasOwn2(headers, headerName)) {
|
|
17074
17147
|
continue;
|
|
17148
|
+
}
|
|
17075
17149
|
const bytes = fromUtf83(headerName);
|
|
17076
17150
|
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
17077
17151
|
}
|
|
@@ -17188,8 +17262,9 @@ var require_dist_cjs2 = __commonJS({
|
|
|
17188
17262
|
}
|
|
17189
17263
|
for (let i6 = 7; i6 > -1; i6--) {
|
|
17190
17264
|
bytes[i6]++;
|
|
17191
|
-
if (bytes[i6] !== 0)
|
|
17265
|
+
if (bytes[i6] !== 0) {
|
|
17192
17266
|
break;
|
|
17267
|
+
}
|
|
17193
17268
|
}
|
|
17194
17269
|
}
|
|
17195
17270
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
@@ -17239,8 +17314,9 @@ var require_dist_cjs2 = __commonJS({
|
|
|
17239
17314
|
const keys = [];
|
|
17240
17315
|
const serialized = {};
|
|
17241
17316
|
for (const key in query) {
|
|
17242
|
-
if (!hasOwn2(query, key))
|
|
17317
|
+
if (!hasOwn2(query, key)) {
|
|
17243
17318
|
continue;
|
|
17319
|
+
}
|
|
17244
17320
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
17245
17321
|
continue;
|
|
17246
17322
|
}
|
|
@@ -17306,10 +17382,12 @@ ${toHex2(hashedRequest)}`;
|
|
|
17306
17382
|
if (this.uriEscapePath) {
|
|
17307
17383
|
const normalizedPathSegments = [];
|
|
17308
17384
|
for (const pathSegment of path.split("/")) {
|
|
17309
|
-
if (pathSegment?.length === 0)
|
|
17385
|
+
if (pathSegment?.length === 0) {
|
|
17310
17386
|
continue;
|
|
17311
|
-
|
|
17387
|
+
}
|
|
17388
|
+
if (pathSegment === ".") {
|
|
17312
17389
|
continue;
|
|
17390
|
+
}
|
|
17313
17391
|
if (pathSegment === "..") {
|
|
17314
17392
|
normalizedPathSegments.pop();
|
|
17315
17393
|
} else {
|
|
@@ -17375,19 +17453,23 @@ ${toHex2(hashedRequest)}`;
|
|
|
17375
17453
|
continue;
|
|
17376
17454
|
}
|
|
17377
17455
|
const canonicalHeaderName = headerName.toLowerCase();
|
|
17378
|
-
if (canonicalHeaderName
|
|
17456
|
+
if (hasOwn2(ALWAYS_UNSIGNABLE_HEADERS, canonicalHeaderName) || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
|
|
17379
17457
|
if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
|
|
17380
17458
|
continue;
|
|
17381
17459
|
}
|
|
17382
17460
|
}
|
|
17461
|
+
if (canonicalHeaderName === "__proto__") {
|
|
17462
|
+
writeKey3(canonical);
|
|
17463
|
+
}
|
|
17383
17464
|
canonical[canonicalHeaderName] = headers[headerName].replace(/[\r\n]/g, " ").replace(/[ \t]+/g, " ").replace(/^ | $/g, "");
|
|
17384
17465
|
}
|
|
17385
17466
|
return canonical;
|
|
17386
17467
|
};
|
|
17387
17468
|
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
17388
17469
|
for (const headerName in headers) {
|
|
17389
|
-
if (!hasOwn2(headers, headerName))
|
|
17470
|
+
if (!hasOwn2(headers, headerName)) {
|
|
17390
17471
|
continue;
|
|
17472
|
+
}
|
|
17391
17473
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
17392
17474
|
return headers[headerName];
|
|
17393
17475
|
}
|
|
@@ -17404,8 +17486,9 @@ ${toHex2(hashedRequest)}`;
|
|
|
17404
17486
|
var hasHeader = (soughtHeader, headers) => {
|
|
17405
17487
|
soughtHeader = soughtHeader.toLowerCase();
|
|
17406
17488
|
for (const headerName in headers) {
|
|
17407
|
-
if (!hasOwn2(headers, headerName))
|
|
17489
|
+
if (!hasOwn2(headers, headerName)) {
|
|
17408
17490
|
continue;
|
|
17491
|
+
}
|
|
17409
17492
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
17410
17493
|
return true;
|
|
17411
17494
|
}
|
|
@@ -17415,8 +17498,9 @@ ${toHex2(hashedRequest)}`;
|
|
|
17415
17498
|
var moveHeadersToQuery = (request, options = {}) => {
|
|
17416
17499
|
const { headers, query = {} } = HttpRequest2.clone(request);
|
|
17417
17500
|
for (const name in headers) {
|
|
17418
|
-
if (!hasOwn2(headers, name))
|
|
17501
|
+
if (!hasOwn2(headers, name)) {
|
|
17419
17502
|
continue;
|
|
17503
|
+
}
|
|
17420
17504
|
const lname = name.toLowerCase();
|
|
17421
17505
|
if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
|
|
17422
17506
|
query[name] = headers[name];
|
|
@@ -17432,8 +17516,9 @@ ${toHex2(hashedRequest)}`;
|
|
|
17432
17516
|
var prepareRequest = (request) => {
|
|
17433
17517
|
request = HttpRequest2.clone(request);
|
|
17434
17518
|
for (const headerName in request.headers) {
|
|
17435
|
-
if (!hasOwn2(request.headers, headerName))
|
|
17519
|
+
if (!hasOwn2(request.headers, headerName)) {
|
|
17436
17520
|
continue;
|
|
17521
|
+
}
|
|
17437
17522
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
17438
17523
|
delete request.headers[headerName];
|
|
17439
17524
|
}
|
|
@@ -19298,7 +19383,7 @@ var init_package = __esm({
|
|
|
19298
19383
|
"node_modules/@aws-sdk/nested-clients/package.json"() {
|
|
19299
19384
|
package_default = {
|
|
19300
19385
|
name: "@aws-sdk/nested-clients",
|
|
19301
|
-
version: "3.997.
|
|
19386
|
+
version: "3.997.53",
|
|
19302
19387
|
description: "Nested clients for AWS SDK packages.",
|
|
19303
19388
|
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
19304
19389
|
license: "Apache-2.0",
|
|
@@ -19398,7 +19483,7 @@ var init_package = __esm({
|
|
|
19398
19483
|
"test:watch": "yarn g:vitest watch"
|
|
19399
19484
|
},
|
|
19400
19485
|
dependencies: {
|
|
19401
|
-
"@aws-sdk/core": "^3.
|
|
19486
|
+
"@aws-sdk/core": "^3.979.0",
|
|
19402
19487
|
"@aws-sdk/signature-v4-multi-region": "^3.996.50",
|
|
19403
19488
|
"@aws-sdk/types": "^3.975.0",
|
|
19404
19489
|
"@smithy/core": "^3.37.0",
|
|
@@ -19683,8 +19768,9 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
19683
19768
|
}
|
|
19684
19769
|
if (typeof value.__type === "string") {
|
|
19685
19770
|
for (const k5 in value) {
|
|
19686
|
-
if (!hasOwn(value, k5))
|
|
19771
|
+
if (!hasOwn(value, k5)) {
|
|
19687
19772
|
continue;
|
|
19773
|
+
}
|
|
19688
19774
|
if (!memberNames.includes(k5)) {
|
|
19689
19775
|
writeString(k5);
|
|
19690
19776
|
writeUntypedValue(value[k5]);
|
|
@@ -19746,8 +19832,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
19746
19832
|
const valueSchema = ns.getValueSchema();
|
|
19747
19833
|
const keys = [];
|
|
19748
19834
|
for (const k5 in value) {
|
|
19749
|
-
if (!hasOwn(value, k5))
|
|
19835
|
+
if (!hasOwn(value, k5)) {
|
|
19750
19836
|
continue;
|
|
19837
|
+
}
|
|
19751
19838
|
const v = value[k5];
|
|
19752
19839
|
if (isDocument ? v !== void 0 : v != null || sparse) {
|
|
19753
19840
|
keys.push(k5);
|
|
@@ -20156,8 +20243,9 @@ function readStruct(ns, count, startPos) {
|
|
|
20156
20243
|
if (isUnion) {
|
|
20157
20244
|
let resultEmpty = true;
|
|
20158
20245
|
for (const _ in result) {
|
|
20159
|
-
if (!hasOwn(result, _))
|
|
20246
|
+
if (!hasOwn(result, _)) {
|
|
20160
20247
|
continue;
|
|
20248
|
+
}
|
|
20161
20249
|
resultEmpty = false;
|
|
20162
20250
|
break;
|
|
20163
20251
|
}
|
|
@@ -20320,8 +20408,9 @@ function readMapIndefinite(ns) {
|
|
|
20320
20408
|
if (isUnion) {
|
|
20321
20409
|
let resultEmpty = true;
|
|
20322
20410
|
for (const _ in result) {
|
|
20323
|
-
if (!hasOwn(result, _))
|
|
20411
|
+
if (!hasOwn(result, _)) {
|
|
20324
20412
|
continue;
|
|
20413
|
+
}
|
|
20325
20414
|
resultEmpty = false;
|
|
20326
20415
|
break;
|
|
20327
20416
|
}
|
|
@@ -20617,8 +20706,9 @@ function transformObject(ns, value) {
|
|
|
20617
20706
|
if (ns.isMapSchema()) {
|
|
20618
20707
|
const targetSchema = ns.getValueSchema();
|
|
20619
20708
|
for (const key in value) {
|
|
20620
|
-
if (!hasOwn(value, key))
|
|
20709
|
+
if (!hasOwn(value, key)) {
|
|
20621
20710
|
continue;
|
|
20711
|
+
}
|
|
20622
20712
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
20623
20713
|
}
|
|
20624
20714
|
} else if (ns.isStructSchema()) {
|
|
@@ -20627,8 +20717,9 @@ function transformObject(ns, value) {
|
|
|
20627
20717
|
if (isUnion) {
|
|
20628
20718
|
keys = /* @__PURE__ */ new Set();
|
|
20629
20719
|
for (const k5 in value) {
|
|
20630
|
-
if (!hasOwn(value, k5))
|
|
20720
|
+
if (!hasOwn(value, k5)) {
|
|
20631
20721
|
continue;
|
|
20722
|
+
}
|
|
20632
20723
|
if (k5 !== "__type") {
|
|
20633
20724
|
keys.add(k5);
|
|
20634
20725
|
}
|
|
@@ -20645,8 +20736,9 @@ function transformObject(ns, value) {
|
|
|
20645
20736
|
if (isUnion && keys?.size === 1) {
|
|
20646
20737
|
let newObjectEmpty = true;
|
|
20647
20738
|
for (const _ in newObject) {
|
|
20648
|
-
if (!hasOwn(newObject, _))
|
|
20739
|
+
if (!hasOwn(newObject, _)) {
|
|
20649
20740
|
continue;
|
|
20741
|
+
}
|
|
20650
20742
|
newObjectEmpty = false;
|
|
20651
20743
|
break;
|
|
20652
20744
|
}
|
|
@@ -20656,8 +20748,9 @@ function transformObject(ns, value) {
|
|
|
20656
20748
|
}
|
|
20657
20749
|
} else if (typeof value.__type === "string") {
|
|
20658
20750
|
for (const k5 in value) {
|
|
20659
|
-
if (!hasOwn(value, k5))
|
|
20751
|
+
if (!hasOwn(value, k5)) {
|
|
20660
20752
|
continue;
|
|
20753
|
+
}
|
|
20661
20754
|
if (!(k5 in newObject)) {
|
|
20662
20755
|
newObject[k5] = value[k5];
|
|
20663
20756
|
}
|
|
@@ -21238,6 +21331,64 @@ var init_AwsRestJsonProtocol = __esm({
|
|
|
21238
21331
|
}
|
|
21239
21332
|
});
|
|
21240
21333
|
|
|
21334
|
+
// node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js
|
|
21335
|
+
var AwsSmithyRpcV2JsonProtocol;
|
|
21336
|
+
var init_AwsSmithyRpcV2JsonProtocol = __esm({
|
|
21337
|
+
"node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js"() {
|
|
21338
|
+
init_protocols();
|
|
21339
|
+
init_schema();
|
|
21340
|
+
init_ProtocolLib();
|
|
21341
|
+
AwsSmithyRpcV2JsonProtocol = class extends SmithyRpcV2JsonProtocol {
|
|
21342
|
+
awsQueryCompatible;
|
|
21343
|
+
mixin;
|
|
21344
|
+
constructor({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5, awsQueryCompatible }) {
|
|
21345
|
+
super({ defaultNamespace, errorTypeRegistries: errorTypeRegistries5 });
|
|
21346
|
+
this.awsQueryCompatible = !!awsQueryCompatible;
|
|
21347
|
+
this.mixin = new ProtocolLib(this.awsQueryCompatible);
|
|
21348
|
+
}
|
|
21349
|
+
async serializeRequest(operationSchema, input2, context) {
|
|
21350
|
+
const request = await super.serializeRequest(operationSchema, input2, context);
|
|
21351
|
+
if (this.awsQueryCompatible) {
|
|
21352
|
+
request.headers["x-amzn-query-mode"] = "true";
|
|
21353
|
+
}
|
|
21354
|
+
return request;
|
|
21355
|
+
}
|
|
21356
|
+
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
21357
|
+
if (this.awsQueryCompatible) {
|
|
21358
|
+
this.mixin.setQueryCompatError(dataObject, response);
|
|
21359
|
+
}
|
|
21360
|
+
const errorName = (() => {
|
|
21361
|
+
const compatHeader = response.headers["x-amzn-query-error"];
|
|
21362
|
+
if (compatHeader && this.awsQueryCompatible) {
|
|
21363
|
+
return compatHeader.split(";")[0];
|
|
21364
|
+
}
|
|
21365
|
+
return loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
|
|
21366
|
+
})();
|
|
21367
|
+
this.mixin.compose(this.compositeErrorRegistry, errorName, this.options.defaultNamespace);
|
|
21368
|
+
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : void 0);
|
|
21369
|
+
const ns = NormalizedSchema.of(errorSchema);
|
|
21370
|
+
const message2 = dataObject.message ?? dataObject.Message ?? "UnknownError";
|
|
21371
|
+
const ErrorCtor = this.compositeErrorRegistry.getErrorCtor(errorSchema) ?? Error;
|
|
21372
|
+
const exception = new ErrorCtor({});
|
|
21373
|
+
const output2 = {};
|
|
21374
|
+
const errorDeserializer = this.getPayloadCodec().createDeserializer();
|
|
21375
|
+
for (const [name, member2] of ns.structIterator()) {
|
|
21376
|
+
if (dataObject[name] != null) {
|
|
21377
|
+
output2[name] = errorDeserializer.readObject(member2, dataObject[name]);
|
|
21378
|
+
}
|
|
21379
|
+
}
|
|
21380
|
+
if (this.awsQueryCompatible) {
|
|
21381
|
+
this.mixin.queryCompatOutput(dataObject, output2);
|
|
21382
|
+
}
|
|
21383
|
+
throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {
|
|
21384
|
+
$fault: ns.getMergedTraits().error,
|
|
21385
|
+
message: message2
|
|
21386
|
+
}, output2), dataObject);
|
|
21387
|
+
}
|
|
21388
|
+
};
|
|
21389
|
+
}
|
|
21390
|
+
});
|
|
21391
|
+
|
|
21241
21392
|
// node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
|
|
21242
21393
|
var require_dist_cjs7 = __commonJS({
|
|
21243
21394
|
"node_modules/@aws-sdk/xml-builder/dist-cjs/index.js"(exports) {
|
|
@@ -22713,6 +22864,7 @@ __export(protocols_exports2, {
|
|
|
22713
22864
|
AwsRestJsonProtocol: () => AwsRestJsonProtocol,
|
|
22714
22865
|
AwsRestXmlProtocol: () => AwsRestXmlProtocol,
|
|
22715
22866
|
AwsSmithyRpcV2CborProtocol: () => AwsSmithyRpcV2CborProtocol,
|
|
22867
|
+
AwsSmithyRpcV2JsonProtocol: () => AwsSmithyRpcV2JsonProtocol,
|
|
22716
22868
|
JsonCodec: () => JsonCodec,
|
|
22717
22869
|
JsonCodec2: () => JsonCodec2,
|
|
22718
22870
|
JsonShapeDeserializer: () => JsonShapeDeserializer,
|
|
@@ -22742,6 +22894,7 @@ var init_protocols2 = __esm({
|
|
|
22742
22894
|
init_AwsJson1_1Protocol();
|
|
22743
22895
|
init_AwsJsonRpcProtocol();
|
|
22744
22896
|
init_AwsRestJsonProtocol();
|
|
22897
|
+
init_AwsSmithyRpcV2JsonProtocol();
|
|
22745
22898
|
init_protocols();
|
|
22746
22899
|
init_AwsEc2QueryProtocol();
|
|
22747
22900
|
init_AwsQueryProtocol();
|
|
@@ -27768,7 +27921,7 @@ var require_dist_cjs16 = __commonJS({
|
|
|
27768
27921
|
Region: { type: "builtInParams", name: "region" },
|
|
27769
27922
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
27770
27923
|
};
|
|
27771
|
-
var version2 = "3.
|
|
27924
|
+
var version2 = "3.1159.0";
|
|
27772
27925
|
var packageInfo = {
|
|
27773
27926
|
version: version2
|
|
27774
27927
|
};
|
|
@@ -29559,7 +29712,7 @@ var require_dist_cjs17 = __commonJS({
|
|
|
29559
29712
|
Region: { type: "builtInParams", name: "region" },
|
|
29560
29713
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
29561
29714
|
};
|
|
29562
|
-
var version2 = "3.
|
|
29715
|
+
var version2 = "3.1159.0";
|
|
29563
29716
|
var packageInfo = {
|
|
29564
29717
|
version: version2
|
|
29565
29718
|
};
|
|
@@ -76422,7 +76575,7 @@ function isCloudflareWorkers() {
|
|
|
76422
76575
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
76423
76576
|
}
|
|
76424
76577
|
var USER_AGENT2;
|
|
76425
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT2 = "jose/v6.2.
|
|
76578
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT2 = "jose/v6.2.14");
|
|
76426
76579
|
var customFetch = /* @__PURE__ */ Symbol();
|
|
76427
76580
|
async function fetchJwks(url2, headers, signal, fetchImpl = fetch) {
|
|
76428
76581
|
const response = await fetchImpl(url2, {
|
package/package.json
CHANGED