@stacksjs/ai 0.58.72 → 0.58.73
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/index.js +249 -249
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var __export = (target, all) => {
|
|
|
45
45
|
};
|
|
46
46
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
47
47
|
|
|
48
|
-
//
|
|
48
|
+
// ../../../../node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js
|
|
49
49
|
var exports_tslib_es6 = {};
|
|
50
50
|
__export(exports_tslib_es6, {
|
|
51
51
|
__values: () => {
|
|
@@ -511,7 +511,7 @@ var init_tslib_es6 = __esm(() => {
|
|
|
511
511
|
};
|
|
512
512
|
});
|
|
513
513
|
|
|
514
|
-
//
|
|
514
|
+
// ../../../../node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js
|
|
515
515
|
var require_pureJs = __commonJS((exports) => {
|
|
516
516
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
517
517
|
exports.toUtf8 = exports.fromUtf8 = undefined;
|
|
@@ -555,7 +555,7 @@ var require_pureJs = __commonJS((exports) => {
|
|
|
555
555
|
exports.toUtf8 = toUtf83;
|
|
556
556
|
});
|
|
557
557
|
|
|
558
|
-
//
|
|
558
|
+
// ../../../../node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js
|
|
559
559
|
var require_whatwgEncodingApi = __commonJS((exports) => {
|
|
560
560
|
var fromUtf84 = function(input) {
|
|
561
561
|
return new TextEncoder().encode(input);
|
|
@@ -569,7 +569,7 @@ var require_whatwgEncodingApi = __commonJS((exports) => {
|
|
|
569
569
|
exports.toUtf8 = toUtf83;
|
|
570
570
|
});
|
|
571
571
|
|
|
572
|
-
//
|
|
572
|
+
// ../../../../node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js
|
|
573
573
|
var require_dist_cjs = __commonJS((exports) => {
|
|
574
574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
575
575
|
exports.toUtf8 = exports.fromUtf8 = undefined;
|
|
@@ -581,7 +581,7 @@ var require_dist_cjs = __commonJS((exports) => {
|
|
|
581
581
|
exports.toUtf8 = toUtf83;
|
|
582
582
|
});
|
|
583
583
|
|
|
584
|
-
//
|
|
584
|
+
// ../../../../node_modules/@aws-crypto/util/build/convertToBuffer.js
|
|
585
585
|
var require_convertToBuffer = __commonJS((exports) => {
|
|
586
586
|
var convertToBuffer = function(data) {
|
|
587
587
|
if (data instanceof Uint8Array)
|
|
@@ -603,7 +603,7 @@ var require_convertToBuffer = __commonJS((exports) => {
|
|
|
603
603
|
exports.convertToBuffer = convertToBuffer;
|
|
604
604
|
});
|
|
605
605
|
|
|
606
|
-
//
|
|
606
|
+
// ../../../../node_modules/@aws-crypto/util/build/isEmptyData.js
|
|
607
607
|
var require_isEmptyData = __commonJS((exports) => {
|
|
608
608
|
var isEmptyData = function(data) {
|
|
609
609
|
if (typeof data === "string") {
|
|
@@ -616,7 +616,7 @@ var require_isEmptyData = __commonJS((exports) => {
|
|
|
616
616
|
exports.isEmptyData = isEmptyData;
|
|
617
617
|
});
|
|
618
618
|
|
|
619
|
-
//
|
|
619
|
+
// ../../../../node_modules/@aws-crypto/util/build/numToUint8.js
|
|
620
620
|
var require_numToUint8 = __commonJS((exports) => {
|
|
621
621
|
var numToUint8 = function(num) {
|
|
622
622
|
return new Uint8Array([
|
|
@@ -631,7 +631,7 @@ var require_numToUint8 = __commonJS((exports) => {
|
|
|
631
631
|
exports.numToUint8 = numToUint8;
|
|
632
632
|
});
|
|
633
633
|
|
|
634
|
-
//
|
|
634
|
+
// ../../../../node_modules/@aws-crypto/util/build/uint32ArrayFrom.js
|
|
635
635
|
var require_uint32ArrayFrom = __commonJS((exports) => {
|
|
636
636
|
var uint32ArrayFrom = function(a_lookUpTable) {
|
|
637
637
|
if (!Uint32Array.from) {
|
|
@@ -650,7 +650,7 @@ var require_uint32ArrayFrom = __commonJS((exports) => {
|
|
|
650
650
|
exports.uint32ArrayFrom = uint32ArrayFrom;
|
|
651
651
|
});
|
|
652
652
|
|
|
653
|
-
//
|
|
653
|
+
// ../../../../node_modules/@aws-crypto/util/build/index.js
|
|
654
654
|
var require_build = __commonJS((exports) => {
|
|
655
655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
656
656
|
exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = undefined;
|
|
@@ -672,7 +672,7 @@ var require_build = __commonJS((exports) => {
|
|
|
672
672
|
} });
|
|
673
673
|
});
|
|
674
674
|
|
|
675
|
-
//
|
|
675
|
+
// ../../../../node_modules/@aws-crypto/crc32/build/aws_crc32.js
|
|
676
676
|
var require_aws_crc32 = __commonJS((exports) => {
|
|
677
677
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
678
678
|
exports.AwsCrc32 = undefined;
|
|
@@ -703,7 +703,7 @@ var require_aws_crc32 = __commonJS((exports) => {
|
|
|
703
703
|
exports.AwsCrc32 = AwsCrc32;
|
|
704
704
|
});
|
|
705
705
|
|
|
706
|
-
//
|
|
706
|
+
// ../../../../node_modules/@aws-crypto/crc32/build/index.js
|
|
707
707
|
var require_build2 = __commonJS((exports) => {
|
|
708
708
|
var crc32 = function(data) {
|
|
709
709
|
return new Crc32().update(data).digest();
|
|
@@ -1008,7 +1008,7 @@ var require_build2 = __commonJS((exports) => {
|
|
|
1008
1008
|
} });
|
|
1009
1009
|
});
|
|
1010
1010
|
|
|
1011
|
-
//
|
|
1011
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js
|
|
1012
1012
|
var exports_tslib_es62 = {};
|
|
1013
1013
|
__export(exports_tslib_es62, {
|
|
1014
1014
|
__values: () => {
|
|
@@ -1474,7 +1474,7 @@ var init_tslib_es62 = __esm(() => {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
});
|
|
1476
1476
|
|
|
1477
|
-
//
|
|
1477
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js
|
|
1478
1478
|
var require_isEmptyData2 = __commonJS((exports) => {
|
|
1479
1479
|
var isEmptyData = function(data) {
|
|
1480
1480
|
if (typeof data === "string") {
|
|
@@ -1487,7 +1487,7 @@ var require_isEmptyData2 = __commonJS((exports) => {
|
|
|
1487
1487
|
exports.isEmptyData = isEmptyData;
|
|
1488
1488
|
});
|
|
1489
1489
|
|
|
1490
|
-
//
|
|
1490
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/constants.js
|
|
1491
1491
|
var require_constants = __commonJS((exports) => {
|
|
1492
1492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1493
1493
|
exports.EMPTY_DATA_SHA_256 = exports.SHA_256_HMAC_ALGO = exports.SHA_256_HASH = undefined;
|
|
@@ -1532,7 +1532,7 @@ var require_constants = __commonJS((exports) => {
|
|
|
1532
1532
|
]);
|
|
1533
1533
|
});
|
|
1534
1534
|
|
|
1535
|
-
//
|
|
1535
|
+
// ../../../../node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js
|
|
1536
1536
|
var require_dist_cjs2 = __commonJS((exports, module) => {
|
|
1537
1537
|
var locateWindow = function() {
|
|
1538
1538
|
if (typeof window !== "undefined") {
|
|
@@ -1569,7 +1569,7 @@ var require_dist_cjs2 = __commonJS((exports, module) => {
|
|
|
1569
1569
|
__name(locateWindow, "locateWindow");
|
|
1570
1570
|
});
|
|
1571
1571
|
|
|
1572
|
-
//
|
|
1572
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js
|
|
1573
1573
|
var require_ie11Sha256 = __commonJS((exports) => {
|
|
1574
1574
|
var getKeyPromise = function(secret) {
|
|
1575
1575
|
return new Promise(function(resolve, reject) {
|
|
@@ -1652,7 +1652,7 @@ var require_ie11Sha256 = __commonJS((exports) => {
|
|
|
1652
1652
|
exports.Sha256 = Sha256;
|
|
1653
1653
|
});
|
|
1654
1654
|
|
|
1655
|
-
//
|
|
1655
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js
|
|
1656
1656
|
var require_webCryptoSha256 = __commonJS((exports) => {
|
|
1657
1657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1658
1658
|
exports.Sha256 = undefined;
|
|
@@ -1709,7 +1709,7 @@ var require_webCryptoSha256 = __commonJS((exports) => {
|
|
|
1709
1709
|
exports.Sha256 = Sha256;
|
|
1710
1710
|
});
|
|
1711
1711
|
|
|
1712
|
-
//
|
|
1712
|
+
// ../../../../node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js
|
|
1713
1713
|
var exports_tslib_es63 = {};
|
|
1714
1714
|
__export(exports_tslib_es63, {
|
|
1715
1715
|
__values: () => {
|
|
@@ -2175,7 +2175,7 @@ var init_tslib_es63 = __esm(() => {
|
|
|
2175
2175
|
};
|
|
2176
2176
|
});
|
|
2177
2177
|
|
|
2178
|
-
//
|
|
2178
|
+
// ../../../../node_modules/@aws-crypto/sha256-js/build/constants.js
|
|
2179
2179
|
var require_constants2 = __commonJS((exports) => {
|
|
2180
2180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2181
2181
|
exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = undefined;
|
|
@@ -2260,7 +2260,7 @@ var require_constants2 = __commonJS((exports) => {
|
|
|
2260
2260
|
exports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;
|
|
2261
2261
|
});
|
|
2262
2262
|
|
|
2263
|
-
//
|
|
2263
|
+
// ../../../../node_modules/@aws-crypto/sha256-js/build/RawSha256.js
|
|
2264
2264
|
var require_RawSha256 = __commonJS((exports) => {
|
|
2265
2265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2266
2266
|
exports.RawSha256 = undefined;
|
|
@@ -2361,7 +2361,7 @@ var require_RawSha256 = __commonJS((exports) => {
|
|
|
2361
2361
|
exports.RawSha256 = RawSha256;
|
|
2362
2362
|
});
|
|
2363
2363
|
|
|
2364
|
-
//
|
|
2364
|
+
// ../../../../node_modules/@aws-crypto/sha256-js/build/jsSha256.js
|
|
2365
2365
|
var require_jsSha256 = __commonJS((exports) => {
|
|
2366
2366
|
var bufferFromSecret = function(secret) {
|
|
2367
2367
|
var input = (0, util_1.convertToBuffer)(secret);
|
|
@@ -2438,14 +2438,14 @@ var require_jsSha256 = __commonJS((exports) => {
|
|
|
2438
2438
|
exports.Sha256 = Sha256;
|
|
2439
2439
|
});
|
|
2440
2440
|
|
|
2441
|
-
//
|
|
2441
|
+
// ../../../../node_modules/@aws-crypto/sha256-js/build/index.js
|
|
2442
2442
|
var require_build3 = __commonJS((exports) => {
|
|
2443
2443
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2444
2444
|
var tslib_1 = (init_tslib_es63(), __toCommonJS(exports_tslib_es63));
|
|
2445
2445
|
tslib_1.__exportStar(require_jsSha256(), exports);
|
|
2446
2446
|
});
|
|
2447
2447
|
|
|
2448
|
-
//
|
|
2448
|
+
// ../../../../node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js
|
|
2449
2449
|
var exports_tslib_es64 = {};
|
|
2450
2450
|
__export(exports_tslib_es64, {
|
|
2451
2451
|
__values: () => {
|
|
@@ -2911,7 +2911,7 @@ var init_tslib_es64 = __esm(() => {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
});
|
|
2913
2913
|
|
|
2914
|
-
//
|
|
2914
|
+
// ../../../../node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js
|
|
2915
2915
|
var require_supportsWebCrypto = __commonJS((exports) => {
|
|
2916
2916
|
var supportsWebCrypto = function(window2) {
|
|
2917
2917
|
if (supportsSecureRandom(window2) && typeof window2.crypto.subtle === "object") {
|
|
@@ -2983,14 +2983,14 @@ var require_supportsWebCrypto = __commonJS((exports) => {
|
|
|
2983
2983
|
exports.supportsZeroByteGCM = supportsZeroByteGCM;
|
|
2984
2984
|
});
|
|
2985
2985
|
|
|
2986
|
-
//
|
|
2986
|
+
// ../../../../node_modules/@aws-crypto/supports-web-crypto/build/index.js
|
|
2987
2987
|
var require_build4 = __commonJS((exports) => {
|
|
2988
2988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2989
2989
|
var tslib_1 = (init_tslib_es64(), __toCommonJS(exports_tslib_es64));
|
|
2990
2990
|
tslib_1.__exportStar(require_supportsWebCrypto(), exports);
|
|
2991
2991
|
});
|
|
2992
2992
|
|
|
2993
|
-
//
|
|
2993
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js
|
|
2994
2994
|
var exports_tslib_es65 = {};
|
|
2995
2995
|
__export(exports_tslib_es65, {
|
|
2996
2996
|
__values: () => {
|
|
@@ -3456,27 +3456,27 @@ var init_tslib_es65 = __esm(() => {
|
|
|
3456
3456
|
};
|
|
3457
3457
|
});
|
|
3458
3458
|
|
|
3459
|
-
//
|
|
3459
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js
|
|
3460
3460
|
var require_CryptoOperation = __commonJS((exports) => {
|
|
3461
3461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3462
3462
|
});
|
|
3463
3463
|
|
|
3464
|
-
//
|
|
3464
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/Key.js
|
|
3465
3465
|
var require_Key = __commonJS((exports) => {
|
|
3466
3466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3467
3467
|
});
|
|
3468
3468
|
|
|
3469
|
-
//
|
|
3469
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js
|
|
3470
3470
|
var require_KeyOperation = __commonJS((exports) => {
|
|
3471
3471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3472
3472
|
});
|
|
3473
3473
|
|
|
3474
|
-
//
|
|
3474
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js
|
|
3475
3475
|
var require_MsSubtleCrypto = __commonJS((exports) => {
|
|
3476
3476
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3477
3477
|
});
|
|
3478
3478
|
|
|
3479
|
-
//
|
|
3479
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/MsWindow.js
|
|
3480
3480
|
var require_MsWindow = __commonJS((exports) => {
|
|
3481
3481
|
var quacksLikeAnMsWindow = function(window2) {
|
|
3482
3482
|
return "MSInputMethodContext" in window2 && "msCrypto" in window2;
|
|
@@ -3507,7 +3507,7 @@ var require_MsWindow = __commonJS((exports) => {
|
|
|
3507
3507
|
exports.isMsWindow = isMsWindow;
|
|
3508
3508
|
});
|
|
3509
3509
|
|
|
3510
|
-
//
|
|
3510
|
+
// ../../../../node_modules/@aws-crypto/ie11-detection/build/index.js
|
|
3511
3511
|
var require_build5 = __commonJS((exports) => {
|
|
3512
3512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3513
3513
|
var tslib_1 = (init_tslib_es65(), __toCommonJS(exports_tslib_es65));
|
|
@@ -3518,7 +3518,7 @@ var require_build5 = __commonJS((exports) => {
|
|
|
3518
3518
|
tslib_1.__exportStar(require_MsWindow(), exports);
|
|
3519
3519
|
});
|
|
3520
3520
|
|
|
3521
|
-
//
|
|
3521
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js
|
|
3522
3522
|
var require_crossPlatformSha256 = __commonJS((exports) => {
|
|
3523
3523
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3524
3524
|
exports.Sha256 = undefined;
|
|
@@ -3553,7 +3553,7 @@ var require_crossPlatformSha256 = __commonJS((exports) => {
|
|
|
3553
3553
|
exports.Sha256 = Sha256;
|
|
3554
3554
|
});
|
|
3555
3555
|
|
|
3556
|
-
//
|
|
3556
|
+
// ../../../../node_modules/@aws-crypto/sha256-browser/build/index.js
|
|
3557
3557
|
var require_build6 = __commonJS((exports) => {
|
|
3558
3558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3559
3559
|
exports.WebCryptoSha256 = exports.Ie11Sha256 = undefined;
|
|
@@ -3569,7 +3569,7 @@ var require_build6 = __commonJS((exports) => {
|
|
|
3569
3569
|
} });
|
|
3570
3570
|
});
|
|
3571
3571
|
|
|
3572
|
-
//
|
|
3572
|
+
// ../../../../node_modules/bowser/es5.js
|
|
3573
3573
|
var require_es5 = __commonJS((exports, module) => {
|
|
3574
3574
|
(function(e, t) {
|
|
3575
3575
|
typeof exports == "object" && typeof module == "object" ? module.exports = t() : typeof define == "function" && define.amd ? define([], t) : typeof exports == "object" ? exports.bowser = t() : e.bowser = t();
|
|
@@ -4221,7 +4221,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
4221
4221
|
});
|
|
4222
4222
|
});
|
|
4223
4223
|
|
|
4224
|
-
//
|
|
4224
|
+
// ../../../../node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js
|
|
4225
4225
|
var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
4226
4226
|
let httpHandler = runtimeConfig.httpHandler;
|
|
4227
4227
|
return {
|
|
@@ -4244,25 +4244,25 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
|
4244
4244
|
httpHandler: httpHandlerExtensionConfiguration.httpHandler()
|
|
4245
4245
|
};
|
|
4246
4246
|
};
|
|
4247
|
-
//
|
|
4247
|
+
// ../../../../node_modules/@smithy/types/dist-es/auth/auth.js
|
|
4248
4248
|
var HttpAuthLocation;
|
|
4249
4249
|
(function(HttpAuthLocation2) {
|
|
4250
4250
|
HttpAuthLocation2["HEADER"] = "header";
|
|
4251
4251
|
HttpAuthLocation2["QUERY"] = "query";
|
|
4252
4252
|
})(HttpAuthLocation || (HttpAuthLocation = {}));
|
|
4253
|
-
//
|
|
4253
|
+
// ../../../../node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js
|
|
4254
4254
|
var HttpApiKeyAuthLocation;
|
|
4255
4255
|
(function(HttpApiKeyAuthLocation2) {
|
|
4256
4256
|
HttpApiKeyAuthLocation2["HEADER"] = "header";
|
|
4257
4257
|
HttpApiKeyAuthLocation2["QUERY"] = "query";
|
|
4258
4258
|
})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
|
|
4259
|
-
//
|
|
4259
|
+
// ../../../../node_modules/@smithy/types/dist-es/endpoint.js
|
|
4260
4260
|
var EndpointURLScheme;
|
|
4261
4261
|
(function(EndpointURLScheme2) {
|
|
4262
4262
|
EndpointURLScheme2["HTTP"] = "http";
|
|
4263
4263
|
EndpointURLScheme2["HTTPS"] = "https";
|
|
4264
4264
|
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
4265
|
-
//
|
|
4265
|
+
// ../../../../node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
4266
4266
|
var AlgorithmId;
|
|
4267
4267
|
(function(AlgorithmId2) {
|
|
4268
4268
|
AlgorithmId2["MD5"] = "md5";
|
|
@@ -4271,29 +4271,29 @@ var AlgorithmId;
|
|
|
4271
4271
|
AlgorithmId2["SHA1"] = "sha1";
|
|
4272
4272
|
AlgorithmId2["SHA256"] = "sha256";
|
|
4273
4273
|
})(AlgorithmId || (AlgorithmId = {}));
|
|
4274
|
-
//
|
|
4274
|
+
// ../../../../node_modules/@smithy/types/dist-es/http.js
|
|
4275
4275
|
var FieldPosition;
|
|
4276
4276
|
(function(FieldPosition2) {
|
|
4277
4277
|
FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
|
|
4278
4278
|
FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER";
|
|
4279
4279
|
})(FieldPosition || (FieldPosition = {}));
|
|
4280
|
-
//
|
|
4280
|
+
// ../../../../node_modules/@smithy/types/dist-es/middleware.js
|
|
4281
4281
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
4282
|
-
//
|
|
4282
|
+
// ../../../../node_modules/@smithy/types/dist-es/profile.js
|
|
4283
4283
|
var IniSectionType;
|
|
4284
4284
|
(function(IniSectionType2) {
|
|
4285
4285
|
IniSectionType2["PROFILE"] = "profile";
|
|
4286
4286
|
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
4287
4287
|
IniSectionType2["SERVICES"] = "services";
|
|
4288
4288
|
})(IniSectionType || (IniSectionType = {}));
|
|
4289
|
-
//
|
|
4289
|
+
// ../../../../node_modules/@smithy/types/dist-es/transfer.js
|
|
4290
4290
|
var RequestHandlerProtocol;
|
|
4291
4291
|
(function(RequestHandlerProtocol2) {
|
|
4292
4292
|
RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
|
|
4293
4293
|
RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0";
|
|
4294
4294
|
RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0";
|
|
4295
4295
|
})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
|
|
4296
|
-
//
|
|
4296
|
+
// ../../../../node_modules/@smithy/protocol-http/dist-es/httpRequest.js
|
|
4297
4297
|
var cloneQuery = function(query) {
|
|
4298
4298
|
return Object.keys(query).reduce((carry, paramName) => {
|
|
4299
4299
|
const param = query[paramName];
|
|
@@ -4334,7 +4334,7 @@ class HttpRequest {
|
|
|
4334
4334
|
return cloned;
|
|
4335
4335
|
}
|
|
4336
4336
|
}
|
|
4337
|
-
//
|
|
4337
|
+
// ../../../../node_modules/@smithy/protocol-http/dist-es/httpResponse.js
|
|
4338
4338
|
class HttpResponse {
|
|
4339
4339
|
constructor(options) {
|
|
4340
4340
|
this.statusCode = options.statusCode;
|
|
@@ -4349,7 +4349,7 @@ class HttpResponse {
|
|
|
4349
4349
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
4350
4350
|
}
|
|
4351
4351
|
}
|
|
4352
|
-
//
|
|
4352
|
+
// ../../../../node_modules/@aws-sdk/middleware-host-header/dist-es/index.js
|
|
4353
4353
|
function resolveHostHeaderConfig(input) {
|
|
4354
4354
|
return input;
|
|
4355
4355
|
}
|
|
@@ -4382,7 +4382,7 @@ var getHostHeaderPlugin = (options) => ({
|
|
|
4382
4382
|
}
|
|
4383
4383
|
});
|
|
4384
4384
|
|
|
4385
|
-
//
|
|
4385
|
+
// ../../../../node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js
|
|
4386
4386
|
var loggerMiddleware = () => (next, context) => async (args) => {
|
|
4387
4387
|
try {
|
|
4388
4388
|
const response2 = await next(args);
|
|
@@ -4424,7 +4424,7 @@ var getLoggerPlugin = (options) => ({
|
|
|
4424
4424
|
clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
|
|
4425
4425
|
}
|
|
4426
4426
|
});
|
|
4427
|
-
//
|
|
4427
|
+
// ../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js
|
|
4428
4428
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
4429
4429
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
4430
4430
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
@@ -4457,17 +4457,17 @@ var getRecursionDetectionPlugin = (options) => ({
|
|
|
4457
4457
|
}
|
|
4458
4458
|
});
|
|
4459
4459
|
|
|
4460
|
-
//
|
|
4460
|
+
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
4461
4461
|
function resolveUserAgentConfig(input) {
|
|
4462
4462
|
return {
|
|
4463
4463
|
...input,
|
|
4464
4464
|
customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent
|
|
4465
4465
|
};
|
|
4466
4466
|
}
|
|
4467
|
-
//
|
|
4467
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js
|
|
4468
4468
|
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}\$`);
|
|
4469
4469
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
4470
|
-
//
|
|
4470
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js
|
|
4471
4471
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-\$)(?!-)[a-zA-Z0-9-]{1,63}\$`);
|
|
4472
4472
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
4473
4473
|
if (!allowSubDomains) {
|
|
@@ -4481,11 +4481,11 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
4481
4481
|
}
|
|
4482
4482
|
return true;
|
|
4483
4483
|
};
|
|
4484
|
-
//
|
|
4484
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js
|
|
4485
4485
|
var customEndpointFunctions = {};
|
|
4486
|
-
//
|
|
4486
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js
|
|
4487
4487
|
var debugId = "endpoints";
|
|
4488
|
-
//
|
|
4488
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js
|
|
4489
4489
|
function toDebugString(input) {
|
|
4490
4490
|
if (typeof input !== "object" || input == null) {
|
|
4491
4491
|
return input;
|
|
@@ -4498,16 +4498,16 @@ function toDebugString(input) {
|
|
|
4498
4498
|
}
|
|
4499
4499
|
return JSON.stringify(input, null, 2);
|
|
4500
4500
|
}
|
|
4501
|
-
//
|
|
4501
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js
|
|
4502
4502
|
class EndpointError extends Error {
|
|
4503
4503
|
constructor(message) {
|
|
4504
4504
|
super(message);
|
|
4505
4505
|
this.name = "EndpointError";
|
|
4506
4506
|
}
|
|
4507
4507
|
}
|
|
4508
|
-
//
|
|
4508
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js
|
|
4509
4509
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
4510
|
-
//
|
|
4510
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js
|
|
4511
4511
|
var getAttrPathList = (path) => {
|
|
4512
4512
|
const parts = path.split(".");
|
|
4513
4513
|
const pathList = [];
|
|
@@ -4532,7 +4532,7 @@ var getAttrPathList = (path) => {
|
|
|
4532
4532
|
return pathList;
|
|
4533
4533
|
};
|
|
4534
4534
|
|
|
4535
|
-
//
|
|
4535
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
4536
4536
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
4537
4537
|
if (typeof acc !== "object") {
|
|
4538
4538
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -4541,11 +4541,11 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
4541
4541
|
}
|
|
4542
4542
|
return acc[index];
|
|
4543
4543
|
}, value);
|
|
4544
|
-
//
|
|
4544
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js
|
|
4545
4545
|
var isSet = (value) => value != null;
|
|
4546
|
-
//
|
|
4546
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/not.js
|
|
4547
4547
|
var not = (value) => !value;
|
|
4548
|
-
//
|
|
4548
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js
|
|
4549
4549
|
var DEFAULT_PORTS = {
|
|
4550
4550
|
[EndpointURLScheme.HTTP]: 80,
|
|
4551
4551
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -4591,9 +4591,9 @@ var parseURL = (value) => {
|
|
|
4591
4591
|
isIp
|
|
4592
4592
|
};
|
|
4593
4593
|
};
|
|
4594
|
-
//
|
|
4594
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js
|
|
4595
4595
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
4596
|
-
//
|
|
4596
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/substring.js
|
|
4597
4597
|
var substring = (input, start, stop, reverse) => {
|
|
4598
4598
|
if (start >= stop || input.length < stop) {
|
|
4599
4599
|
return null;
|
|
@@ -4603,9 +4603,9 @@ var substring = (input, start, stop, reverse) => {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
return input.substring(input.length - stop, input.length - start);
|
|
4605
4605
|
};
|
|
4606
|
-
//
|
|
4606
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js
|
|
4607
4607
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
4608
|
-
//
|
|
4608
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
4609
4609
|
var endpointFunctions = {
|
|
4610
4610
|
booleanEquals,
|
|
4611
4611
|
getAttr,
|
|
@@ -4618,7 +4618,7 @@ var endpointFunctions = {
|
|
|
4618
4618
|
uriEncode
|
|
4619
4619
|
};
|
|
4620
4620
|
|
|
4621
|
-
//
|
|
4621
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js
|
|
4622
4622
|
var evaluateTemplate = (template, options) => {
|
|
4623
4623
|
const evaluatedTemplateArr = [];
|
|
4624
4624
|
const templateContext = {
|
|
@@ -4654,7 +4654,7 @@ var evaluateTemplate = (template, options) => {
|
|
|
4654
4654
|
return evaluatedTemplateArr.join("");
|
|
4655
4655
|
};
|
|
4656
4656
|
|
|
4657
|
-
//
|
|
4657
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
|
|
4658
4658
|
var getReferenceValue = ({ ref }, options) => {
|
|
4659
4659
|
const referenceRecord = {
|
|
4660
4660
|
...options.endpointParams,
|
|
@@ -4663,7 +4663,7 @@ var getReferenceValue = ({ ref }, options) => {
|
|
|
4663
4663
|
return referenceRecord[ref];
|
|
4664
4664
|
};
|
|
4665
4665
|
|
|
4666
|
-
//
|
|
4666
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
4667
4667
|
var evaluateExpression = (obj, keyName, options) => {
|
|
4668
4668
|
if (typeof obj === "string") {
|
|
4669
4669
|
return evaluateTemplate(obj, options);
|
|
@@ -4675,7 +4675,7 @@ var evaluateExpression = (obj, keyName, options) => {
|
|
|
4675
4675
|
throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
|
|
4676
4676
|
};
|
|
4677
4677
|
|
|
4678
|
-
//
|
|
4678
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
4679
4679
|
var callFunction2 = ({ fn, argv }, options) => {
|
|
4680
4680
|
const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
|
|
4681
4681
|
const fnSegments = fn.split(".");
|
|
@@ -4685,7 +4685,7 @@ var callFunction2 = ({ fn, argv }, options) => {
|
|
|
4685
4685
|
return endpointFunctions[fn](...evaluatedArgs);
|
|
4686
4686
|
};
|
|
4687
4687
|
|
|
4688
|
-
//
|
|
4688
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
4689
4689
|
var evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
4690
4690
|
if (assign && assign in options.referenceRecord) {
|
|
4691
4691
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
@@ -4698,7 +4698,7 @@ var evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
};
|
|
4700
4700
|
|
|
4701
|
-
//
|
|
4701
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
4702
4702
|
var evaluateConditions = (conditions = [], options) => {
|
|
4703
4703
|
const conditionsReferenceRecord = {};
|
|
4704
4704
|
for (const condition of conditions) {
|
|
@@ -4720,7 +4720,7 @@ var evaluateConditions = (conditions = [], options) => {
|
|
|
4720
4720
|
return { result: true, referenceRecord: conditionsReferenceRecord };
|
|
4721
4721
|
};
|
|
4722
4722
|
|
|
4723
|
-
//
|
|
4723
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js
|
|
4724
4724
|
var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
|
|
4725
4725
|
...acc,
|
|
4726
4726
|
[headerKey]: headerVal.map((headerValEntry) => {
|
|
@@ -4732,7 +4732,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((a
|
|
|
4732
4732
|
})
|
|
4733
4733
|
}), {});
|
|
4734
4734
|
|
|
4735
|
-
//
|
|
4735
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js
|
|
4736
4736
|
var getEndpointProperty = (property, options) => {
|
|
4737
4737
|
if (Array.isArray(property)) {
|
|
4738
4738
|
return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
|
|
@@ -4752,13 +4752,13 @@ var getEndpointProperty = (property, options) => {
|
|
|
4752
4752
|
}
|
|
4753
4753
|
};
|
|
4754
4754
|
|
|
4755
|
-
//
|
|
4755
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js
|
|
4756
4756
|
var getEndpointProperties2 = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
4757
4757
|
...acc,
|
|
4758
4758
|
[propertyKey]: getEndpointProperty(propertyVal, options)
|
|
4759
4759
|
}), {});
|
|
4760
4760
|
|
|
4761
|
-
//
|
|
4761
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js
|
|
4762
4762
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
4763
4763
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
4764
4764
|
if (typeof expression === "string") {
|
|
@@ -4772,7 +4772,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
4772
4772
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
4773
4773
|
};
|
|
4774
4774
|
|
|
4775
|
-
//
|
|
4775
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
4776
4776
|
var evaluateEndpointRule = (endpointRule, options) => {
|
|
4777
4777
|
const { conditions, endpoint: endpoint2 } = endpointRule;
|
|
4778
4778
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -4796,7 +4796,7 @@ var evaluateEndpointRule = (endpointRule, options) => {
|
|
|
4796
4796
|
};
|
|
4797
4797
|
};
|
|
4798
4798
|
|
|
4799
|
-
//
|
|
4799
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js
|
|
4800
4800
|
var evaluateErrorRule = (errorRule, options) => {
|
|
4801
4801
|
const { conditions, error } = errorRule;
|
|
4802
4802
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -4809,7 +4809,7 @@ var evaluateErrorRule = (errorRule, options) => {
|
|
|
4809
4809
|
}));
|
|
4810
4810
|
};
|
|
4811
4811
|
|
|
4812
|
-
//
|
|
4812
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js
|
|
4813
4813
|
var evaluateTreeRule = (treeRule, options) => {
|
|
4814
4814
|
const { conditions, rules } = treeRule;
|
|
4815
4815
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -4822,7 +4822,7 @@ var evaluateTreeRule = (treeRule, options) => {
|
|
|
4822
4822
|
});
|
|
4823
4823
|
};
|
|
4824
4824
|
|
|
4825
|
-
//
|
|
4825
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
4826
4826
|
var evaluateRules2 = (rules, options) => {
|
|
4827
4827
|
for (const rule of rules) {
|
|
4828
4828
|
if (rule.type === "endpoint") {
|
|
@@ -4843,7 +4843,7 @@ var evaluateRules2 = (rules, options) => {
|
|
|
4843
4843
|
}
|
|
4844
4844
|
throw new EndpointError(`Rules evaluation failed`);
|
|
4845
4845
|
};
|
|
4846
|
-
//
|
|
4846
|
+
// ../../../../node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
4847
4847
|
var resolveEndpoint = (ruleSetObject, options) => {
|
|
4848
4848
|
const { endpointParams, logger: logger2 } = options;
|
|
4849
4849
|
const { parameters, rules } = ruleSetObject;
|
|
@@ -4873,7 +4873,7 @@ var resolveEndpoint = (ruleSetObject, options) => {
|
|
|
4873
4873
|
options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint2)}`);
|
|
4874
4874
|
return endpoint2;
|
|
4875
4875
|
};
|
|
4876
|
-
//
|
|
4876
|
+
// ../../../../node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js
|
|
4877
4877
|
var isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
4878
4878
|
if (allowSubDomains) {
|
|
4879
4879
|
for (const label of value.split(".")) {
|
|
@@ -4898,7 +4898,7 @@ var isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
|
4898
4898
|
return true;
|
|
4899
4899
|
};
|
|
4900
4900
|
|
|
4901
|
-
//
|
|
4901
|
+
// ../../../../node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js
|
|
4902
4902
|
var parseArn = (value) => {
|
|
4903
4903
|
const segments = value.split(":");
|
|
4904
4904
|
if (segments.length < 6)
|
|
@@ -4914,7 +4914,7 @@ var parseArn = (value) => {
|
|
|
4914
4914
|
resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId
|
|
4915
4915
|
};
|
|
4916
4916
|
};
|
|
4917
|
-
//
|
|
4917
|
+
// ../../../../node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json
|
|
4918
4918
|
var partitions_default = {
|
|
4919
4919
|
partitions: [{
|
|
4920
4920
|
id: "aws",
|
|
@@ -5132,7 +5132,7 @@ var partitions_default = {
|
|
|
5132
5132
|
version: "1.1"
|
|
5133
5133
|
};
|
|
5134
5134
|
|
|
5135
|
-
//
|
|
5135
|
+
// ../../../../node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js
|
|
5136
5136
|
var selectedPartitionsInfo = partitions_default;
|
|
5137
5137
|
var selectedUserAgentPrefix = "";
|
|
5138
5138
|
var partition = (value) => {
|
|
@@ -5166,14 +5166,14 @@ var partition = (value) => {
|
|
|
5166
5166
|
};
|
|
5167
5167
|
var getUserAgentPrefix = () => selectedUserAgentPrefix;
|
|
5168
5168
|
|
|
5169
|
-
//
|
|
5169
|
+
// ../../../../node_modules/@aws-sdk/util-endpoints/dist-es/aws.js
|
|
5170
5170
|
var awsEndpointFunctions = {
|
|
5171
5171
|
isVirtualHostableS3Bucket,
|
|
5172
5172
|
parseArn,
|
|
5173
5173
|
partition
|
|
5174
5174
|
};
|
|
5175
5175
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
5176
|
-
//
|
|
5176
|
+
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js
|
|
5177
5177
|
var USER_AGENT = "user-agent";
|
|
5178
5178
|
var X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
5179
5179
|
var SPACE = " ";
|
|
@@ -5182,7 +5182,7 @@ var UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
|
|
|
5182
5182
|
var UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
|
|
5183
5183
|
var UA_ESCAPE_CHAR = "-";
|
|
5184
5184
|
|
|
5185
|
-
//
|
|
5185
|
+
// ../../../../node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js
|
|
5186
5186
|
var userAgentMiddleware = (options) => (next, context) => async (args) => {
|
|
5187
5187
|
const { request } = args;
|
|
5188
5188
|
if (!HttpRequest.isInstance(request))
|
|
@@ -5242,32 +5242,32 @@ var getUserAgentPlugin = (config2) => ({
|
|
|
5242
5242
|
clientStack.add(userAgentMiddleware(config2), getUserAgentMiddlewareOptions);
|
|
5243
5243
|
}
|
|
5244
5244
|
});
|
|
5245
|
-
//
|
|
5245
|
+
// ../../../../node_modules/@smithy/util-config-provider/dist-es/types.js
|
|
5246
5246
|
var SelectorType;
|
|
5247
5247
|
(function(SelectorType2) {
|
|
5248
5248
|
SelectorType2["ENV"] = "env";
|
|
5249
5249
|
SelectorType2["CONFIG"] = "shared config entry";
|
|
5250
5250
|
})(SelectorType || (SelectorType = {}));
|
|
5251
|
-
//
|
|
5251
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
5252
5252
|
var DEFAULT_USE_DUALSTACK_ENDPOINT = false;
|
|
5253
|
-
//
|
|
5253
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
5254
5254
|
var DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
5255
|
-
//
|
|
5255
|
+
// ../../../../node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
5256
5256
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
5257
|
-
//
|
|
5257
|
+
// ../../../../node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
5258
5258
|
var normalizeProvider = (input) => {
|
|
5259
5259
|
if (typeof input === "function")
|
|
5260
5260
|
return input;
|
|
5261
5261
|
const promisified = Promise.resolve(input);
|
|
5262
5262
|
return () => promisified;
|
|
5263
5263
|
};
|
|
5264
|
-
//
|
|
5264
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
5265
5265
|
var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
|
|
5266
5266
|
|
|
5267
|
-
//
|
|
5267
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
5268
5268
|
var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
|
|
5269
5269
|
|
|
5270
|
-
//
|
|
5270
|
+
// ../../../../node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
5271
5271
|
var resolveRegionConfig = (input) => {
|
|
5272
5272
|
const { region, useFipsEndpoint } = input;
|
|
5273
5273
|
if (!region) {
|
|
@@ -5291,7 +5291,7 @@ var resolveRegionConfig = (input) => {
|
|
|
5291
5291
|
}
|
|
5292
5292
|
};
|
|
5293
5293
|
};
|
|
5294
|
-
//
|
|
5294
|
+
// ../../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
5295
5295
|
var convertHttpAuthSchemesToMap = function(httpAuthSchemes) {
|
|
5296
5296
|
const map = new Map;
|
|
5297
5297
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -5330,7 +5330,7 @@ var httpAuthSchemeMiddleware = (config3, mwOptions) => (next, context) => async
|
|
|
5330
5330
|
}
|
|
5331
5331
|
return next(args);
|
|
5332
5332
|
};
|
|
5333
|
-
//
|
|
5333
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
5334
5334
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
5335
5335
|
const bucket = endpointParams?.Bucket || "";
|
|
5336
5336
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -5362,7 +5362,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
5362
5362
|
}
|
|
5363
5363
|
return arn === "arn" && !!partition4 && !!service && !!account && !!typeOrId;
|
|
5364
5364
|
};
|
|
5365
|
-
//
|
|
5365
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js
|
|
5366
5366
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config3) => {
|
|
5367
5367
|
const configProvider = async () => {
|
|
5368
5368
|
const configValue = config3[configKey] ?? config3[canonicalEndpointParamKey];
|
|
@@ -5396,12 +5396,12 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config3)
|
|
|
5396
5396
|
return configProvider;
|
|
5397
5397
|
};
|
|
5398
5398
|
|
|
5399
|
-
//
|
|
5399
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js
|
|
5400
5400
|
var getEndpointFromConfig = async (serviceId) => {
|
|
5401
5401
|
return;
|
|
5402
5402
|
};
|
|
5403
5403
|
|
|
5404
|
-
//
|
|
5404
|
+
// ../../../../node_modules/@smithy/querystring-parser/dist-es/index.js
|
|
5405
5405
|
function parseQueryString(querystring) {
|
|
5406
5406
|
const query = {};
|
|
5407
5407
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -5424,7 +5424,7 @@ function parseQueryString(querystring) {
|
|
|
5424
5424
|
return query;
|
|
5425
5425
|
}
|
|
5426
5426
|
|
|
5427
|
-
//
|
|
5427
|
+
// ../../../../node_modules/@smithy/url-parser/dist-es/index.js
|
|
5428
5428
|
var parseUrl = (url) => {
|
|
5429
5429
|
if (typeof url === "string") {
|
|
5430
5430
|
return parseUrl(new URL(url));
|
|
@@ -5443,7 +5443,7 @@ var parseUrl = (url) => {
|
|
|
5443
5443
|
};
|
|
5444
5444
|
};
|
|
5445
5445
|
|
|
5446
|
-
//
|
|
5446
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
5447
5447
|
var toEndpointV1 = (endpoint2) => {
|
|
5448
5448
|
if (typeof endpoint2 === "object") {
|
|
5449
5449
|
if ("url" in endpoint2) {
|
|
@@ -5454,7 +5454,7 @@ var toEndpointV1 = (endpoint2) => {
|
|
|
5454
5454
|
return parseUrl(endpoint2);
|
|
5455
5455
|
};
|
|
5456
5456
|
|
|
5457
|
-
//
|
|
5457
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
5458
5458
|
var getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
5459
5459
|
if (!clientConfig.endpoint) {
|
|
5460
5460
|
const endpointFromConfig = await getEndpointFromConfig(clientConfig.serviceId || "");
|
|
@@ -5496,7 +5496,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
5496
5496
|
}
|
|
5497
5497
|
return endpointParams;
|
|
5498
5498
|
};
|
|
5499
|
-
//
|
|
5499
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
5500
5500
|
var endpointMiddleware = ({ config: config3, instructions }) => {
|
|
5501
5501
|
return (next, context) => async (args) => {
|
|
5502
5502
|
const endpoint2 = await getEndpointFromInstructions(args.input, {
|
|
@@ -5527,7 +5527,7 @@ var endpointMiddleware = ({ config: config3, instructions }) => {
|
|
|
5527
5527
|
});
|
|
5528
5528
|
};
|
|
5529
5529
|
};
|
|
5530
|
-
//
|
|
5530
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
5531
5531
|
var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
5532
5532
|
const { response: response2 } = await next(args);
|
|
5533
5533
|
try {
|
|
@@ -5547,7 +5547,7 @@ var deserializerMiddleware = (options, deserializer) => (next, context) => async
|
|
|
5547
5547
|
throw error;
|
|
5548
5548
|
}
|
|
5549
5549
|
};
|
|
5550
|
-
//
|
|
5550
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
5551
5551
|
var serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
5552
5552
|
const endpoint2 = context.endpointV2?.url && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
5553
5553
|
if (!endpoint2) {
|
|
@@ -5560,7 +5560,7 @@ var serializerMiddleware = (options, serializer) => (next, context) => async (ar
|
|
|
5560
5560
|
});
|
|
5561
5561
|
};
|
|
5562
5562
|
|
|
5563
|
-
//
|
|
5563
|
+
// ../../../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
5564
5564
|
function getSerdePlugin(config3, serializer, deserializer) {
|
|
5565
5565
|
return {
|
|
5566
5566
|
applyToStack: (commandStack) => {
|
|
@@ -5581,7 +5581,7 @@ var serializerMiddlewareOption = {
|
|
|
5581
5581
|
tags: ["SERIALIZER"],
|
|
5582
5582
|
override: true
|
|
5583
5583
|
};
|
|
5584
|
-
//
|
|
5584
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
5585
5585
|
var endpointMiddlewareOptions = {
|
|
5586
5586
|
step: "serialize",
|
|
5587
5587
|
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
|
@@ -5598,7 +5598,7 @@ var getEndpointPlugin = (config3, instructions) => ({
|
|
|
5598
5598
|
}), endpointMiddlewareOptions);
|
|
5599
5599
|
}
|
|
5600
5600
|
});
|
|
5601
|
-
//
|
|
5601
|
+
// ../../../../node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
5602
5602
|
var resolveEndpointConfig = (input) => {
|
|
5603
5603
|
const tls = input.tls ?? true;
|
|
5604
5604
|
const { endpoint: endpoint2 } = input;
|
|
@@ -5613,7 +5613,7 @@ var resolveEndpointConfig = (input) => {
|
|
|
5613
5613
|
useFipsEndpoint: normalizeProvider(input.useFipsEndpoint ?? false)
|
|
5614
5614
|
};
|
|
5615
5615
|
};
|
|
5616
|
-
//
|
|
5616
|
+
// ../../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
5617
5617
|
var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
5618
5618
|
step: "serialize",
|
|
5619
5619
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -5630,7 +5630,7 @@ var getHttpAuthSchemeEndpointRuleSetPlugin = (config3, { httpAuthSchemeParameter
|
|
|
5630
5630
|
}), httpAuthSchemeEndpointRuleSetMiddlewareOptions);
|
|
5631
5631
|
}
|
|
5632
5632
|
});
|
|
5633
|
-
//
|
|
5633
|
+
// ../../../../node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js
|
|
5634
5634
|
var httpAuthSchemeMiddlewareOptions = {
|
|
5635
5635
|
step: "serialize",
|
|
5636
5636
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -5639,7 +5639,7 @@ var httpAuthSchemeMiddlewareOptions = {
|
|
|
5639
5639
|
relation: "before",
|
|
5640
5640
|
toMiddleware: serializerMiddlewareOption.name
|
|
5641
5641
|
};
|
|
5642
|
-
//
|
|
5642
|
+
// ../../../../node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js
|
|
5643
5643
|
var defaultErrorHandler = (signingProperties) => (error) => {
|
|
5644
5644
|
throw error;
|
|
5645
5645
|
};
|
|
@@ -5662,7 +5662,7 @@ var httpSigningMiddleware = (config3) => (next, context) => async (args) => {
|
|
|
5662
5662
|
(signer.successHandler || defaultSuccessHandler)(output.response, signingProperties);
|
|
5663
5663
|
return output;
|
|
5664
5664
|
};
|
|
5665
|
-
//
|
|
5665
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/config.js
|
|
5666
5666
|
var RETRY_MODES;
|
|
5667
5667
|
(function(RETRY_MODES2) {
|
|
5668
5668
|
RETRY_MODES2["STANDARD"] = "standard";
|
|
@@ -5671,7 +5671,7 @@ var RETRY_MODES;
|
|
|
5671
5671
|
var DEFAULT_MAX_ATTEMPTS = 3;
|
|
5672
5672
|
var DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
5673
5673
|
|
|
5674
|
-
//
|
|
5674
|
+
// ../../../../node_modules/@smithy/service-error-classification/dist-es/constants.js
|
|
5675
5675
|
var THROTTLING_ERROR_CODES = [
|
|
5676
5676
|
"BandwidthLimitExceeded",
|
|
5677
5677
|
"EC2ThrottledException",
|
|
@@ -5692,7 +5692,7 @@ var TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutEx
|
|
|
5692
5692
|
var TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
|
5693
5693
|
var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];
|
|
5694
5694
|
|
|
5695
|
-
//
|
|
5695
|
+
// ../../../../node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
5696
5696
|
var isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true;
|
|
5697
5697
|
var isTransientError = (error) => TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0);
|
|
5698
5698
|
var isServerError = (error) => {
|
|
@@ -5706,7 +5706,7 @@ var isServerError = (error) => {
|
|
|
5706
5706
|
return false;
|
|
5707
5707
|
};
|
|
5708
5708
|
|
|
5709
|
-
//
|
|
5709
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
5710
5710
|
class DefaultRateLimiter {
|
|
5711
5711
|
constructor(options) {
|
|
5712
5712
|
this.currentCapacity = 0;
|
|
@@ -5805,7 +5805,7 @@ class DefaultRateLimiter {
|
|
|
5805
5805
|
}
|
|
5806
5806
|
}
|
|
5807
5807
|
|
|
5808
|
-
//
|
|
5808
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/constants.js
|
|
5809
5809
|
var DEFAULT_RETRY_DELAY_BASE = 100;
|
|
5810
5810
|
var MAXIMUM_RETRY_DELAY = 20 * 1000;
|
|
5811
5811
|
var THROTTLING_RETRY_DELAY_BASE = 500;
|
|
@@ -5816,7 +5816,7 @@ var NO_RETRY_INCREMENT = 1;
|
|
|
5816
5816
|
var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
5817
5817
|
var REQUEST_HEADER = "amz-sdk-request";
|
|
5818
5818
|
|
|
5819
|
-
//
|
|
5819
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js
|
|
5820
5820
|
var getDefaultRetryBackoffStrategy = () => {
|
|
5821
5821
|
let delayBase = DEFAULT_RETRY_DELAY_BASE;
|
|
5822
5822
|
const computeNextBackoffDelay = (attempts) => {
|
|
@@ -5831,7 +5831,7 @@ var getDefaultRetryBackoffStrategy = () => {
|
|
|
5831
5831
|
};
|
|
5832
5832
|
};
|
|
5833
5833
|
|
|
5834
|
-
//
|
|
5834
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js
|
|
5835
5835
|
var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => {
|
|
5836
5836
|
const getRetryCount = () => retryCount;
|
|
5837
5837
|
const getRetryDelay = () => Math.min(MAXIMUM_RETRY_DELAY, retryDelay);
|
|
@@ -5843,7 +5843,7 @@ var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => {
|
|
|
5843
5843
|
};
|
|
5844
5844
|
};
|
|
5845
5845
|
|
|
5846
|
-
//
|
|
5846
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
5847
5847
|
class StandardRetryStrategy {
|
|
5848
5848
|
constructor(maxAttempts) {
|
|
5849
5849
|
this.maxAttempts = maxAttempts;
|
|
@@ -5901,7 +5901,7 @@ class StandardRetryStrategy {
|
|
|
5901
5901
|
}
|
|
5902
5902
|
}
|
|
5903
5903
|
|
|
5904
|
-
//
|
|
5904
|
+
// ../../../../node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
5905
5905
|
class AdaptiveRetryStrategy {
|
|
5906
5906
|
constructor(maxAttemptsProvider, options) {
|
|
5907
5907
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
@@ -5923,7 +5923,7 @@ class AdaptiveRetryStrategy {
|
|
|
5923
5923
|
this.standardRetryStrategy.recordSuccess(token);
|
|
5924
5924
|
}
|
|
5925
5925
|
}
|
|
5926
|
-
//
|
|
5926
|
+
// ../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js
|
|
5927
5927
|
var getRandomValues;
|
|
5928
5928
|
var rnds8 = new Uint8Array(16);
|
|
5929
5929
|
function rng() {
|
|
@@ -5936,16 +5936,16 @@ function rng() {
|
|
|
5936
5936
|
return getRandomValues(rnds8);
|
|
5937
5937
|
}
|
|
5938
5938
|
|
|
5939
|
-
//
|
|
5939
|
+
// ../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js
|
|
5940
5940
|
var regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
5941
5941
|
|
|
5942
|
-
//
|
|
5942
|
+
// ../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js
|
|
5943
5943
|
var validate = function(uuid) {
|
|
5944
5944
|
return typeof uuid === "string" && regex_default.test(uuid);
|
|
5945
5945
|
};
|
|
5946
5946
|
var validate_default = validate;
|
|
5947
5947
|
|
|
5948
|
-
//
|
|
5948
|
+
// ../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js
|
|
5949
5949
|
var stringify = function(arr) {
|
|
5950
5950
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
5951
5951
|
var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
@@ -5961,7 +5961,7 @@ for (i = 0;i < 256; ++i) {
|
|
|
5961
5961
|
var i;
|
|
5962
5962
|
var stringify_default = stringify;
|
|
5963
5963
|
|
|
5964
|
-
//
|
|
5964
|
+
// ../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js
|
|
5965
5965
|
var v4 = function(options, buf, offset) {
|
|
5966
5966
|
options = options || {};
|
|
5967
5967
|
var rnds = options.random || (options.rng || rng)();
|
|
@@ -5977,7 +5977,7 @@ var v4 = function(options, buf, offset) {
|
|
|
5977
5977
|
return stringify_default(rnds);
|
|
5978
5978
|
};
|
|
5979
5979
|
var v4_default = v4;
|
|
5980
|
-
//
|
|
5980
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/util.js
|
|
5981
5981
|
var asSdkError = (error) => {
|
|
5982
5982
|
if (error instanceof Error)
|
|
5983
5983
|
return error;
|
|
@@ -5987,7 +5987,7 @@ var asSdkError = (error) => {
|
|
|
5987
5987
|
return new Error(error);
|
|
5988
5988
|
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
5989
5989
|
};
|
|
5990
|
-
//
|
|
5990
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
5991
5991
|
var resolveRetryConfig = (input) => {
|
|
5992
5992
|
const { retryStrategy } = input;
|
|
5993
5993
|
const maxAttempts = normalizeProvider(input.maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
@@ -6006,7 +6006,7 @@ var resolveRetryConfig = (input) => {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
};
|
|
6008
6008
|
};
|
|
6009
|
-
//
|
|
6009
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js
|
|
6010
6010
|
class NoOpLogger {
|
|
6011
6011
|
trace() {
|
|
6012
6012
|
}
|
|
@@ -6019,7 +6019,7 @@ class NoOpLogger {
|
|
|
6019
6019
|
error() {
|
|
6020
6020
|
}
|
|
6021
6021
|
}
|
|
6022
|
-
//
|
|
6022
|
+
// ../../../../node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js
|
|
6023
6023
|
var getAllAliases = (name, aliases) => {
|
|
6024
6024
|
const _aliases = [];
|
|
6025
6025
|
if (name) {
|
|
@@ -6283,7 +6283,7 @@ var priorityWeights = {
|
|
|
6283
6283
|
normal: 2,
|
|
6284
6284
|
low: 1
|
|
6285
6285
|
};
|
|
6286
|
-
//
|
|
6286
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/client.js
|
|
6287
6287
|
class Client {
|
|
6288
6288
|
constructor(config6) {
|
|
6289
6289
|
this.middlewareStack = constructStack();
|
|
@@ -6305,7 +6305,7 @@ class Client {
|
|
|
6305
6305
|
this.config.requestHandler.destroy();
|
|
6306
6306
|
}
|
|
6307
6307
|
}
|
|
6308
|
-
//
|
|
6308
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/constants.browser.js
|
|
6309
6309
|
var alphabetByEncoding = {};
|
|
6310
6310
|
var alphabetByValue = new Array(64);
|
|
6311
6311
|
for (let i = 0, start = "A".charCodeAt(0), limit = "Z".charCodeAt(0);i + start <= limit; i++) {
|
|
@@ -6334,7 +6334,7 @@ var bitsPerLetter = 6;
|
|
|
6334
6334
|
var bitsPerByte = 8;
|
|
6335
6335
|
var maxLetterValue = 63;
|
|
6336
6336
|
|
|
6337
|
-
//
|
|
6337
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js
|
|
6338
6338
|
var fromBase64 = (input) => {
|
|
6339
6339
|
let totalByteLength = input.length / 4 * 3;
|
|
6340
6340
|
if (input.slice(-2) === "==") {
|
|
@@ -6368,7 +6368,7 @@ var fromBase64 = (input) => {
|
|
|
6368
6368
|
}
|
|
6369
6369
|
return new Uint8Array(out);
|
|
6370
6370
|
};
|
|
6371
|
-
//
|
|
6371
|
+
// ../../../../node_modules/@smithy/util-base64/dist-es/toBase64.browser.js
|
|
6372
6372
|
function toBase64(input) {
|
|
6373
6373
|
let str = "";
|
|
6374
6374
|
for (let i = 0;i < input.length; i += 3) {
|
|
@@ -6388,9 +6388,9 @@ function toBase64(input) {
|
|
|
6388
6388
|
}
|
|
6389
6389
|
return str;
|
|
6390
6390
|
}
|
|
6391
|
-
//
|
|
6391
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js
|
|
6392
6392
|
var fromUtf8 = (input) => new TextEncoder().encode(input);
|
|
6393
|
-
//
|
|
6393
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
6394
6394
|
var toUint8Array = (data) => {
|
|
6395
6395
|
if (typeof data === "string") {
|
|
6396
6396
|
return fromUtf8(data);
|
|
@@ -6400,9 +6400,9 @@ var toUint8Array = (data) => {
|
|
|
6400
6400
|
}
|
|
6401
6401
|
return new Uint8Array(data);
|
|
6402
6402
|
};
|
|
6403
|
-
//
|
|
6403
|
+
// ../../../../node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js
|
|
6404
6404
|
var toUtf8 = (input) => new TextDecoder("utf-8").decode(input);
|
|
6405
|
-
//
|
|
6405
|
+
// ../../../../node_modules/@smithy/util-stream/dist-es/blob/transforms.js
|
|
6406
6406
|
function transformToString(payload, encoding = "utf-8") {
|
|
6407
6407
|
if (encoding === "base64") {
|
|
6408
6408
|
return toBase64(payload);
|
|
@@ -6416,7 +6416,7 @@ function transformFromString(str, encoding) {
|
|
|
6416
6416
|
return Uint8ArrayBlobAdapter2.mutate(fromUtf8(str));
|
|
6417
6417
|
}
|
|
6418
6418
|
|
|
6419
|
-
//
|
|
6419
|
+
// ../../../../node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
6420
6420
|
class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
6421
6421
|
static fromString(source, encoding = "utf-8") {
|
|
6422
6422
|
switch (typeof source) {
|
|
@@ -6434,10 +6434,10 @@ class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
|
6434
6434
|
return transformToString(this, encoding);
|
|
6435
6435
|
}
|
|
6436
6436
|
}
|
|
6437
|
-
//
|
|
6437
|
+
// ../../../../node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
|
|
6438
6438
|
var escapeUri = (uri2) => encodeURIComponent(uri2).replace(/[!'()*]/g, hexEncode);
|
|
6439
6439
|
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
6440
|
-
//
|
|
6440
|
+
// ../../../../node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
6441
6441
|
function buildQueryString(query) {
|
|
6442
6442
|
const parts = [];
|
|
6443
6443
|
for (let key of Object.keys(query).sort()) {
|
|
@@ -6458,7 +6458,7 @@ function buildQueryString(query) {
|
|
|
6458
6458
|
return parts.join("&");
|
|
6459
6459
|
}
|
|
6460
6460
|
|
|
6461
|
-
//
|
|
6461
|
+
// ../../../../node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js
|
|
6462
6462
|
function requestTimeout(timeoutInMs = 0) {
|
|
6463
6463
|
return new Promise((resolve, reject) => {
|
|
6464
6464
|
if (timeoutInMs) {
|
|
@@ -6471,7 +6471,7 @@ function requestTimeout(timeoutInMs = 0) {
|
|
|
6471
6471
|
});
|
|
6472
6472
|
}
|
|
6473
6473
|
|
|
6474
|
-
//
|
|
6474
|
+
// ../../../../node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js
|
|
6475
6475
|
var keepAliveSupport = {
|
|
6476
6476
|
supported: Boolean(typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]"))
|
|
6477
6477
|
};
|
|
@@ -6580,7 +6580,7 @@ class FetchHttpHandler {
|
|
|
6580
6580
|
return this.config ?? {};
|
|
6581
6581
|
}
|
|
6582
6582
|
}
|
|
6583
|
-
//
|
|
6583
|
+
// ../../../../node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js
|
|
6584
6584
|
async function collectBlob(blob) {
|
|
6585
6585
|
const base64 = await readToBase64(blob);
|
|
6586
6586
|
const arrayBuffer = fromBase64(base64);
|
|
@@ -6625,7 +6625,7 @@ var streamCollector = (stream2) => {
|
|
|
6625
6625
|
}
|
|
6626
6626
|
return collectStream(stream2);
|
|
6627
6627
|
};
|
|
6628
|
-
//
|
|
6628
|
+
// ../../../../node_modules/@smithy/util-hex-encoding/dist-es/index.js
|
|
6629
6629
|
function fromHex(encoded) {
|
|
6630
6630
|
if (encoded.length % 2 !== 0) {
|
|
6631
6631
|
throw new Error("Hex encoded strings must have an even number length");
|
|
@@ -6658,7 +6658,7 @@ for (let i = 0;i < 256; i++) {
|
|
|
6658
6658
|
SHORT_TO_HEX[i] = encodedByte;
|
|
6659
6659
|
HEX_TO_SHORT[encodedByte] = i;
|
|
6660
6660
|
}
|
|
6661
|
-
//
|
|
6661
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js
|
|
6662
6662
|
var collectBody = async (streamBody = new Uint8Array, context) => {
|
|
6663
6663
|
if (streamBody instanceof Uint8Array) {
|
|
6664
6664
|
return Uint8ArrayBlobAdapter2.mutate(streamBody);
|
|
@@ -6669,7 +6669,7 @@ var collectBody = async (streamBody = new Uint8Array, context) => {
|
|
|
6669
6669
|
const fromContext = context.streamCollector(streamBody);
|
|
6670
6670
|
return Uint8ArrayBlobAdapter2.mutate(await fromContext);
|
|
6671
6671
|
};
|
|
6672
|
-
//
|
|
6672
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/command.js
|
|
6673
6673
|
class Command {
|
|
6674
6674
|
constructor() {
|
|
6675
6675
|
this.middlewareStack = constructStack();
|
|
@@ -6784,9 +6784,9 @@ class ClassBuilder {
|
|
|
6784
6784
|
};
|
|
6785
6785
|
}
|
|
6786
6786
|
}
|
|
6787
|
-
//
|
|
6787
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/constants.js
|
|
6788
6788
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
6789
|
-
//
|
|
6789
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/parse-utils.js
|
|
6790
6790
|
var expectNumber = (value) => {
|
|
6791
6791
|
if (value === null || value === undefined) {
|
|
6792
6792
|
return;
|
|
@@ -6927,7 +6927,7 @@ var logger2 = {
|
|
|
6927
6927
|
warn: console.warn
|
|
6928
6928
|
};
|
|
6929
6929
|
|
|
6930
|
-
//
|
|
6930
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/date-utils.js
|
|
6931
6931
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
6932
6932
|
var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);
|
|
6933
6933
|
var RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);
|
|
@@ -7011,7 +7011,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
7011
7011
|
}
|
|
7012
7012
|
return value.slice(idx);
|
|
7013
7013
|
};
|
|
7014
|
-
//
|
|
7014
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
7015
7015
|
class ServiceException extends Error {
|
|
7016
7016
|
constructor(options) {
|
|
7017
7017
|
super(options.message);
|
|
@@ -7033,7 +7033,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
7033
7033
|
return exception;
|
|
7034
7034
|
};
|
|
7035
7035
|
|
|
7036
|
-
//
|
|
7036
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/default-error-handler.js
|
|
7037
7037
|
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
7038
7038
|
const $metadata = deserializeMetadata(output);
|
|
7039
7039
|
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -7055,7 +7055,7 @@ var deserializeMetadata = (output) => ({
|
|
|
7055
7055
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7056
7056
|
cfId: output.headers["x-amz-cf-id"]
|
|
7057
7057
|
});
|
|
7058
|
-
//
|
|
7058
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/defaults-mode.js
|
|
7059
7059
|
var loadConfigsForDefaultMode = (mode) => {
|
|
7060
7060
|
switch (mode) {
|
|
7061
7061
|
case "standard":
|
|
@@ -7082,7 +7082,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
7082
7082
|
return {};
|
|
7083
7083
|
}
|
|
7084
7084
|
};
|
|
7085
|
-
//
|
|
7085
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
7086
7086
|
var getChecksumConfiguration2 = (runtimeConfig) => {
|
|
7087
7087
|
const checksumAlgorithms = [];
|
|
7088
7088
|
for (const id in AlgorithmId) {
|
|
@@ -7113,7 +7113,7 @@ var resolveChecksumRuntimeConfig2 = (clientConfig) => {
|
|
|
7113
7113
|
return runtimeConfig;
|
|
7114
7114
|
};
|
|
7115
7115
|
|
|
7116
|
-
//
|
|
7116
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/extensions/retry.js
|
|
7117
7117
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
7118
7118
|
let _retryStrategy = runtimeConfig.retryStrategy;
|
|
7119
7119
|
return {
|
|
@@ -7131,7 +7131,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
7131
7131
|
return runtimeConfig;
|
|
7132
7132
|
};
|
|
7133
7133
|
|
|
7134
|
-
//
|
|
7134
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
7135
7135
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
7136
7136
|
return {
|
|
7137
7137
|
...getChecksumConfiguration2(runtimeConfig),
|
|
@@ -7144,13 +7144,13 @@ var resolveDefaultRuntimeConfig = (config6) => {
|
|
|
7144
7144
|
...resolveRetryRuntimeConfig(config6)
|
|
7145
7145
|
};
|
|
7146
7146
|
};
|
|
7147
|
-
//
|
|
7147
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js
|
|
7148
7148
|
function extendedEncodeURIComponent(str) {
|
|
7149
7149
|
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
|
|
7150
7150
|
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
7151
7151
|
});
|
|
7152
7152
|
}
|
|
7153
|
-
//
|
|
7153
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/lazy-json.js
|
|
7154
7154
|
var StringWrapper = function() {
|
|
7155
7155
|
const Class = Object.getPrototypeOf(this).constructor;
|
|
7156
7156
|
const Constructor = Function.bind.apply(String, [null, ...arguments]);
|
|
@@ -7167,7 +7167,7 @@ StringWrapper.prototype = Object.create(String.prototype, {
|
|
|
7167
7167
|
}
|
|
7168
7168
|
});
|
|
7169
7169
|
Object.setPrototypeOf(StringWrapper, String);
|
|
7170
|
-
//
|
|
7170
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/object-mapping.js
|
|
7171
7171
|
function map(arg0, arg1, arg2) {
|
|
7172
7172
|
let target;
|
|
7173
7173
|
let filter;
|
|
@@ -7247,7 +7247,7 @@ var applyInstruction = (target, source, instructions, targetKey) => {
|
|
|
7247
7247
|
};
|
|
7248
7248
|
var nonNullish = (_) => _ != null;
|
|
7249
7249
|
var pass = (_) => _;
|
|
7250
|
-
//
|
|
7250
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/resolve-path.js
|
|
7251
7251
|
var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
7252
7252
|
if (input != null && input[memberName] !== undefined) {
|
|
7253
7253
|
const labelValue = labelValueProvider();
|
|
@@ -7260,7 +7260,7 @@ var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLab
|
|
|
7260
7260
|
}
|
|
7261
7261
|
return resolvedPath2;
|
|
7262
7262
|
};
|
|
7263
|
-
//
|
|
7263
|
+
// ../../../../node_modules/@smithy/smithy-client/dist-es/serde-json.js
|
|
7264
7264
|
var _json = (obj) => {
|
|
7265
7265
|
if (obj == null) {
|
|
7266
7266
|
return {};
|
|
@@ -7280,10 +7280,10 @@ var _json = (obj) => {
|
|
|
7280
7280
|
}
|
|
7281
7281
|
return obj;
|
|
7282
7282
|
};
|
|
7283
|
-
//
|
|
7283
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js
|
|
7284
7284
|
var isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
7285
7285
|
|
|
7286
|
-
//
|
|
7286
|
+
// ../../../../node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
7287
7287
|
var retryMiddleware = (options) => (next, context) => async (args) => {
|
|
7288
7288
|
let retryStrategy = await options.retryStrategy();
|
|
7289
7289
|
const maxAttempts = await options.maxAttempts();
|
|
@@ -7383,7 +7383,7 @@ var getRetryAfterHint = (response2) => {
|
|
|
7383
7383
|
const retryAfterDate = new Date(retryAfter);
|
|
7384
7384
|
return retryAfterDate;
|
|
7385
7385
|
};
|
|
7386
|
-
//
|
|
7386
|
+
// ../../../../node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
7387
7387
|
var httpSigningMiddlewareOptions = {
|
|
7388
7388
|
step: "finalizeRequest",
|
|
7389
7389
|
tags: ["HTTP_SIGNING"],
|
|
@@ -7398,7 +7398,7 @@ var getHttpSigningPlugin = (config6) => ({
|
|
|
7398
7398
|
clientStack.addRelativeTo(httpSigningMiddleware(config6), httpSigningMiddlewareOptions);
|
|
7399
7399
|
}
|
|
7400
7400
|
});
|
|
7401
|
-
//
|
|
7401
|
+
// ../../../../node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js
|
|
7402
7402
|
class DefaultIdentityProviderConfig {
|
|
7403
7403
|
constructor(config6) {
|
|
7404
7404
|
this.authSchemes = new Map;
|
|
@@ -7412,7 +7412,7 @@ class DefaultIdentityProviderConfig {
|
|
|
7412
7412
|
return this.authSchemes.get(schemeId);
|
|
7413
7413
|
}
|
|
7414
7414
|
}
|
|
7415
|
-
//
|
|
7415
|
+
// ../../../../node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js
|
|
7416
7416
|
var createIsIdentityExpiredFunction = (expirationMs) => (identity3) => doesIdentityRequireRefresh(identity3) && identity3.expiration.getTime() - Date.now() < expirationMs;
|
|
7417
7417
|
var EXPIRATION_MS = 300000;
|
|
7418
7418
|
var isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);
|
|
@@ -7465,14 +7465,14 @@ var memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {
|
|
|
7465
7465
|
return resolved;
|
|
7466
7466
|
};
|
|
7467
7467
|
};
|
|
7468
|
-
//
|
|
7468
|
+
// ../../../../node_modules/@smithy/core/dist-es/normalizeProvider.js
|
|
7469
7469
|
var normalizeProvider3 = (input) => {
|
|
7470
7470
|
if (typeof input === "function")
|
|
7471
7471
|
return input;
|
|
7472
7472
|
const promisified = Promise.resolve(input);
|
|
7473
7473
|
return () => promisified;
|
|
7474
7474
|
};
|
|
7475
|
-
//
|
|
7475
|
+
// ../../../../node_modules/@smithy/core/dist-es/protocols/requestBuilder.js
|
|
7476
7476
|
function requestBuilder(input, context) {
|
|
7477
7477
|
return new RequestBuilder(input, context);
|
|
7478
7478
|
}
|
|
@@ -7539,7 +7539,7 @@ class RequestBuilder {
|
|
|
7539
7539
|
return this;
|
|
7540
7540
|
}
|
|
7541
7541
|
}
|
|
7542
|
-
//
|
|
7542
|
+
// ../../../../node_modules/@smithy/middleware-content-length/dist-es/index.js
|
|
7543
7543
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
7544
7544
|
return (next) => async (args) => {
|
|
7545
7545
|
const request = args.request;
|
|
@@ -7575,16 +7575,16 @@ var getContentLengthPlugin = (options) => ({
|
|
|
7575
7575
|
}
|
|
7576
7576
|
});
|
|
7577
7577
|
|
|
7578
|
-
//
|
|
7578
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getDateHeader.js
|
|
7579
7579
|
var getDateHeader = (response2) => HttpResponse.isInstance(response2) ? response2.headers?.date ?? response2.headers?.Date : undefined;
|
|
7580
7580
|
|
|
7581
|
-
//
|
|
7581
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getSkewCorrectedDate.js
|
|
7582
7582
|
var getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
7583
7583
|
|
|
7584
|
-
//
|
|
7584
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/isClockSkewed.js
|
|
7585
7585
|
var isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
|
|
7586
7586
|
|
|
7587
|
-
//
|
|
7587
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
|
|
7588
7588
|
var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
7589
7589
|
const clockTimeInMs = Date.parse(clockTime);
|
|
7590
7590
|
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
@@ -7593,7 +7593,7 @@ var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
|
7593
7593
|
return currentSystemClockOffset;
|
|
7594
7594
|
};
|
|
7595
7595
|
|
|
7596
|
-
//
|
|
7596
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
7597
7597
|
var throwSigningPropertyError = (name, property) => {
|
|
7598
7598
|
if (!property) {
|
|
7599
7599
|
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
@@ -7648,10 +7648,10 @@ class AwsSdkSigV4Signer {
|
|
|
7648
7648
|
}
|
|
7649
7649
|
}
|
|
7650
7650
|
|
|
7651
|
-
//
|
|
7651
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
7652
7652
|
var crc322 = __toESM(require_build2(), 1);
|
|
7653
7653
|
|
|
7654
|
-
//
|
|
7654
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
7655
7655
|
var negate = function(bytes) {
|
|
7656
7656
|
for (let i = 0;i < 8; i++) {
|
|
7657
7657
|
bytes[i] ^= 255;
|
|
@@ -7696,7 +7696,7 @@ class Int64 {
|
|
|
7696
7696
|
}
|
|
7697
7697
|
}
|
|
7698
7698
|
|
|
7699
|
-
//
|
|
7699
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
7700
7700
|
class HeaderMarshaller {
|
|
7701
7701
|
constructor(toUtf83, fromUtf84) {
|
|
7702
7702
|
this.toUtf8 = toUtf83;
|
|
@@ -7878,7 +7878,7 @@ var TIMESTAMP_TAG = "timestamp";
|
|
|
7878
7878
|
var UUID_TAG = "uuid";
|
|
7879
7879
|
var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
7880
7880
|
|
|
7881
|
-
//
|
|
7881
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
7882
7882
|
var crc32 = __toESM(require_build2(), 1);
|
|
7883
7883
|
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
7884
7884
|
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
@@ -7910,7 +7910,7 @@ var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
|
7910
7910
|
var CHECKSUM_LENGTH = 4;
|
|
7911
7911
|
var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
7912
7912
|
|
|
7913
|
-
//
|
|
7913
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
7914
7914
|
class EventStreamCodec {
|
|
7915
7915
|
constructor(toUtf83, fromUtf84) {
|
|
7916
7916
|
this.headerMarshaller = new HeaderMarshaller(toUtf83, fromUtf84);
|
|
@@ -7970,7 +7970,7 @@ class EventStreamCodec {
|
|
|
7970
7970
|
return this.headerMarshaller.format(rawHeaders);
|
|
7971
7971
|
}
|
|
7972
7972
|
}
|
|
7973
|
-
//
|
|
7973
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
7974
7974
|
class MessageDecoderStream {
|
|
7975
7975
|
constructor(options) {
|
|
7976
7976
|
this.options = options;
|
|
@@ -7985,7 +7985,7 @@ class MessageDecoderStream {
|
|
|
7985
7985
|
}
|
|
7986
7986
|
}
|
|
7987
7987
|
}
|
|
7988
|
-
//
|
|
7988
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
7989
7989
|
class MessageEncoderStream {
|
|
7990
7990
|
constructor(options) {
|
|
7991
7991
|
this.options = options;
|
|
@@ -8003,7 +8003,7 @@ class MessageEncoderStream {
|
|
|
8003
8003
|
}
|
|
8004
8004
|
}
|
|
8005
8005
|
}
|
|
8006
|
-
//
|
|
8006
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
8007
8007
|
class SmithyMessageDecoderStream {
|
|
8008
8008
|
constructor(options) {
|
|
8009
8009
|
this.options = options;
|
|
@@ -8020,7 +8020,7 @@ class SmithyMessageDecoderStream {
|
|
|
8020
8020
|
}
|
|
8021
8021
|
}
|
|
8022
8022
|
}
|
|
8023
|
-
//
|
|
8023
|
+
// ../../../../node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
8024
8024
|
class SmithyMessageEncoderStream {
|
|
8025
8025
|
constructor(options) {
|
|
8026
8026
|
this.options = options;
|
|
@@ -8035,7 +8035,7 @@ class SmithyMessageEncoderStream {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
}
|
|
8037
8037
|
}
|
|
8038
|
-
//
|
|
8038
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
8039
8039
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
8040
8040
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
8041
8041
|
var AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
@@ -8076,7 +8076,7 @@ var MAX_CACHE_SIZE = 50;
|
|
|
8076
8076
|
var KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
8077
8077
|
var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
8078
8078
|
|
|
8079
|
-
//
|
|
8079
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
8080
8080
|
var signingKeyCache = {};
|
|
8081
8081
|
var cacheQueue = [];
|
|
8082
8082
|
var createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;
|
|
@@ -8102,7 +8102,7 @@ var hmac = (ctor, secret, data) => {
|
|
|
8102
8102
|
return hash.digest();
|
|
8103
8103
|
};
|
|
8104
8104
|
|
|
8105
|
-
//
|
|
8105
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
8106
8106
|
var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
8107
8107
|
const canonical = {};
|
|
8108
8108
|
for (const headerName of Object.keys(headers).sort()) {
|
|
@@ -8120,7 +8120,7 @@ var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
|
8120
8120
|
return canonical;
|
|
8121
8121
|
};
|
|
8122
8122
|
|
|
8123
|
-
//
|
|
8123
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
8124
8124
|
var getCanonicalQuery = ({ query = {} }) => {
|
|
8125
8125
|
const keys = [];
|
|
8126
8126
|
const serialized = {};
|
|
@@ -8139,10 +8139,10 @@ var getCanonicalQuery = ({ query = {} }) => {
|
|
|
8139
8139
|
return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
8140
8140
|
};
|
|
8141
8141
|
|
|
8142
|
-
//
|
|
8142
|
+
// ../../../../node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
8143
8143
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
8144
8144
|
|
|
8145
|
-
//
|
|
8145
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
8146
8146
|
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
8147
8147
|
for (const headerName of Object.keys(headers)) {
|
|
8148
8148
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
@@ -8159,7 +8159,7 @@ var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
|
8159
8159
|
return UNSIGNED_PAYLOAD;
|
|
8160
8160
|
};
|
|
8161
8161
|
|
|
8162
|
-
//
|
|
8162
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
8163
8163
|
var hasHeader = (soughtHeader, headers) => {
|
|
8164
8164
|
soughtHeader = soughtHeader.toLowerCase();
|
|
8165
8165
|
for (const headerName of Object.keys(headers)) {
|
|
@@ -8170,7 +8170,7 @@ var hasHeader = (soughtHeader, headers) => {
|
|
|
8170
8170
|
return false;
|
|
8171
8171
|
};
|
|
8172
8172
|
|
|
8173
|
-
//
|
|
8173
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/cloneRequest.js
|
|
8174
8174
|
var cloneRequest = ({ headers, query, ...rest }) => ({
|
|
8175
8175
|
...rest,
|
|
8176
8176
|
headers: { ...headers },
|
|
@@ -8184,7 +8184,7 @@ var cloneQuery2 = (query) => Object.keys(query).reduce((carry, paramName) => {
|
|
|
8184
8184
|
};
|
|
8185
8185
|
}, {});
|
|
8186
8186
|
|
|
8187
|
-
//
|
|
8187
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
8188
8188
|
var moveHeadersToQuery = (request, options = {}) => {
|
|
8189
8189
|
const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
|
|
8190
8190
|
for (const name of Object.keys(headers)) {
|
|
@@ -8201,7 +8201,7 @@ var moveHeadersToQuery = (request, options = {}) => {
|
|
|
8201
8201
|
};
|
|
8202
8202
|
};
|
|
8203
8203
|
|
|
8204
|
-
//
|
|
8204
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
8205
8205
|
var prepareRequest = (request) => {
|
|
8206
8206
|
request = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
|
|
8207
8207
|
for (const headerName of Object.keys(request.headers)) {
|
|
@@ -8212,7 +8212,7 @@ var prepareRequest = (request) => {
|
|
|
8212
8212
|
return request;
|
|
8213
8213
|
};
|
|
8214
8214
|
|
|
8215
|
-
//
|
|
8215
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
8216
8216
|
var iso8601 = (time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
8217
8217
|
var toDate = (time) => {
|
|
8218
8218
|
if (typeof time === "number") {
|
|
@@ -8227,7 +8227,7 @@ var toDate = (time) => {
|
|
|
8227
8227
|
return time;
|
|
8228
8228
|
};
|
|
8229
8229
|
|
|
8230
|
-
//
|
|
8230
|
+
// ../../../../node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
8231
8231
|
class SignatureV4 {
|
|
8232
8232
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
8233
8233
|
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
@@ -8395,7 +8395,7 @@ var formatDate = (now) => {
|
|
|
8395
8395
|
};
|
|
8396
8396
|
};
|
|
8397
8397
|
var getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");
|
|
8398
|
-
//
|
|
8398
|
+
// ../../../../node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
8399
8399
|
var resolveAwsSdkSigV4Config = (config6) => {
|
|
8400
8400
|
let normalizedCreds;
|
|
8401
8401
|
if (config6.credentials) {
|
|
@@ -8471,7 +8471,7 @@ var resolveAwsSdkSigV4Config = (config6) => {
|
|
|
8471
8471
|
};
|
|
8472
8472
|
};
|
|
8473
8473
|
|
|
8474
|
-
//
|
|
8474
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/auth/httpAuthSchemeProvider.js
|
|
8475
8475
|
var createAwsAuthSigv4HttpAuthOption = function(authParameters) {
|
|
8476
8476
|
return {
|
|
8477
8477
|
schemeId: "aws.auth#sigv4",
|
|
@@ -8511,7 +8511,7 @@ var resolveHttpAuthSchemeConfig = (config6) => {
|
|
|
8511
8511
|
};
|
|
8512
8512
|
};
|
|
8513
8513
|
|
|
8514
|
-
//
|
|
8514
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/EndpointParameters.js
|
|
8515
8515
|
var resolveClientEndpointParameters = (options) => {
|
|
8516
8516
|
return {
|
|
8517
8517
|
...options,
|
|
@@ -8526,7 +8526,7 @@ var commonParams = {
|
|
|
8526
8526
|
Region: { type: "builtInParams", name: "region" },
|
|
8527
8527
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
8528
8528
|
};
|
|
8529
|
-
//
|
|
8529
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/package.json
|
|
8530
8530
|
var package_default = {
|
|
8531
8531
|
name: "@aws-sdk/client-bedrock",
|
|
8532
8532
|
description: "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
@@ -8631,10 +8631,10 @@ var package_default = {
|
|
|
8631
8631
|
}
|
|
8632
8632
|
};
|
|
8633
8633
|
|
|
8634
|
-
//
|
|
8634
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.browser.js
|
|
8635
8635
|
var sha256_browser = __toESM(require_build6(), 1);
|
|
8636
8636
|
|
|
8637
|
-
//
|
|
8637
|
+
// ../../../../node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js
|
|
8638
8638
|
var import_bowser = __toESM(require_es5(), 1);
|
|
8639
8639
|
var defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
|
|
8640
8640
|
const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? import_bowser.default.parse(window.navigator.userAgent) : undefined;
|
|
@@ -8650,9 +8650,9 @@ var defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
|
|
|
8650
8650
|
}
|
|
8651
8651
|
return sections;
|
|
8652
8652
|
};
|
|
8653
|
-
//
|
|
8653
|
+
// ../../../../node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js
|
|
8654
8654
|
var invalidProvider = (message) => () => Promise.reject(message);
|
|
8655
|
-
//
|
|
8655
|
+
// ../../../../node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js
|
|
8656
8656
|
var TEXT_ENCODER = typeof TextEncoder == "function" ? new TextEncoder : null;
|
|
8657
8657
|
var calculateBodyLength = (body) => {
|
|
8658
8658
|
if (typeof body === "string") {
|
|
@@ -8677,7 +8677,7 @@ var calculateBodyLength = (body) => {
|
|
|
8677
8677
|
}
|
|
8678
8678
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
8679
8679
|
};
|
|
8680
|
-
//
|
|
8680
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/ruleset.js
|
|
8681
8681
|
var s = "required";
|
|
8682
8682
|
var t = "fn";
|
|
8683
8683
|
var u = "argv";
|
|
@@ -8703,7 +8703,7 @@ var r = [{ [v]: "Region" }];
|
|
|
8703
8703
|
var _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
8704
8704
|
var ruleSet = _data;
|
|
8705
8705
|
|
|
8706
|
-
//
|
|
8706
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/endpointResolver.js
|
|
8707
8707
|
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8708
8708
|
return resolveEndpoint(ruleSet, {
|
|
8709
8709
|
endpointParams,
|
|
@@ -8711,7 +8711,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
8711
8711
|
});
|
|
8712
8712
|
};
|
|
8713
8713
|
|
|
8714
|
-
//
|
|
8714
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.shared.js
|
|
8715
8715
|
var getRuntimeConfig = (config6) => {
|
|
8716
8716
|
return {
|
|
8717
8717
|
apiVersion: "2023-04-20",
|
|
@@ -8735,7 +8735,7 @@ var getRuntimeConfig = (config6) => {
|
|
|
8735
8735
|
utf8Encoder: config6?.utf8Encoder ?? toUtf8
|
|
8736
8736
|
};
|
|
8737
8737
|
};
|
|
8738
|
-
//
|
|
8738
|
+
// ../../../../node_modules/@smithy/property-provider/dist-es/memoize.js
|
|
8739
8739
|
var memoize = (provider, isExpired, requiresRefresh) => {
|
|
8740
8740
|
let resolved;
|
|
8741
8741
|
let pending;
|
|
@@ -8780,13 +8780,13 @@ var memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
8780
8780
|
return resolved;
|
|
8781
8781
|
};
|
|
8782
8782
|
};
|
|
8783
|
-
//
|
|
8783
|
+
// ../../../../node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js
|
|
8784
8784
|
var import_bowser2 = __toESM(require_es5(), 1);
|
|
8785
8785
|
|
|
8786
|
-
//
|
|
8786
|
+
// ../../../../node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js
|
|
8787
8787
|
var DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
|
|
8788
8788
|
|
|
8789
|
-
//
|
|
8789
|
+
// ../../../../node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js
|
|
8790
8790
|
var resolveDefaultsModeConfig = ({ defaultsMode } = {}) => memoize(async () => {
|
|
8791
8791
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
8792
8792
|
switch (mode?.toLowerCase()) {
|
|
@@ -8809,7 +8809,7 @@ var isMobileBrowser = () => {
|
|
|
8809
8809
|
const platform = parsedUA?.platform?.type;
|
|
8810
8810
|
return platform === "tablet" || platform === "mobile";
|
|
8811
8811
|
};
|
|
8812
|
-
//
|
|
8812
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.browser.js
|
|
8813
8813
|
var getRuntimeConfig2 = (config6) => {
|
|
8814
8814
|
const defaultsMode = resolveDefaultsModeConfig(config6);
|
|
8815
8815
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -8833,7 +8833,7 @@ var getRuntimeConfig2 = (config6) => {
|
|
|
8833
8833
|
};
|
|
8834
8834
|
};
|
|
8835
8835
|
|
|
8836
|
-
//
|
|
8836
|
+
// ../../../../node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js
|
|
8837
8837
|
var getAwsRegionExtensionConfiguration = (runtimeConfig2) => {
|
|
8838
8838
|
let runtimeConfigRegion = async () => {
|
|
8839
8839
|
if (runtimeConfig2.region === undefined) {
|
|
@@ -8859,7 +8859,7 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
8859
8859
|
region: awsRegionExtensionConfiguration.region()
|
|
8860
8860
|
};
|
|
8861
8861
|
};
|
|
8862
|
-
//
|
|
8862
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
8863
8863
|
var getHttpAuthExtensionConfiguration = (runtimeConfig2) => {
|
|
8864
8864
|
const _httpAuthSchemes = runtimeConfig2.httpAuthSchemes;
|
|
8865
8865
|
let _httpAuthSchemeProvider = runtimeConfig2.httpAuthSchemeProvider;
|
|
@@ -8898,7 +8898,7 @@ var resolveHttpAuthRuntimeConfig = (config7) => {
|
|
|
8898
8898
|
};
|
|
8899
8899
|
};
|
|
8900
8900
|
|
|
8901
|
-
//
|
|
8901
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/runtimeExtensions.js
|
|
8902
8902
|
var asPartial = (t2) => t2;
|
|
8903
8903
|
var resolveRuntimeExtensions = (runtimeConfig2, extensions5) => {
|
|
8904
8904
|
const extensionConfiguration = {
|
|
@@ -8917,7 +8917,7 @@ var resolveRuntimeExtensions = (runtimeConfig2, extensions5) => {
|
|
|
8917
8917
|
};
|
|
8918
8918
|
};
|
|
8919
8919
|
|
|
8920
|
-
//
|
|
8920
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/BedrockClient.js
|
|
8921
8921
|
class BedrockClient extends Client {
|
|
8922
8922
|
constructor(...[configuration]) {
|
|
8923
8923
|
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
@@ -8956,7 +8956,7 @@ class BedrockClient extends Client {
|
|
|
8956
8956
|
}
|
|
8957
8957
|
}
|
|
8958
8958
|
|
|
8959
|
-
//
|
|
8959
|
+
// ../../../../node_modules/uuid/dist/esm-browser/rng.js
|
|
8960
8960
|
var getRandomValues2;
|
|
8961
8961
|
var rnds82 = new Uint8Array(16);
|
|
8962
8962
|
function rng3() {
|
|
@@ -8969,7 +8969,7 @@ function rng3() {
|
|
|
8969
8969
|
return getRandomValues2(rnds82);
|
|
8970
8970
|
}
|
|
8971
8971
|
|
|
8972
|
-
//
|
|
8972
|
+
// ../../../../node_modules/uuid/dist/esm-browser/stringify.js
|
|
8973
8973
|
function unsafeStringify(arr, offset = 0) {
|
|
8974
8974
|
return byteToHex2[arr[offset + 0]] + byteToHex2[arr[offset + 1]] + byteToHex2[arr[offset + 2]] + byteToHex2[arr[offset + 3]] + "-" + byteToHex2[arr[offset + 4]] + byteToHex2[arr[offset + 5]] + "-" + byteToHex2[arr[offset + 6]] + byteToHex2[arr[offset + 7]] + "-" + byteToHex2[arr[offset + 8]] + byteToHex2[arr[offset + 9]] + "-" + byteToHex2[arr[offset + 10]] + byteToHex2[arr[offset + 11]] + byteToHex2[arr[offset + 12]] + byteToHex2[arr[offset + 13]] + byteToHex2[arr[offset + 14]] + byteToHex2[arr[offset + 15]];
|
|
8975
8975
|
}
|
|
@@ -8978,13 +8978,13 @@ for (let i2 = 0;i2 < 256; ++i2) {
|
|
|
8978
8978
|
byteToHex2.push((i2 + 256).toString(16).slice(1));
|
|
8979
8979
|
}
|
|
8980
8980
|
|
|
8981
|
-
//
|
|
8981
|
+
// ../../../../node_modules/uuid/dist/esm-browser/native.js
|
|
8982
8982
|
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
8983
8983
|
var native_default = {
|
|
8984
8984
|
randomUUID
|
|
8985
8985
|
};
|
|
8986
8986
|
|
|
8987
|
-
//
|
|
8987
|
+
// ../../../../node_modules/uuid/dist/esm-browser/v4.js
|
|
8988
8988
|
var v42 = function(options, buf, offset) {
|
|
8989
8989
|
if (native_default.randomUUID && !buf && !options) {
|
|
8990
8990
|
return native_default.randomUUID();
|
|
@@ -9003,7 +9003,7 @@ var v42 = function(options, buf, offset) {
|
|
|
9003
9003
|
return unsafeStringify(rnds);
|
|
9004
9004
|
};
|
|
9005
9005
|
var v4_default2 = v42;
|
|
9006
|
-
//
|
|
9006
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/models/BedrockServiceException.js
|
|
9007
9007
|
class BedrockServiceException extends ServiceException {
|
|
9008
9008
|
constructor(options) {
|
|
9009
9009
|
super(options);
|
|
@@ -9011,7 +9011,7 @@ class BedrockServiceException extends ServiceException {
|
|
|
9011
9011
|
}
|
|
9012
9012
|
}
|
|
9013
9013
|
|
|
9014
|
-
//
|
|
9014
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/models/models_0.js
|
|
9015
9015
|
class AccessDeniedException extends BedrockServiceException {
|
|
9016
9016
|
constructor(opts) {
|
|
9017
9017
|
super({
|
|
@@ -9116,7 +9116,7 @@ class TooManyTagsException extends BedrockServiceException {
|
|
|
9116
9116
|
}
|
|
9117
9117
|
}
|
|
9118
9118
|
|
|
9119
|
-
//
|
|
9119
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/protocols/Aws_restJson1.js
|
|
9120
9120
|
var se_CreateModelCustomizationJobCommand = async (input, context) => {
|
|
9121
9121
|
const b2 = requestBuilder(input, context);
|
|
9122
9122
|
const headers = {
|
|
@@ -9442,7 +9442,7 @@ var loadRestJsonErrorCode = (output, data) => {
|
|
|
9442
9442
|
}
|
|
9443
9443
|
};
|
|
9444
9444
|
|
|
9445
|
-
//
|
|
9445
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/commands/CreateModelCustomizationJobCommand.js
|
|
9446
9446
|
class CreateModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
9447
9447
|
...commonParams
|
|
9448
9448
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9453,7 +9453,7 @@ class CreateModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
|
9453
9453
|
}).s("AmazonBedrockControlPlaneService", "CreateModelCustomizationJob", {}).n("BedrockClient", "CreateModelCustomizationJobCommand").f(undefined, undefined).ser(se_CreateModelCustomizationJobCommand).de(de_CreateModelCustomizationJobCommand).build() {
|
|
9454
9454
|
}
|
|
9455
9455
|
|
|
9456
|
-
//
|
|
9456
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/commands/GetModelCustomizationJobCommand.js
|
|
9457
9457
|
class GetModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
9458
9458
|
...commonParams
|
|
9459
9459
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9464,7 +9464,7 @@ class GetModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
|
9464
9464
|
}).s("AmazonBedrockControlPlaneService", "GetModelCustomizationJob", {}).n("BedrockClient", "GetModelCustomizationJobCommand").f(undefined, undefined).ser(se_GetModelCustomizationJobCommand).de(de_GetModelCustomizationJobCommand).build() {
|
|
9465
9465
|
}
|
|
9466
9466
|
|
|
9467
|
-
//
|
|
9467
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock/dist-es/commands/ListFoundationModelsCommand.js
|
|
9468
9468
|
class ListFoundationModelsCommand extends Command.classBuilder().ep({
|
|
9469
9469
|
...commonParams
|
|
9470
9470
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9502,12 +9502,12 @@ async function listFoundationModels(params) {
|
|
|
9502
9502
|
}
|
|
9503
9503
|
var client3 = new BedrockClient({ region: process.env.REGION || "us-east-1" });
|
|
9504
9504
|
var logger3 = console;
|
|
9505
|
-
//
|
|
9505
|
+
// ../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
|
|
9506
9506
|
var resolveEventStreamSerdeConfig = (input) => ({
|
|
9507
9507
|
...input,
|
|
9508
9508
|
eventStreamMarshaller: input.eventStreamSerdeProvider(input)
|
|
9509
9509
|
});
|
|
9510
|
-
//
|
|
9510
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
|
|
9511
9511
|
var createAwsAuthSigv4HttpAuthOption2 = function(authParameters) {
|
|
9512
9512
|
return {
|
|
9513
9513
|
schemeId: "aws.auth#sigv4",
|
|
@@ -9547,7 +9547,7 @@ var resolveHttpAuthSchemeConfig2 = (config7) => {
|
|
|
9547
9547
|
};
|
|
9548
9548
|
};
|
|
9549
9549
|
|
|
9550
|
-
//
|
|
9550
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
|
|
9551
9551
|
var resolveClientEndpointParameters2 = (options) => {
|
|
9552
9552
|
return {
|
|
9553
9553
|
...options,
|
|
@@ -9562,7 +9562,7 @@ var commonParams2 = {
|
|
|
9562
9562
|
Region: { type: "builtInParams", name: "region" },
|
|
9563
9563
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
9564
9564
|
};
|
|
9565
|
-
//
|
|
9565
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/package.json
|
|
9566
9566
|
var package_default2 = {
|
|
9567
9567
|
name: "@aws-sdk/client-bedrock-runtime",
|
|
9568
9568
|
description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
@@ -9669,10 +9669,10 @@ var package_default2 = {
|
|
|
9669
9669
|
}
|
|
9670
9670
|
};
|
|
9671
9671
|
|
|
9672
|
-
//
|
|
9672
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js
|
|
9673
9673
|
var sha256_browser2 = __toESM(require_build6(), 1);
|
|
9674
9674
|
|
|
9675
|
-
//
|
|
9675
|
+
// ../../../../node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
9676
9676
|
function getChunkedStream(source) {
|
|
9677
9677
|
let currentMessageTotalLength = 0;
|
|
9678
9678
|
let currentMessagePendingLength = 0;
|
|
@@ -9738,7 +9738,7 @@ function getChunkedStream(source) {
|
|
|
9738
9738
|
};
|
|
9739
9739
|
}
|
|
9740
9740
|
|
|
9741
|
-
//
|
|
9741
|
+
// ../../../../node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
|
|
9742
9742
|
function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
9743
9743
|
return async function(message) {
|
|
9744
9744
|
const { value: messageType } = message.headers[":message-type"];
|
|
@@ -9770,7 +9770,7 @@ function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
|
9770
9770
|
};
|
|
9771
9771
|
}
|
|
9772
9772
|
|
|
9773
|
-
//
|
|
9773
|
+
// ../../../../node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
|
|
9774
9774
|
class EventStreamMarshaller {
|
|
9775
9775
|
constructor({ utf8Encoder, utf8Decoder }) {
|
|
9776
9776
|
this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
|
|
@@ -9791,7 +9791,7 @@ class EventStreamMarshaller {
|
|
|
9791
9791
|
});
|
|
9792
9792
|
}
|
|
9793
9793
|
}
|
|
9794
|
-
//
|
|
9794
|
+
// ../../../../node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js
|
|
9795
9795
|
var readableStreamtoIterable = (readableStream) => ({
|
|
9796
9796
|
[Symbol.asyncIterator]: async function* () {
|
|
9797
9797
|
const reader = readableStream.getReader();
|
|
@@ -9820,7 +9820,7 @@ var iterableToReadableStream = (asyncIterable) => {
|
|
|
9820
9820
|
});
|
|
9821
9821
|
};
|
|
9822
9822
|
|
|
9823
|
-
//
|
|
9823
|
+
// ../../../../node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js
|
|
9824
9824
|
class EventStreamMarshaller4 {
|
|
9825
9825
|
constructor({ utf8Encoder, utf8Decoder }) {
|
|
9826
9826
|
this.universalMarshaller = new EventStreamMarshaller({
|
|
@@ -9838,9 +9838,9 @@ class EventStreamMarshaller4 {
|
|
|
9838
9838
|
}
|
|
9839
9839
|
}
|
|
9840
9840
|
var isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream;
|
|
9841
|
-
//
|
|
9841
|
+
// ../../../../node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js
|
|
9842
9842
|
var eventStreamSerdeProvider = (options) => new EventStreamMarshaller4(options);
|
|
9843
|
-
//
|
|
9843
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
|
|
9844
9844
|
var s2 = "required";
|
|
9845
9845
|
var t2 = "fn";
|
|
9846
9846
|
var u2 = "argv";
|
|
@@ -9866,7 +9866,7 @@ var r2 = [{ [v2]: "Region" }];
|
|
|
9866
9866
|
var _data2 = { version: "1.0", parameters: { Region: h2, UseDualStack: i2, UseFIPS: i2, Endpoint: h2 }, rules: [{ conditions: [{ [t2]: b2, [u2]: [j2] }], rules: [{ conditions: p2, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d2 }, { rules: [{ conditions: q2, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d2 }, { endpoint: { url: j2, properties: m2, headers: m2 }, type: e2 }], type: f2 }], type: f2 }, { rules: [{ conditions: [{ [t2]: b2, [u2]: r2 }], rules: [{ conditions: [{ [t2]: "aws.partition", [u2]: r2, assign: g2 }], rules: [{ conditions: [k2, l2], rules: [{ conditions: [{ [t2]: c2, [u2]: [a2, n2] }, o2], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f2 }], type: f2 }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d2 }], type: f2 }, { conditions: p2, rules: [{ conditions: [{ [t2]: c2, [u2]: [n2, a2] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f2 }], type: f2 }, { error: "FIPS is enabled but this partition does not support FIPS", type: d2 }], type: f2 }, { conditions: q2, rules: [{ conditions: [o2], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f2 }], type: f2 }, { error: "DualStack is enabled but this partition does not support DualStack", type: d2 }], type: f2 }, { rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}", properties: m2, headers: m2 }, type: e2 }], type: f2 }], type: f2 }], type: f2 }, { error: "Invalid Configuration: Missing Region", type: d2 }], type: f2 }] };
|
|
9867
9867
|
var ruleSet2 = _data2;
|
|
9868
9868
|
|
|
9869
|
-
//
|
|
9869
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
|
|
9870
9870
|
var defaultEndpointResolver2 = (endpointParams, context = {}) => {
|
|
9871
9871
|
return resolveEndpoint(ruleSet2, {
|
|
9872
9872
|
endpointParams,
|
|
@@ -9874,7 +9874,7 @@ var defaultEndpointResolver2 = (endpointParams, context = {}) => {
|
|
|
9874
9874
|
});
|
|
9875
9875
|
};
|
|
9876
9876
|
|
|
9877
|
-
//
|
|
9877
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
|
|
9878
9878
|
var getRuntimeConfig3 = (config7) => {
|
|
9879
9879
|
return {
|
|
9880
9880
|
apiVersion: "2023-09-30",
|
|
@@ -9899,7 +9899,7 @@ var getRuntimeConfig3 = (config7) => {
|
|
|
9899
9899
|
};
|
|
9900
9900
|
};
|
|
9901
9901
|
|
|
9902
|
-
//
|
|
9902
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js
|
|
9903
9903
|
var getRuntimeConfig4 = (config7) => {
|
|
9904
9904
|
const defaultsMode = resolveDefaultsModeConfig(config7);
|
|
9905
9905
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -9924,7 +9924,7 @@ var getRuntimeConfig4 = (config7) => {
|
|
|
9924
9924
|
};
|
|
9925
9925
|
};
|
|
9926
9926
|
|
|
9927
|
-
//
|
|
9927
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
9928
9928
|
var getHttpAuthExtensionConfiguration2 = (runtimeConfig4) => {
|
|
9929
9929
|
const _httpAuthSchemes = runtimeConfig4.httpAuthSchemes;
|
|
9930
9930
|
let _httpAuthSchemeProvider = runtimeConfig4.httpAuthSchemeProvider;
|
|
@@ -9963,7 +9963,7 @@ var resolveHttpAuthRuntimeConfig2 = (config7) => {
|
|
|
9963
9963
|
};
|
|
9964
9964
|
};
|
|
9965
9965
|
|
|
9966
|
-
//
|
|
9966
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
|
|
9967
9967
|
var asPartial2 = (t3) => t3;
|
|
9968
9968
|
var resolveRuntimeExtensions2 = (runtimeConfig4, extensions5) => {
|
|
9969
9969
|
const extensionConfiguration = {
|
|
@@ -9982,7 +9982,7 @@ var resolveRuntimeExtensions2 = (runtimeConfig4, extensions5) => {
|
|
|
9982
9982
|
};
|
|
9983
9983
|
};
|
|
9984
9984
|
|
|
9985
|
-
//
|
|
9985
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
|
|
9986
9986
|
class BedrockRuntimeClient extends Client {
|
|
9987
9987
|
constructor(...[configuration]) {
|
|
9988
9988
|
const _config_0 = getRuntimeConfig4(configuration || {});
|
|
@@ -10022,7 +10022,7 @@ class BedrockRuntimeClient extends Client {
|
|
|
10022
10022
|
}
|
|
10023
10023
|
}
|
|
10024
10024
|
|
|
10025
|
-
//
|
|
10025
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
|
|
10026
10026
|
class BedrockRuntimeServiceException extends ServiceException {
|
|
10027
10027
|
constructor(options) {
|
|
10028
10028
|
super(options);
|
|
@@ -10030,7 +10030,7 @@ class BedrockRuntimeServiceException extends ServiceException {
|
|
|
10030
10030
|
}
|
|
10031
10031
|
}
|
|
10032
10032
|
|
|
10033
|
-
//
|
|
10033
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
|
|
10034
10034
|
class AccessDeniedException2 extends BedrockRuntimeServiceException {
|
|
10035
10035
|
constructor(opts) {
|
|
10036
10036
|
super({
|
|
@@ -10199,7 +10199,7 @@ var InvokeModelWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
|
|
|
10199
10199
|
...obj.body && { body: "STREAMING_CONTENT" }
|
|
10200
10200
|
});
|
|
10201
10201
|
|
|
10202
|
-
//
|
|
10202
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/protocols/Aws_restJson1.js
|
|
10203
10203
|
var se_InvokeModelCommand = async (input, context) => {
|
|
10204
10204
|
const b3 = requestBuilder(input, context);
|
|
10205
10205
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -10570,7 +10570,7 @@ var loadRestJsonErrorCode2 = (output, data) => {
|
|
|
10570
10570
|
}
|
|
10571
10571
|
};
|
|
10572
10572
|
|
|
10573
|
-
//
|
|
10573
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
|
|
10574
10574
|
class InvokeModelCommand extends Command.classBuilder().ep({
|
|
10575
10575
|
...commonParams2
|
|
10576
10576
|
}).m(function(Command2, cs, config7, o3) {
|
|
@@ -10581,7 +10581,7 @@ class InvokeModelCommand extends Command.classBuilder().ep({
|
|
|
10581
10581
|
}).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").f(InvokeModelRequestFilterSensitiveLog, InvokeModelResponseFilterSensitiveLog).ser(se_InvokeModelCommand).de(de_InvokeModelCommand).build() {
|
|
10582
10582
|
}
|
|
10583
10583
|
|
|
10584
|
-
//
|
|
10584
|
+
// ../../../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
|
|
10585
10585
|
class InvokeModelWithResponseStreamCommand extends Command.classBuilder().ep({
|
|
10586
10586
|
...commonParams2
|
|
10587
10587
|
}).m(function(Command2, cs, config7, o3) {
|