@stacksjs/ai 0.58.27 → 0.58.43
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 +448 -728
- package/package.json +3 -3
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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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 = toUtf8;
|
|
556
556
|
});
|
|
557
557
|
|
|
558
|
-
// /
|
|
558
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js
|
|
559
559
|
var require_whatwgEncodingApi = __commonJS((exports) => {
|
|
560
560
|
var fromUtf8 = function(input) {
|
|
561
561
|
return new TextEncoder().encode(input);
|
|
@@ -569,7 +569,7 @@ var require_whatwgEncodingApi = __commonJS((exports) => {
|
|
|
569
569
|
exports.toUtf8 = toUtf8;
|
|
570
570
|
});
|
|
571
571
|
|
|
572
|
-
// /
|
|
572
|
+
// /Users/chrisbreuer/Code/stacks/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 = toUtf8;
|
|
582
582
|
});
|
|
583
583
|
|
|
584
|
-
// /
|
|
584
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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
|
+
// /Users/chrisbreuer/Code/stacks/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,8 +1532,8 @@ var require_constants = __commonJS((exports) => {
|
|
|
1532
1532
|
]);
|
|
1533
1533
|
});
|
|
1534
1534
|
|
|
1535
|
-
// /
|
|
1536
|
-
var require_dist_cjs2 = __commonJS((exports) => {
|
|
1535
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js
|
|
1536
|
+
var require_dist_cjs2 = __commonJS((exports, module) => {
|
|
1537
1537
|
var locateWindow = function() {
|
|
1538
1538
|
if (typeof window !== "undefined") {
|
|
1539
1539
|
return window;
|
|
@@ -1542,13 +1542,34 @@ var require_dist_cjs2 = __commonJS((exports) => {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
return fallbackWindow;
|
|
1544
1544
|
};
|
|
1545
|
-
Object.defineProperty
|
|
1546
|
-
|
|
1545
|
+
var __defProp2 = Object.defineProperty;
|
|
1546
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
1547
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
1548
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
1549
|
+
var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
|
|
1550
|
+
var __export2 = (target, all) => {
|
|
1551
|
+
for (var name in all)
|
|
1552
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
1553
|
+
};
|
|
1554
|
+
var __copyProps = (to, from, except, desc) => {
|
|
1555
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
1556
|
+
for (let key of __getOwnPropNames2(from))
|
|
1557
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
1558
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
1559
|
+
}
|
|
1560
|
+
return to;
|
|
1561
|
+
};
|
|
1562
|
+
var __toCommonJS2 = (mod) => __copyProps(__defProp2({}, "__esModule", { value: true }), mod);
|
|
1563
|
+
var src_exports = {};
|
|
1564
|
+
__export2(src_exports, {
|
|
1565
|
+
locateWindow: () => locateWindow
|
|
1566
|
+
});
|
|
1567
|
+
module.exports = __toCommonJS2(src_exports);
|
|
1547
1568
|
var fallbackWindow = {};
|
|
1548
|
-
|
|
1569
|
+
__name(locateWindow, "locateWindow");
|
|
1549
1570
|
});
|
|
1550
1571
|
|
|
1551
|
-
// /
|
|
1572
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js
|
|
1552
1573
|
var require_ie11Sha256 = __commonJS((exports) => {
|
|
1553
1574
|
var getKeyPromise = function(secret) {
|
|
1554
1575
|
return new Promise(function(resolve, reject) {
|
|
@@ -1631,7 +1652,7 @@ var require_ie11Sha256 = __commonJS((exports) => {
|
|
|
1631
1652
|
exports.Sha256 = Sha256;
|
|
1632
1653
|
});
|
|
1633
1654
|
|
|
1634
|
-
// /
|
|
1655
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js
|
|
1635
1656
|
var require_webCryptoSha256 = __commonJS((exports) => {
|
|
1636
1657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1637
1658
|
exports.Sha256 = undefined;
|
|
@@ -1688,7 +1709,7 @@ var require_webCryptoSha256 = __commonJS((exports) => {
|
|
|
1688
1709
|
exports.Sha256 = Sha256;
|
|
1689
1710
|
});
|
|
1690
1711
|
|
|
1691
|
-
// /
|
|
1712
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js
|
|
1692
1713
|
var exports_tslib_es63 = {};
|
|
1693
1714
|
__export(exports_tslib_es63, {
|
|
1694
1715
|
__values: () => {
|
|
@@ -2154,7 +2175,7 @@ var init_tslib_es63 = __esm(() => {
|
|
|
2154
2175
|
};
|
|
2155
2176
|
});
|
|
2156
2177
|
|
|
2157
|
-
// /
|
|
2178
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-js/build/constants.js
|
|
2158
2179
|
var require_constants2 = __commonJS((exports) => {
|
|
2159
2180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2160
2181
|
exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = undefined;
|
|
@@ -2239,7 +2260,7 @@ var require_constants2 = __commonJS((exports) => {
|
|
|
2239
2260
|
exports.MAX_HASHABLE_LENGTH = Math.pow(2, 53) - 1;
|
|
2240
2261
|
});
|
|
2241
2262
|
|
|
2242
|
-
// /
|
|
2263
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-js/build/RawSha256.js
|
|
2243
2264
|
var require_RawSha256 = __commonJS((exports) => {
|
|
2244
2265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2245
2266
|
exports.RawSha256 = undefined;
|
|
@@ -2340,7 +2361,7 @@ var require_RawSha256 = __commonJS((exports) => {
|
|
|
2340
2361
|
exports.RawSha256 = RawSha256;
|
|
2341
2362
|
});
|
|
2342
2363
|
|
|
2343
|
-
// /
|
|
2364
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-js/build/jsSha256.js
|
|
2344
2365
|
var require_jsSha256 = __commonJS((exports) => {
|
|
2345
2366
|
var bufferFromSecret = function(secret) {
|
|
2346
2367
|
var input = (0, util_1.convertToBuffer)(secret);
|
|
@@ -2417,14 +2438,14 @@ var require_jsSha256 = __commonJS((exports) => {
|
|
|
2417
2438
|
exports.Sha256 = Sha256;
|
|
2418
2439
|
});
|
|
2419
2440
|
|
|
2420
|
-
// /
|
|
2441
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-js/build/index.js
|
|
2421
2442
|
var require_build3 = __commonJS((exports) => {
|
|
2422
2443
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2423
2444
|
var tslib_1 = (init_tslib_es63(), __toCommonJS(exports_tslib_es63));
|
|
2424
2445
|
tslib_1.__exportStar(require_jsSha256(), exports);
|
|
2425
2446
|
});
|
|
2426
2447
|
|
|
2427
|
-
// /
|
|
2448
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js
|
|
2428
2449
|
var exports_tslib_es64 = {};
|
|
2429
2450
|
__export(exports_tslib_es64, {
|
|
2430
2451
|
__values: () => {
|
|
@@ -2890,7 +2911,7 @@ var init_tslib_es64 = __esm(() => {
|
|
|
2890
2911
|
};
|
|
2891
2912
|
});
|
|
2892
2913
|
|
|
2893
|
-
// /
|
|
2914
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js
|
|
2894
2915
|
var require_supportsWebCrypto = __commonJS((exports) => {
|
|
2895
2916
|
var supportsWebCrypto = function(window2) {
|
|
2896
2917
|
if (supportsSecureRandom(window2) && typeof window2.crypto.subtle === "object") {
|
|
@@ -2962,14 +2983,14 @@ var require_supportsWebCrypto = __commonJS((exports) => {
|
|
|
2962
2983
|
exports.supportsZeroByteGCM = supportsZeroByteGCM;
|
|
2963
2984
|
});
|
|
2964
2985
|
|
|
2965
|
-
// /
|
|
2986
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/supports-web-crypto/build/index.js
|
|
2966
2987
|
var require_build4 = __commonJS((exports) => {
|
|
2967
2988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2968
2989
|
var tslib_1 = (init_tslib_es64(), __toCommonJS(exports_tslib_es64));
|
|
2969
2990
|
tslib_1.__exportStar(require_supportsWebCrypto(), exports);
|
|
2970
2991
|
});
|
|
2971
2992
|
|
|
2972
|
-
// /
|
|
2993
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js
|
|
2973
2994
|
var exports_tslib_es65 = {};
|
|
2974
2995
|
__export(exports_tslib_es65, {
|
|
2975
2996
|
__values: () => {
|
|
@@ -3435,30 +3456,30 @@ var init_tslib_es65 = __esm(() => {
|
|
|
3435
3456
|
};
|
|
3436
3457
|
});
|
|
3437
3458
|
|
|
3438
|
-
// /
|
|
3459
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js
|
|
3439
3460
|
var require_CryptoOperation = __commonJS((exports) => {
|
|
3440
3461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3441
3462
|
});
|
|
3442
3463
|
|
|
3443
|
-
// /
|
|
3464
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/Key.js
|
|
3444
3465
|
var require_Key = __commonJS((exports) => {
|
|
3445
3466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3446
3467
|
});
|
|
3447
3468
|
|
|
3448
|
-
// /
|
|
3469
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js
|
|
3449
3470
|
var require_KeyOperation = __commonJS((exports) => {
|
|
3450
3471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3451
3472
|
});
|
|
3452
3473
|
|
|
3453
|
-
// /
|
|
3474
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js
|
|
3454
3475
|
var require_MsSubtleCrypto = __commonJS((exports) => {
|
|
3455
3476
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3456
3477
|
});
|
|
3457
3478
|
|
|
3458
|
-
// /
|
|
3479
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js
|
|
3459
3480
|
var require_MsWindow = __commonJS((exports) => {
|
|
3460
3481
|
var quacksLikeAnMsWindow = function(window2) {
|
|
3461
|
-
return "MSInputMethodContext" in window2 && "msCrypto" in window2;
|
|
3482
|
+
return ("MSInputMethodContext" in window2) && ("msCrypto" in window2);
|
|
3462
3483
|
};
|
|
3463
3484
|
var isMsWindow = function(window2) {
|
|
3464
3485
|
if (quacksLikeAnMsWindow(window2) && window2.msCrypto.subtle !== undefined) {
|
|
@@ -3486,7 +3507,7 @@ var require_MsWindow = __commonJS((exports) => {
|
|
|
3486
3507
|
exports.isMsWindow = isMsWindow;
|
|
3487
3508
|
});
|
|
3488
3509
|
|
|
3489
|
-
// /
|
|
3510
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/ie11-detection/build/index.js
|
|
3490
3511
|
var require_build5 = __commonJS((exports) => {
|
|
3491
3512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3492
3513
|
var tslib_1 = (init_tslib_es65(), __toCommonJS(exports_tslib_es65));
|
|
@@ -3497,7 +3518,7 @@ var require_build5 = __commonJS((exports) => {
|
|
|
3497
3518
|
tslib_1.__exportStar(require_MsWindow(), exports);
|
|
3498
3519
|
});
|
|
3499
3520
|
|
|
3500
|
-
// /
|
|
3521
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js
|
|
3501
3522
|
var require_crossPlatformSha256 = __commonJS((exports) => {
|
|
3502
3523
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3503
3524
|
exports.Sha256 = undefined;
|
|
@@ -3532,7 +3553,7 @@ var require_crossPlatformSha256 = __commonJS((exports) => {
|
|
|
3532
3553
|
exports.Sha256 = Sha256;
|
|
3533
3554
|
});
|
|
3534
3555
|
|
|
3535
|
-
// /
|
|
3556
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-crypto/sha256-browser/build/index.js
|
|
3536
3557
|
var require_build6 = __commonJS((exports) => {
|
|
3537
3558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3538
3559
|
exports.WebCryptoSha256 = exports.Ie11Sha256 = undefined;
|
|
@@ -3548,7 +3569,7 @@ var require_build6 = __commonJS((exports) => {
|
|
|
3548
3569
|
} });
|
|
3549
3570
|
});
|
|
3550
3571
|
|
|
3551
|
-
// /
|
|
3572
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/bowser/es5.js
|
|
3552
3573
|
var require_es5 = __commonJS((exports, module) => {
|
|
3553
3574
|
(function(e, t) {
|
|
3554
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();
|
|
@@ -3733,7 +3754,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
3733
3754
|
function a(e2, t2) {
|
|
3734
3755
|
for (var r2 = 0;r2 < t2.length; r2++) {
|
|
3735
3756
|
var n2 = t2[r2];
|
|
3736
|
-
n2.enumerable = n2.enumerable || false, n2.configurable = true, "value" in n2 && (n2.writable = true), Object.defineProperty(e2, n2.key, n2);
|
|
3757
|
+
n2.enumerable = n2.enumerable || false, n2.configurable = true, ("value" in n2) && (n2.writable = true), Object.defineProperty(e2, n2.key, n2);
|
|
3737
3758
|
}
|
|
3738
3759
|
}
|
|
3739
3760
|
var o = function() {
|
|
@@ -4200,7 +4221,7 @@ var require_es5 = __commonJS((exports, module) => {
|
|
|
4200
4221
|
});
|
|
4201
4222
|
});
|
|
4202
4223
|
|
|
4203
|
-
// /
|
|
4224
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js
|
|
4204
4225
|
var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
4205
4226
|
let httpHandler = runtimeConfig.httpHandler;
|
|
4206
4227
|
return {
|
|
@@ -4223,25 +4244,25 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
|
4223
4244
|
httpHandler: httpHandlerExtensionConfiguration.httpHandler()
|
|
4224
4245
|
};
|
|
4225
4246
|
};
|
|
4226
|
-
// /
|
|
4247
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/auth/auth.js
|
|
4227
4248
|
var HttpAuthLocation;
|
|
4228
4249
|
(function(HttpAuthLocation2) {
|
|
4229
4250
|
HttpAuthLocation2["HEADER"] = "header";
|
|
4230
4251
|
HttpAuthLocation2["QUERY"] = "query";
|
|
4231
4252
|
})(HttpAuthLocation || (HttpAuthLocation = {}));
|
|
4232
|
-
// /
|
|
4253
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js
|
|
4233
4254
|
var HttpApiKeyAuthLocation;
|
|
4234
4255
|
(function(HttpApiKeyAuthLocation2) {
|
|
4235
4256
|
HttpApiKeyAuthLocation2["HEADER"] = "header";
|
|
4236
4257
|
HttpApiKeyAuthLocation2["QUERY"] = "query";
|
|
4237
4258
|
})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
|
|
4238
|
-
// /
|
|
4259
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/endpoint.js
|
|
4239
4260
|
var EndpointURLScheme;
|
|
4240
4261
|
(function(EndpointURLScheme2) {
|
|
4241
4262
|
EndpointURLScheme2["HTTP"] = "http";
|
|
4242
4263
|
EndpointURLScheme2["HTTPS"] = "https";
|
|
4243
4264
|
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
4244
|
-
// /
|
|
4265
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
4245
4266
|
var AlgorithmId;
|
|
4246
4267
|
(function(AlgorithmId2) {
|
|
4247
4268
|
AlgorithmId2["MD5"] = "md5";
|
|
@@ -4250,29 +4271,29 @@ var AlgorithmId;
|
|
|
4250
4271
|
AlgorithmId2["SHA1"] = "sha1";
|
|
4251
4272
|
AlgorithmId2["SHA256"] = "sha256";
|
|
4252
4273
|
})(AlgorithmId || (AlgorithmId = {}));
|
|
4253
|
-
// /
|
|
4274
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/http.js
|
|
4254
4275
|
var FieldPosition;
|
|
4255
4276
|
(function(FieldPosition2) {
|
|
4256
4277
|
FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
|
|
4257
4278
|
FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER";
|
|
4258
4279
|
})(FieldPosition || (FieldPosition = {}));
|
|
4259
|
-
// /
|
|
4280
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/middleware.js
|
|
4260
4281
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
4261
|
-
// /
|
|
4282
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/profile.js
|
|
4262
4283
|
var IniSectionType;
|
|
4263
4284
|
(function(IniSectionType2) {
|
|
4264
4285
|
IniSectionType2["PROFILE"] = "profile";
|
|
4265
4286
|
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
4266
4287
|
IniSectionType2["SERVICES"] = "services";
|
|
4267
4288
|
})(IniSectionType || (IniSectionType = {}));
|
|
4268
|
-
// /
|
|
4289
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/types/dist-es/transfer.js
|
|
4269
4290
|
var RequestHandlerProtocol;
|
|
4270
4291
|
(function(RequestHandlerProtocol2) {
|
|
4271
4292
|
RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
|
|
4272
4293
|
RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0";
|
|
4273
4294
|
RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0";
|
|
4274
4295
|
})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
|
|
4275
|
-
// /
|
|
4296
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/protocol-http/dist-es/httpRequest.js
|
|
4276
4297
|
var cloneQuery = function(query) {
|
|
4277
4298
|
return Object.keys(query).reduce((carry, paramName) => {
|
|
4278
4299
|
const param = query[paramName];
|
|
@@ -4301,7 +4322,7 @@ class HttpRequest {
|
|
|
4301
4322
|
if (!request)
|
|
4302
4323
|
return false;
|
|
4303
4324
|
const req = request;
|
|
4304
|
-
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
4325
|
+
return ("method" in req) && ("protocol" in req) && ("hostname" in req) && ("path" in req) && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
4305
4326
|
}
|
|
4306
4327
|
clone() {
|
|
4307
4328
|
const cloned = new HttpRequest({
|
|
@@ -4313,7 +4334,7 @@ class HttpRequest {
|
|
|
4313
4334
|
return cloned;
|
|
4314
4335
|
}
|
|
4315
4336
|
}
|
|
4316
|
-
// /
|
|
4337
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/protocol-http/dist-es/httpResponse.js
|
|
4317
4338
|
class HttpResponse {
|
|
4318
4339
|
constructor(options) {
|
|
4319
4340
|
this.statusCode = options.statusCode;
|
|
@@ -4328,7 +4349,7 @@ class HttpResponse {
|
|
|
4328
4349
|
return typeof resp.statusCode === "number" && typeof resp.headers === "object";
|
|
4329
4350
|
}
|
|
4330
4351
|
}
|
|
4331
|
-
// /
|
|
4352
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js
|
|
4332
4353
|
function resolveHostHeaderConfig(input) {
|
|
4333
4354
|
return input;
|
|
4334
4355
|
}
|
|
@@ -4361,7 +4382,7 @@ var getHostHeaderPlugin = (options) => ({
|
|
|
4361
4382
|
}
|
|
4362
4383
|
});
|
|
4363
4384
|
|
|
4364
|
-
// /
|
|
4385
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js
|
|
4365
4386
|
var loggerMiddleware = () => (next, context) => async (args) => {
|
|
4366
4387
|
try {
|
|
4367
4388
|
const response2 = await next(args);
|
|
@@ -4403,7 +4424,7 @@ var getLoggerPlugin = (options) => ({
|
|
|
4403
4424
|
clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
|
|
4404
4425
|
}
|
|
4405
4426
|
});
|
|
4406
|
-
// /
|
|
4427
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js
|
|
4407
4428
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
4408
4429
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
4409
4430
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
@@ -4435,7 +4456,7 @@ var getRecursionDetectionPlugin = (options) => ({
|
|
|
4435
4456
|
clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);
|
|
4436
4457
|
}
|
|
4437
4458
|
});
|
|
4438
|
-
// /
|
|
4459
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/property-provider/dist-es/memoize.js
|
|
4439
4460
|
var memoize = (provider, isExpired, requiresRefresh) => {
|
|
4440
4461
|
let resolved;
|
|
4441
4462
|
let pending;
|
|
@@ -4480,10 +4501,10 @@ var memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
4480
4501
|
return resolved;
|
|
4481
4502
|
};
|
|
4482
4503
|
};
|
|
4483
|
-
// /
|
|
4504
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
4484
4505
|
var crc322 = __toESM(require_build2(), 1);
|
|
4485
4506
|
|
|
4486
|
-
// /
|
|
4507
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-hex-encoding/dist-es/index.js
|
|
4487
4508
|
function fromHex(encoded) {
|
|
4488
4509
|
if (encoded.length % 2 !== 0) {
|
|
4489
4510
|
throw new Error("Hex encoded strings must have an even number length");
|
|
@@ -4517,7 +4538,7 @@ for (let i = 0;i < 256; i++) {
|
|
|
4517
4538
|
HEX_TO_SHORT[encodedByte] = i;
|
|
4518
4539
|
}
|
|
4519
4540
|
|
|
4520
|
-
// /
|
|
4541
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
4521
4542
|
var negate = function(bytes) {
|
|
4522
4543
|
for (let i = 0;i < 8; i++) {
|
|
4523
4544
|
bytes[i] ^= 255;
|
|
@@ -4562,7 +4583,7 @@ class Int64 {
|
|
|
4562
4583
|
}
|
|
4563
4584
|
}
|
|
4564
4585
|
|
|
4565
|
-
// /
|
|
4586
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
4566
4587
|
class HeaderMarshaller {
|
|
4567
4588
|
constructor(toUtf8, fromUtf8) {
|
|
4568
4589
|
this.toUtf8 = toUtf8;
|
|
@@ -4744,13 +4765,99 @@ var TIMESTAMP_TAG = "timestamp";
|
|
|
4744
4765
|
var UUID_TAG = "uuid";
|
|
4745
4766
|
var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
4746
4767
|
|
|
4747
|
-
// /
|
|
4768
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
4748
4769
|
var crc32 = __toESM(require_build2(), 1);
|
|
4770
|
+
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
4771
|
+
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
4772
|
+
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
4773
|
+
}
|
|
4774
|
+
const view = new DataView(buffer, byteOffset, byteLength);
|
|
4775
|
+
const messageLength = view.getUint32(0, false);
|
|
4776
|
+
if (byteLength !== messageLength) {
|
|
4777
|
+
throw new Error("Reported message length does not match received message length");
|
|
4778
|
+
}
|
|
4779
|
+
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
4780
|
+
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
4781
|
+
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
4782
|
+
const checksummer = new crc32.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
4783
|
+
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
4784
|
+
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
4785
|
+
}
|
|
4786
|
+
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
4787
|
+
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
4788
|
+
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
4789
|
+
}
|
|
4790
|
+
return {
|
|
4791
|
+
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
4792
|
+
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
|
|
4793
|
+
};
|
|
4794
|
+
}
|
|
4749
4795
|
var PRELUDE_MEMBER_LENGTH = 4;
|
|
4750
4796
|
var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
4751
4797
|
var CHECKSUM_LENGTH = 4;
|
|
4752
4798
|
var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
4753
|
-
|
|
4799
|
+
|
|
4800
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
4801
|
+
class EventStreamCodec {
|
|
4802
|
+
constructor(toUtf8, fromUtf8) {
|
|
4803
|
+
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
4804
|
+
this.messageBuffer = [];
|
|
4805
|
+
this.isEndOfStream = false;
|
|
4806
|
+
}
|
|
4807
|
+
feed(message) {
|
|
4808
|
+
this.messageBuffer.push(this.decode(message));
|
|
4809
|
+
}
|
|
4810
|
+
endOfStream() {
|
|
4811
|
+
this.isEndOfStream = true;
|
|
4812
|
+
}
|
|
4813
|
+
getMessage() {
|
|
4814
|
+
const message = this.messageBuffer.pop();
|
|
4815
|
+
const isEndOfStream = this.isEndOfStream;
|
|
4816
|
+
return {
|
|
4817
|
+
getMessage() {
|
|
4818
|
+
return message;
|
|
4819
|
+
},
|
|
4820
|
+
isEndOfStream() {
|
|
4821
|
+
return isEndOfStream;
|
|
4822
|
+
}
|
|
4823
|
+
};
|
|
4824
|
+
}
|
|
4825
|
+
getAvailableMessages() {
|
|
4826
|
+
const messages = this.messageBuffer;
|
|
4827
|
+
this.messageBuffer = [];
|
|
4828
|
+
const isEndOfStream = this.isEndOfStream;
|
|
4829
|
+
return {
|
|
4830
|
+
getMessages() {
|
|
4831
|
+
return messages;
|
|
4832
|
+
},
|
|
4833
|
+
isEndOfStream() {
|
|
4834
|
+
return isEndOfStream;
|
|
4835
|
+
}
|
|
4836
|
+
};
|
|
4837
|
+
}
|
|
4838
|
+
encode({ headers: rawHeaders, body }) {
|
|
4839
|
+
const headers = this.headerMarshaller.format(rawHeaders);
|
|
4840
|
+
const length = headers.byteLength + body.byteLength + 16;
|
|
4841
|
+
const out = new Uint8Array(length);
|
|
4842
|
+
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
4843
|
+
const checksum3 = new crc322.Crc32;
|
|
4844
|
+
view.setUint32(0, length, false);
|
|
4845
|
+
view.setUint32(4, headers.byteLength, false);
|
|
4846
|
+
view.setUint32(8, checksum3.update(out.subarray(0, 8)).digest(), false);
|
|
4847
|
+
out.set(headers, 12);
|
|
4848
|
+
out.set(body, headers.byteLength + 12);
|
|
4849
|
+
view.setUint32(length - 4, checksum3.update(out.subarray(8, length - 4)).digest(), false);
|
|
4850
|
+
return out;
|
|
4851
|
+
}
|
|
4852
|
+
decode(message) {
|
|
4853
|
+
const { headers, body } = splitMessage(message);
|
|
4854
|
+
return { headers: this.headerMarshaller.parse(headers), body };
|
|
4855
|
+
}
|
|
4856
|
+
formatHeaders(rawHeaders) {
|
|
4857
|
+
return this.headerMarshaller.format(rawHeaders);
|
|
4858
|
+
}
|
|
4859
|
+
}
|
|
4860
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
4754
4861
|
class MessageDecoderStream {
|
|
4755
4862
|
constructor(options) {
|
|
4756
4863
|
this.options = options;
|
|
@@ -4765,7 +4872,7 @@ class MessageDecoderStream {
|
|
|
4765
4872
|
}
|
|
4766
4873
|
}
|
|
4767
4874
|
}
|
|
4768
|
-
// /
|
|
4875
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
4769
4876
|
class MessageEncoderStream {
|
|
4770
4877
|
constructor(options) {
|
|
4771
4878
|
this.options = options;
|
|
@@ -4783,7 +4890,7 @@ class MessageEncoderStream {
|
|
|
4783
4890
|
}
|
|
4784
4891
|
}
|
|
4785
4892
|
}
|
|
4786
|
-
// /
|
|
4893
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
4787
4894
|
class SmithyMessageDecoderStream {
|
|
4788
4895
|
constructor(options) {
|
|
4789
4896
|
this.options = options;
|
|
@@ -4800,7 +4907,7 @@ class SmithyMessageDecoderStream {
|
|
|
4800
4907
|
}
|
|
4801
4908
|
}
|
|
4802
4909
|
}
|
|
4803
|
-
// /
|
|
4910
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
4804
4911
|
class SmithyMessageEncoderStream {
|
|
4805
4912
|
constructor(options) {
|
|
4806
4913
|
this.options = options;
|
|
@@ -4815,18 +4922,18 @@ class SmithyMessageEncoderStream {
|
|
|
4815
4922
|
}
|
|
4816
4923
|
}
|
|
4817
4924
|
}
|
|
4818
|
-
// /
|
|
4925
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
4819
4926
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
4820
|
-
// /
|
|
4927
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
4821
4928
|
var normalizeProvider = (input) => {
|
|
4822
4929
|
if (typeof input === "function")
|
|
4823
4930
|
return input;
|
|
4824
4931
|
const promisified = Promise.resolve(input);
|
|
4825
4932
|
return () => promisified;
|
|
4826
4933
|
};
|
|
4827
|
-
// /
|
|
4934
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js
|
|
4828
4935
|
var fromUtf8 = (input) => new TextEncoder().encode(input);
|
|
4829
|
-
// /
|
|
4936
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
4830
4937
|
var toUint8Array = (data) => {
|
|
4831
4938
|
if (typeof data === "string") {
|
|
4832
4939
|
return fromUtf8(data);
|
|
@@ -4836,9 +4943,9 @@ var toUint8Array = (data) => {
|
|
|
4836
4943
|
}
|
|
4837
4944
|
return new Uint8Array(data);
|
|
4838
4945
|
};
|
|
4839
|
-
// /
|
|
4946
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js
|
|
4840
4947
|
var toUtf8 = (input) => new TextDecoder("utf-8").decode(input);
|
|
4841
|
-
// /
|
|
4948
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
4842
4949
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
4843
4950
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
4844
4951
|
var AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
@@ -4879,7 +4986,7 @@ var MAX_CACHE_SIZE = 50;
|
|
|
4879
4986
|
var KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
4880
4987
|
var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
4881
4988
|
|
|
4882
|
-
// /
|
|
4989
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
4883
4990
|
var signingKeyCache = {};
|
|
4884
4991
|
var cacheQueue = [];
|
|
4885
4992
|
var createScope = (shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`;
|
|
@@ -4905,7 +5012,7 @@ var hmac = (ctor, secret, data) => {
|
|
|
4905
5012
|
return hash.digest();
|
|
4906
5013
|
};
|
|
4907
5014
|
|
|
4908
|
-
// /
|
|
5015
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
4909
5016
|
var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
4910
5017
|
const canonical = {};
|
|
4911
5018
|
for (const headerName of Object.keys(headers).sort()) {
|
|
@@ -4913,7 +5020,7 @@ var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
|
4913
5020
|
continue;
|
|
4914
5021
|
}
|
|
4915
5022
|
const canonicalHeaderName = headerName.toLowerCase();
|
|
4916
|
-
if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
|
|
5023
|
+
if ((canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS) || unsignableHeaders?.has(canonicalHeaderName) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) {
|
|
4917
5024
|
if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) {
|
|
4918
5025
|
continue;
|
|
4919
5026
|
}
|
|
@@ -4923,10 +5030,10 @@ var getCanonicalHeaders = ({ headers }, unsignableHeaders, signableHeaders) => {
|
|
|
4923
5030
|
return canonical;
|
|
4924
5031
|
};
|
|
4925
5032
|
|
|
4926
|
-
// /
|
|
5033
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
|
|
4927
5034
|
var escapeUri = (uri2) => encodeURIComponent(uri2).replace(/[!'()*]/g, hexEncode);
|
|
4928
5035
|
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
4929
|
-
// /
|
|
5036
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
4930
5037
|
var getCanonicalQuery = ({ query = {} }) => {
|
|
4931
5038
|
const keys = [];
|
|
4932
5039
|
const serialized = {};
|
|
@@ -4945,10 +5052,10 @@ var getCanonicalQuery = ({ query = {} }) => {
|
|
|
4945
5052
|
return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
4946
5053
|
};
|
|
4947
5054
|
|
|
4948
|
-
// /
|
|
5055
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
4949
5056
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
4950
5057
|
|
|
4951
|
-
// /
|
|
5058
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
4952
5059
|
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
4953
5060
|
for (const headerName of Object.keys(headers)) {
|
|
4954
5061
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
@@ -4965,7 +5072,7 @@ var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
|
4965
5072
|
return UNSIGNED_PAYLOAD;
|
|
4966
5073
|
};
|
|
4967
5074
|
|
|
4968
|
-
// /
|
|
5075
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
4969
5076
|
var hasHeader = (soughtHeader, headers) => {
|
|
4970
5077
|
soughtHeader = soughtHeader.toLowerCase();
|
|
4971
5078
|
for (const headerName of Object.keys(headers)) {
|
|
@@ -4976,7 +5083,7 @@ var hasHeader = (soughtHeader, headers) => {
|
|
|
4976
5083
|
return false;
|
|
4977
5084
|
};
|
|
4978
5085
|
|
|
4979
|
-
// /
|
|
5086
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js
|
|
4980
5087
|
var cloneRequest = ({ headers, query, ...rest }) => ({
|
|
4981
5088
|
...rest,
|
|
4982
5089
|
headers: { ...headers },
|
|
@@ -4990,7 +5097,7 @@ var cloneQuery2 = (query) => Object.keys(query).reduce((carry, paramName) => {
|
|
|
4990
5097
|
};
|
|
4991
5098
|
}, {});
|
|
4992
5099
|
|
|
4993
|
-
// /
|
|
5100
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
4994
5101
|
var moveHeadersToQuery = (request, options = {}) => {
|
|
4995
5102
|
const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
|
|
4996
5103
|
for (const name of Object.keys(headers)) {
|
|
@@ -5007,7 +5114,7 @@ var moveHeadersToQuery = (request, options = {}) => {
|
|
|
5007
5114
|
};
|
|
5008
5115
|
};
|
|
5009
5116
|
|
|
5010
|
-
// /
|
|
5117
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
5011
5118
|
var prepareRequest = (request) => {
|
|
5012
5119
|
request = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
|
|
5013
5120
|
for (const headerName of Object.keys(request.headers)) {
|
|
@@ -5018,7 +5125,7 @@ var prepareRequest = (request) => {
|
|
|
5018
5125
|
return request;
|
|
5019
5126
|
};
|
|
5020
5127
|
|
|
5021
|
-
// /
|
|
5128
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
5022
5129
|
var iso8601 = (time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
5023
5130
|
var toDate = (time) => {
|
|
5024
5131
|
if (typeof time === "number") {
|
|
@@ -5033,7 +5140,7 @@ var toDate = (time) => {
|
|
|
5033
5140
|
return time;
|
|
5034
5141
|
};
|
|
5035
5142
|
|
|
5036
|
-
// /
|
|
5143
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
5037
5144
|
class SignatureV4 {
|
|
5038
5145
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
5039
5146
|
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
@@ -5201,7 +5308,7 @@ var formatDate = (now) => {
|
|
|
5201
5308
|
};
|
|
5202
5309
|
};
|
|
5203
5310
|
var getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");
|
|
5204
|
-
// /
|
|
5311
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js
|
|
5205
5312
|
var CREDENTIAL_EXPIRE_WINDOW = 300000;
|
|
5206
5313
|
var resolveAwsAuthConfig = (input) => {
|
|
5207
5314
|
const normalizedCreds = input.credentials ? normalizeCredentialProvider(input.credentials) : input.credentialDefaultProvider(input);
|
|
@@ -5269,13 +5376,13 @@ var normalizeCredentialProvider = (credentials) => {
|
|
|
5269
5376
|
}
|
|
5270
5377
|
return normalizeProvider(credentials);
|
|
5271
5378
|
};
|
|
5272
|
-
// /
|
|
5379
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js
|
|
5273
5380
|
var getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);
|
|
5274
5381
|
|
|
5275
|
-
// /
|
|
5382
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js
|
|
5276
5383
|
var isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
|
|
5277
5384
|
|
|
5278
|
-
// /
|
|
5385
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js
|
|
5279
5386
|
var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
5280
5387
|
const clockTimeInMs = Date.parse(clockTime);
|
|
5281
5388
|
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
@@ -5284,7 +5391,7 @@ var getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {
|
|
|
5284
5391
|
return currentSystemClockOffset;
|
|
5285
5392
|
};
|
|
5286
5393
|
|
|
5287
|
-
// /
|
|
5394
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js
|
|
5288
5395
|
var awsAuthMiddleware = (options) => (next, context) => async function(args) {
|
|
5289
5396
|
if (!HttpRequest.isInstance(args.request))
|
|
5290
5397
|
return next(args);
|
|
@@ -5335,17 +5442,17 @@ var getAwsAuthPlugin = (options) => ({
|
|
|
5335
5442
|
clientStack.addRelativeTo(awsAuthMiddleware(options), awsAuthMiddlewareOptions);
|
|
5336
5443
|
}
|
|
5337
5444
|
});
|
|
5338
|
-
// /
|
|
5445
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
5339
5446
|
function resolveUserAgentConfig(input) {
|
|
5340
5447
|
return {
|
|
5341
5448
|
...input,
|
|
5342
5449
|
customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent
|
|
5343
5450
|
};
|
|
5344
5451
|
}
|
|
5345
|
-
// /
|
|
5452
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js
|
|
5346
5453
|
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}\$`);
|
|
5347
5454
|
var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
|
|
5348
|
-
// /
|
|
5455
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js
|
|
5349
5456
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-\$)(?!-)[a-zA-Z0-9-]{1,63}\$`);
|
|
5350
5457
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
5351
5458
|
if (!allowSubDomains) {
|
|
@@ -5359,11 +5466,11 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
5359
5466
|
}
|
|
5360
5467
|
return true;
|
|
5361
5468
|
};
|
|
5362
|
-
// /
|
|
5469
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js
|
|
5363
5470
|
var customEndpointFunctions = {};
|
|
5364
|
-
// /
|
|
5471
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js
|
|
5365
5472
|
var debugId = "endpoints";
|
|
5366
|
-
// /
|
|
5473
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js
|
|
5367
5474
|
function toDebugString(input) {
|
|
5368
5475
|
if (typeof input !== "object" || input == null) {
|
|
5369
5476
|
return input;
|
|
@@ -5376,16 +5483,16 @@ function toDebugString(input) {
|
|
|
5376
5483
|
}
|
|
5377
5484
|
return JSON.stringify(input, null, 2);
|
|
5378
5485
|
}
|
|
5379
|
-
// /
|
|
5486
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js
|
|
5380
5487
|
class EndpointError extends Error {
|
|
5381
5488
|
constructor(message) {
|
|
5382
5489
|
super(message);
|
|
5383
5490
|
this.name = "EndpointError";
|
|
5384
5491
|
}
|
|
5385
5492
|
}
|
|
5386
|
-
// /
|
|
5493
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js
|
|
5387
5494
|
var booleanEquals = (value1, value2) => value1 === value2;
|
|
5388
|
-
// /
|
|
5495
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js
|
|
5389
5496
|
var getAttrPathList = (path) => {
|
|
5390
5497
|
const parts = path.split(".");
|
|
5391
5498
|
const pathList = [];
|
|
@@ -5410,7 +5517,7 @@ var getAttrPathList = (path) => {
|
|
|
5410
5517
|
return pathList;
|
|
5411
5518
|
};
|
|
5412
5519
|
|
|
5413
|
-
// /
|
|
5520
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
5414
5521
|
var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
5415
5522
|
if (typeof acc !== "object") {
|
|
5416
5523
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -5419,11 +5526,11 @@ var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
|
5419
5526
|
}
|
|
5420
5527
|
return acc[index];
|
|
5421
5528
|
}, value);
|
|
5422
|
-
// /
|
|
5529
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js
|
|
5423
5530
|
var isSet = (value) => value != null;
|
|
5424
|
-
// /
|
|
5531
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/not.js
|
|
5425
5532
|
var not = (value) => !value;
|
|
5426
|
-
// /
|
|
5533
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js
|
|
5427
5534
|
var DEFAULT_PORTS = {
|
|
5428
5535
|
[EndpointURLScheme.HTTP]: 80,
|
|
5429
5536
|
[EndpointURLScheme.HTTPS]: 443
|
|
@@ -5434,7 +5541,7 @@ var parseURL = (value) => {
|
|
|
5434
5541
|
if (value instanceof URL) {
|
|
5435
5542
|
return value;
|
|
5436
5543
|
}
|
|
5437
|
-
if (typeof value === "object" && "hostname" in value) {
|
|
5544
|
+
if (typeof value === "object" && ("hostname" in value)) {
|
|
5438
5545
|
const { hostname: hostname2, port, protocol: protocol2 = "", path = "", query = {} } = value;
|
|
5439
5546
|
const url = new URL(`${protocol2}//${hostname2}${port ? `:${port}` : ""}${path}`);
|
|
5440
5547
|
url.search = Object.entries(query).map(([k, v]) => `${k}=${v}`).join("&");
|
|
@@ -5469,9 +5576,9 @@ var parseURL = (value) => {
|
|
|
5469
5576
|
isIp
|
|
5470
5577
|
};
|
|
5471
5578
|
};
|
|
5472
|
-
// /
|
|
5579
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js
|
|
5473
5580
|
var stringEquals = (value1, value2) => value1 === value2;
|
|
5474
|
-
// /
|
|
5581
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js
|
|
5475
5582
|
var substring = (input, start, stop, reverse) => {
|
|
5476
5583
|
if (start >= stop || input.length < stop) {
|
|
5477
5584
|
return null;
|
|
@@ -5481,9 +5588,9 @@ var substring = (input, start, stop, reverse) => {
|
|
|
5481
5588
|
}
|
|
5482
5589
|
return input.substring(input.length - stop, input.length - start);
|
|
5483
5590
|
};
|
|
5484
|
-
// /
|
|
5591
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js
|
|
5485
5592
|
var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
|
|
5486
|
-
// /
|
|
5593
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
5487
5594
|
var endpointFunctions = {
|
|
5488
5595
|
booleanEquals,
|
|
5489
5596
|
getAttr,
|
|
@@ -5496,7 +5603,7 @@ var endpointFunctions = {
|
|
|
5496
5603
|
uriEncode
|
|
5497
5604
|
};
|
|
5498
5605
|
|
|
5499
|
-
// /
|
|
5606
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js
|
|
5500
5607
|
var evaluateTemplate = (template, options) => {
|
|
5501
5608
|
const evaluatedTemplateArr = [];
|
|
5502
5609
|
const templateContext = {
|
|
@@ -5532,7 +5639,7 @@ var evaluateTemplate = (template, options) => {
|
|
|
5532
5639
|
return evaluatedTemplateArr.join("");
|
|
5533
5640
|
};
|
|
5534
5641
|
|
|
5535
|
-
// /
|
|
5642
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
|
|
5536
5643
|
var getReferenceValue = ({ ref }, options) => {
|
|
5537
5644
|
const referenceRecord = {
|
|
5538
5645
|
...options.endpointParams,
|
|
@@ -5541,7 +5648,7 @@ var getReferenceValue = ({ ref }, options) => {
|
|
|
5541
5648
|
return referenceRecord[ref];
|
|
5542
5649
|
};
|
|
5543
5650
|
|
|
5544
|
-
// /
|
|
5651
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
5545
5652
|
var evaluateExpression = (obj, keyName, options) => {
|
|
5546
5653
|
if (typeof obj === "string") {
|
|
5547
5654
|
return evaluateTemplate(obj, options);
|
|
@@ -5553,19 +5660,19 @@ var evaluateExpression = (obj, keyName, options) => {
|
|
|
5553
5660
|
throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
|
|
5554
5661
|
};
|
|
5555
5662
|
|
|
5556
|
-
// /
|
|
5663
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
5557
5664
|
var callFunction2 = ({ fn, argv }, options) => {
|
|
5558
5665
|
const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
|
|
5559
5666
|
const fnSegments = fn.split(".");
|
|
5560
|
-
if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
|
|
5667
|
+
if ((fnSegments[0] in customEndpointFunctions) && fnSegments[1] != null) {
|
|
5561
5668
|
return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
|
|
5562
5669
|
}
|
|
5563
5670
|
return endpointFunctions[fn](...evaluatedArgs);
|
|
5564
5671
|
};
|
|
5565
5672
|
|
|
5566
|
-
// /
|
|
5673
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
5567
5674
|
var evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
5568
|
-
if (assign && assign in options.referenceRecord) {
|
|
5675
|
+
if (assign && (assign in options.referenceRecord)) {
|
|
5569
5676
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
5570
5677
|
}
|
|
5571
5678
|
const value = callFunction2(fnArgs, options);
|
|
@@ -5576,7 +5683,7 @@ var evaluateCondition = ({ assign, ...fnArgs }, options) => {
|
|
|
5576
5683
|
};
|
|
5577
5684
|
};
|
|
5578
5685
|
|
|
5579
|
-
// /
|
|
5686
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
5580
5687
|
var evaluateConditions = (conditions = [], options) => {
|
|
5581
5688
|
const conditionsReferenceRecord = {};
|
|
5582
5689
|
for (const condition of conditions) {
|
|
@@ -5598,7 +5705,7 @@ var evaluateConditions = (conditions = [], options) => {
|
|
|
5598
5705
|
return { result: true, referenceRecord: conditionsReferenceRecord };
|
|
5599
5706
|
};
|
|
5600
5707
|
|
|
5601
|
-
// /
|
|
5708
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js
|
|
5602
5709
|
var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
|
|
5603
5710
|
...acc,
|
|
5604
5711
|
[headerKey]: headerVal.map((headerValEntry) => {
|
|
@@ -5610,7 +5717,7 @@ var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((a
|
|
|
5610
5717
|
})
|
|
5611
5718
|
}), {});
|
|
5612
5719
|
|
|
5613
|
-
// /
|
|
5720
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js
|
|
5614
5721
|
var getEndpointProperty = (property, options) => {
|
|
5615
5722
|
if (Array.isArray(property)) {
|
|
5616
5723
|
return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
|
|
@@ -5630,13 +5737,13 @@ var getEndpointProperty = (property, options) => {
|
|
|
5630
5737
|
}
|
|
5631
5738
|
};
|
|
5632
5739
|
|
|
5633
|
-
// /
|
|
5740
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js
|
|
5634
5741
|
var getEndpointProperties2 = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
5635
5742
|
...acc,
|
|
5636
5743
|
[propertyKey]: getEndpointProperty(propertyVal, options)
|
|
5637
5744
|
}), {});
|
|
5638
5745
|
|
|
5639
|
-
// /
|
|
5746
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js
|
|
5640
5747
|
var getEndpointUrl = (endpointUrl, options) => {
|
|
5641
5748
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
5642
5749
|
if (typeof expression === "string") {
|
|
@@ -5650,7 +5757,7 @@ var getEndpointUrl = (endpointUrl, options) => {
|
|
|
5650
5757
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
5651
5758
|
};
|
|
5652
5759
|
|
|
5653
|
-
// /
|
|
5760
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
5654
5761
|
var evaluateEndpointRule = (endpointRule, options) => {
|
|
5655
5762
|
const { conditions, endpoint: endpoint2 } = endpointRule;
|
|
5656
5763
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -5674,7 +5781,7 @@ var evaluateEndpointRule = (endpointRule, options) => {
|
|
|
5674
5781
|
};
|
|
5675
5782
|
};
|
|
5676
5783
|
|
|
5677
|
-
// /
|
|
5784
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js
|
|
5678
5785
|
var evaluateErrorRule = (errorRule, options) => {
|
|
5679
5786
|
const { conditions, error } = errorRule;
|
|
5680
5787
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -5687,7 +5794,7 @@ var evaluateErrorRule = (errorRule, options) => {
|
|
|
5687
5794
|
}));
|
|
5688
5795
|
};
|
|
5689
5796
|
|
|
5690
|
-
// /
|
|
5797
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js
|
|
5691
5798
|
var evaluateTreeRule = (treeRule, options) => {
|
|
5692
5799
|
const { conditions, rules } = treeRule;
|
|
5693
5800
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -5700,7 +5807,7 @@ var evaluateTreeRule = (treeRule, options) => {
|
|
|
5700
5807
|
});
|
|
5701
5808
|
};
|
|
5702
5809
|
|
|
5703
|
-
// /
|
|
5810
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
5704
5811
|
var evaluateRules2 = (rules, options) => {
|
|
5705
5812
|
for (const rule of rules) {
|
|
5706
5813
|
if (rule.type === "endpoint") {
|
|
@@ -5721,7 +5828,7 @@ var evaluateRules2 = (rules, options) => {
|
|
|
5721
5828
|
}
|
|
5722
5829
|
throw new EndpointError(`Rules evaluation failed`);
|
|
5723
5830
|
};
|
|
5724
|
-
// /
|
|
5831
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
5725
5832
|
var resolveEndpoint = (ruleSetObject, options) => {
|
|
5726
5833
|
const { endpointParams, logger: logger2 } = options;
|
|
5727
5834
|
const { parameters, rules } = ruleSetObject;
|
|
@@ -5751,7 +5858,7 @@ var resolveEndpoint = (ruleSetObject, options) => {
|
|
|
5751
5858
|
options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint2)}`);
|
|
5752
5859
|
return endpoint2;
|
|
5753
5860
|
};
|
|
5754
|
-
// /
|
|
5861
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js
|
|
5755
5862
|
var isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
5756
5863
|
if (allowSubDomains) {
|
|
5757
5864
|
for (const label of value.split(".")) {
|
|
@@ -5776,7 +5883,7 @@ var isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {
|
|
|
5776
5883
|
return true;
|
|
5777
5884
|
};
|
|
5778
5885
|
|
|
5779
|
-
// /
|
|
5886
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js
|
|
5780
5887
|
var parseArn = (value) => {
|
|
5781
5888
|
const segments = value.split(":");
|
|
5782
5889
|
if (segments.length < 6)
|
|
@@ -5792,7 +5899,7 @@ var parseArn = (value) => {
|
|
|
5792
5899
|
resourceId: resourceId[0].includes("/") ? resourceId[0].split("/") : resourceId
|
|
5793
5900
|
};
|
|
5794
5901
|
};
|
|
5795
|
-
// /
|
|
5902
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json
|
|
5796
5903
|
var partitions_default = {
|
|
5797
5904
|
partitions: [{
|
|
5798
5905
|
id: "aws",
|
|
@@ -6010,7 +6117,7 @@ var partitions_default = {
|
|
|
6010
6117
|
version: "1.1"
|
|
6011
6118
|
};
|
|
6012
6119
|
|
|
6013
|
-
// /
|
|
6120
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js
|
|
6014
6121
|
var selectedPartitionsInfo = partitions_default;
|
|
6015
6122
|
var selectedUserAgentPrefix = "";
|
|
6016
6123
|
var partition = (value) => {
|
|
@@ -6044,14 +6151,14 @@ var partition = (value) => {
|
|
|
6044
6151
|
};
|
|
6045
6152
|
var getUserAgentPrefix = () => selectedUserAgentPrefix;
|
|
6046
6153
|
|
|
6047
|
-
// /
|
|
6154
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js
|
|
6048
6155
|
var awsEndpointFunctions = {
|
|
6049
6156
|
isVirtualHostableS3Bucket,
|
|
6050
6157
|
parseArn,
|
|
6051
6158
|
partition
|
|
6052
6159
|
};
|
|
6053
6160
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
6054
|
-
// /
|
|
6161
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js
|
|
6055
6162
|
var USER_AGENT = "user-agent";
|
|
6056
6163
|
var X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
6057
6164
|
var SPACE = " ";
|
|
@@ -6060,7 +6167,7 @@ var UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;
|
|
|
6060
6167
|
var UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
|
|
6061
6168
|
var UA_ESCAPE_CHAR = "-";
|
|
6062
6169
|
|
|
6063
|
-
// /
|
|
6170
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js
|
|
6064
6171
|
var userAgentMiddleware = (options) => (next, context) => async (args) => {
|
|
6065
6172
|
const { request } = args;
|
|
6066
6173
|
if (!HttpRequest.isInstance(request))
|
|
@@ -6120,23 +6227,23 @@ var getUserAgentPlugin = (config2) => ({
|
|
|
6120
6227
|
clientStack.add(userAgentMiddleware(config2), getUserAgentMiddlewareOptions);
|
|
6121
6228
|
}
|
|
6122
6229
|
});
|
|
6123
|
-
// /
|
|
6230
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-config-provider/dist-es/types.js
|
|
6124
6231
|
var SelectorType;
|
|
6125
6232
|
(function(SelectorType2) {
|
|
6126
6233
|
SelectorType2["ENV"] = "env";
|
|
6127
6234
|
SelectorType2["CONFIG"] = "shared config entry";
|
|
6128
6235
|
})(SelectorType || (SelectorType = {}));
|
|
6129
|
-
// /
|
|
6236
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
6130
6237
|
var DEFAULT_USE_DUALSTACK_ENDPOINT = false;
|
|
6131
|
-
// /
|
|
6238
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
6132
6239
|
var DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
6133
|
-
// /
|
|
6240
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
6134
6241
|
var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
|
|
6135
6242
|
|
|
6136
|
-
// /
|
|
6243
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
6137
6244
|
var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
|
|
6138
6245
|
|
|
6139
|
-
// /
|
|
6246
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
6140
6247
|
var resolveRegionConfig = (input) => {
|
|
6141
6248
|
const { region, useFipsEndpoint } = input;
|
|
6142
6249
|
if (!region) {
|
|
@@ -6160,7 +6267,7 @@ var resolveRegionConfig = (input) => {
|
|
|
6160
6267
|
}
|
|
6161
6268
|
};
|
|
6162
6269
|
};
|
|
6163
|
-
// /
|
|
6270
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-content-length/dist-es/index.js
|
|
6164
6271
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
6165
6272
|
return (next) => async (args) => {
|
|
6166
6273
|
const request = args.request;
|
|
@@ -6196,7 +6303,7 @@ var getContentLengthPlugin = (options) => ({
|
|
|
6196
6303
|
}
|
|
6197
6304
|
});
|
|
6198
6305
|
|
|
6199
|
-
// /
|
|
6306
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
6200
6307
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
6201
6308
|
const bucket = endpointParams?.Bucket || "";
|
|
6202
6309
|
if (typeof endpointParams.Bucket === "string") {
|
|
@@ -6228,7 +6335,7 @@ var isArnBucketName = (bucketName) => {
|
|
|
6228
6335
|
}
|
|
6229
6336
|
return arn === "arn" && !!partition4 && !!service && !!account && !!typeOrId;
|
|
6230
6337
|
};
|
|
6231
|
-
// /
|
|
6338
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js
|
|
6232
6339
|
var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config3) => {
|
|
6233
6340
|
const configProvider = async () => {
|
|
6234
6341
|
const configValue = config3[configKey] ?? config3[canonicalEndpointParamKey];
|
|
@@ -6262,12 +6369,12 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config3)
|
|
|
6262
6369
|
return configProvider;
|
|
6263
6370
|
};
|
|
6264
6371
|
|
|
6265
|
-
// /
|
|
6372
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js
|
|
6266
6373
|
var getEndpointFromConfig = async (serviceId) => {
|
|
6267
6374
|
return;
|
|
6268
6375
|
};
|
|
6269
6376
|
|
|
6270
|
-
// /
|
|
6377
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/querystring-parser/dist-es/index.js
|
|
6271
6378
|
function parseQueryString(querystring) {
|
|
6272
6379
|
const query = {};
|
|
6273
6380
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -6290,7 +6397,7 @@ function parseQueryString(querystring) {
|
|
|
6290
6397
|
return query;
|
|
6291
6398
|
}
|
|
6292
6399
|
|
|
6293
|
-
// /
|
|
6400
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/url-parser/dist-es/index.js
|
|
6294
6401
|
var parseUrl = (url) => {
|
|
6295
6402
|
if (typeof url === "string") {
|
|
6296
6403
|
return parseUrl(new URL(url));
|
|
@@ -6309,7 +6416,7 @@ var parseUrl = (url) => {
|
|
|
6309
6416
|
};
|
|
6310
6417
|
};
|
|
6311
6418
|
|
|
6312
|
-
// /
|
|
6419
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
6313
6420
|
var toEndpointV1 = (endpoint2) => {
|
|
6314
6421
|
if (typeof endpoint2 === "object") {
|
|
6315
6422
|
if ("url" in endpoint2) {
|
|
@@ -6320,7 +6427,7 @@ var toEndpointV1 = (endpoint2) => {
|
|
|
6320
6427
|
return parseUrl(endpoint2);
|
|
6321
6428
|
};
|
|
6322
6429
|
|
|
6323
|
-
// /
|
|
6430
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
6324
6431
|
var getEndpointFromInstructions = async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
6325
6432
|
if (!clientConfig.endpoint) {
|
|
6326
6433
|
const endpointFromConfig = await getEndpointFromConfig(clientConfig.serviceId || "");
|
|
@@ -6362,7 +6469,7 @@ var resolveParams = async (commandInput, instructionsSupplier, clientConfig) =>
|
|
|
6362
6469
|
}
|
|
6363
6470
|
return endpointParams;
|
|
6364
6471
|
};
|
|
6365
|
-
// /
|
|
6472
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
6366
6473
|
var endpointMiddleware = ({ config: config3, instructions }) => {
|
|
6367
6474
|
return (next, context) => async (args) => {
|
|
6368
6475
|
const endpoint2 = await getEndpointFromInstructions(args.input, {
|
|
@@ -6393,7 +6500,7 @@ var endpointMiddleware = ({ config: config3, instructions }) => {
|
|
|
6393
6500
|
});
|
|
6394
6501
|
};
|
|
6395
6502
|
};
|
|
6396
|
-
// /
|
|
6503
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
6397
6504
|
var deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
6398
6505
|
const { response: response2 } = await next(args);
|
|
6399
6506
|
try {
|
|
@@ -6413,7 +6520,7 @@ var deserializerMiddleware = (options, deserializer) => (next, context) => async
|
|
|
6413
6520
|
throw error;
|
|
6414
6521
|
}
|
|
6415
6522
|
};
|
|
6416
|
-
// /
|
|
6523
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
6417
6524
|
var serializerMiddleware = (options, serializer) => (next, context) => async (args) => {
|
|
6418
6525
|
const endpoint2 = context.endpointV2?.url && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint;
|
|
6419
6526
|
if (!endpoint2) {
|
|
@@ -6426,7 +6533,7 @@ var serializerMiddleware = (options, serializer) => (next, context) => async (ar
|
|
|
6426
6533
|
});
|
|
6427
6534
|
};
|
|
6428
6535
|
|
|
6429
|
-
// /
|
|
6536
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
6430
6537
|
function getSerdePlugin(config3, serializer, deserializer) {
|
|
6431
6538
|
return {
|
|
6432
6539
|
applyToStack: (commandStack) => {
|
|
@@ -6447,7 +6554,7 @@ var serializerMiddlewareOption = {
|
|
|
6447
6554
|
tags: ["SERIALIZER"],
|
|
6448
6555
|
override: true
|
|
6449
6556
|
};
|
|
6450
|
-
// /
|
|
6557
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
6451
6558
|
var endpointMiddlewareOptions = {
|
|
6452
6559
|
step: "serialize",
|
|
6453
6560
|
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
|
@@ -6464,7 +6571,7 @@ var getEndpointPlugin = (config3, instructions) => ({
|
|
|
6464
6571
|
}), endpointMiddlewareOptions);
|
|
6465
6572
|
}
|
|
6466
6573
|
});
|
|
6467
|
-
// /
|
|
6574
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
6468
6575
|
var resolveEndpointConfig = (input) => {
|
|
6469
6576
|
const tls = input.tls ?? true;
|
|
6470
6577
|
const { endpoint: endpoint2 } = input;
|
|
@@ -6479,7 +6586,7 @@ var resolveEndpointConfig = (input) => {
|
|
|
6479
6586
|
useFipsEndpoint: normalizeProvider(input.useFipsEndpoint ?? false)
|
|
6480
6587
|
};
|
|
6481
6588
|
};
|
|
6482
|
-
// /
|
|
6589
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/config.js
|
|
6483
6590
|
var RETRY_MODES;
|
|
6484
6591
|
(function(RETRY_MODES2) {
|
|
6485
6592
|
RETRY_MODES2["STANDARD"] = "standard";
|
|
@@ -6488,7 +6595,7 @@ var RETRY_MODES;
|
|
|
6488
6595
|
var DEFAULT_MAX_ATTEMPTS = 3;
|
|
6489
6596
|
var DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
6490
6597
|
|
|
6491
|
-
// /
|
|
6598
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/service-error-classification/dist-es/constants.js
|
|
6492
6599
|
var THROTTLING_ERROR_CODES = [
|
|
6493
6600
|
"BandwidthLimitExceeded",
|
|
6494
6601
|
"EC2ThrottledException",
|
|
@@ -6509,7 +6616,7 @@ var TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutEx
|
|
|
6509
6616
|
var TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504];
|
|
6510
6617
|
var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"];
|
|
6511
6618
|
|
|
6512
|
-
// /
|
|
6619
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
6513
6620
|
var isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true;
|
|
6514
6621
|
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);
|
|
6515
6622
|
var isServerError = (error) => {
|
|
@@ -6523,7 +6630,7 @@ var isServerError = (error) => {
|
|
|
6523
6630
|
return false;
|
|
6524
6631
|
};
|
|
6525
6632
|
|
|
6526
|
-
// /
|
|
6633
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
6527
6634
|
class DefaultRateLimiter {
|
|
6528
6635
|
constructor(options) {
|
|
6529
6636
|
this.currentCapacity = 0;
|
|
@@ -6622,7 +6729,7 @@ class DefaultRateLimiter {
|
|
|
6622
6729
|
}
|
|
6623
6730
|
}
|
|
6624
6731
|
|
|
6625
|
-
// /
|
|
6732
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/constants.js
|
|
6626
6733
|
var DEFAULT_RETRY_DELAY_BASE = 100;
|
|
6627
6734
|
var MAXIMUM_RETRY_DELAY = 20 * 1000;
|
|
6628
6735
|
var THROTTLING_RETRY_DELAY_BASE = 500;
|
|
@@ -6633,7 +6740,7 @@ var NO_RETRY_INCREMENT = 1;
|
|
|
6633
6740
|
var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
6634
6741
|
var REQUEST_HEADER = "amz-sdk-request";
|
|
6635
6742
|
|
|
6636
|
-
// /
|
|
6743
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js
|
|
6637
6744
|
var getDefaultRetryBackoffStrategy = () => {
|
|
6638
6745
|
let delayBase = DEFAULT_RETRY_DELAY_BASE;
|
|
6639
6746
|
const computeNextBackoffDelay = (attempts) => {
|
|
@@ -6648,7 +6755,7 @@ var getDefaultRetryBackoffStrategy = () => {
|
|
|
6648
6755
|
};
|
|
6649
6756
|
};
|
|
6650
6757
|
|
|
6651
|
-
// /
|
|
6758
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js
|
|
6652
6759
|
var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => {
|
|
6653
6760
|
const getRetryCount = () => retryCount;
|
|
6654
6761
|
const getRetryDelay = () => Math.min(MAXIMUM_RETRY_DELAY, retryDelay);
|
|
@@ -6660,7 +6767,7 @@ var createDefaultRetryToken = ({ retryDelay, retryCount, retryCost }) => {
|
|
|
6660
6767
|
};
|
|
6661
6768
|
};
|
|
6662
6769
|
|
|
6663
|
-
// /
|
|
6770
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
6664
6771
|
class StandardRetryStrategy {
|
|
6665
6772
|
constructor(maxAttempts) {
|
|
6666
6773
|
this.maxAttempts = maxAttempts;
|
|
@@ -6718,7 +6825,7 @@ class StandardRetryStrategy {
|
|
|
6718
6825
|
}
|
|
6719
6826
|
}
|
|
6720
6827
|
|
|
6721
|
-
// /
|
|
6828
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
6722
6829
|
class AdaptiveRetryStrategy {
|
|
6723
6830
|
constructor(maxAttemptsProvider, options) {
|
|
6724
6831
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
@@ -6740,7 +6847,7 @@ class AdaptiveRetryStrategy {
|
|
|
6740
6847
|
this.standardRetryStrategy.recordSuccess(token);
|
|
6741
6848
|
}
|
|
6742
6849
|
}
|
|
6743
|
-
// /
|
|
6850
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/rng.js
|
|
6744
6851
|
var getRandomValues;
|
|
6745
6852
|
var rnds8 = new Uint8Array(16);
|
|
6746
6853
|
function rng() {
|
|
@@ -6753,16 +6860,16 @@ function rng() {
|
|
|
6753
6860
|
return getRandomValues(rnds8);
|
|
6754
6861
|
}
|
|
6755
6862
|
|
|
6756
|
-
// /
|
|
6863
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/regex.js
|
|
6757
6864
|
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;
|
|
6758
6865
|
|
|
6759
|
-
// /
|
|
6866
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/validate.js
|
|
6760
6867
|
var validate = function(uuid) {
|
|
6761
6868
|
return typeof uuid === "string" && regex_default.test(uuid);
|
|
6762
6869
|
};
|
|
6763
6870
|
var validate_default = validate;
|
|
6764
6871
|
|
|
6765
|
-
// /
|
|
6872
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/stringify.js
|
|
6766
6873
|
var stringify = function(arr) {
|
|
6767
6874
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
6768
6875
|
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();
|
|
@@ -6778,7 +6885,7 @@ for (i = 0;i < 256; ++i) {
|
|
|
6778
6885
|
var i;
|
|
6779
6886
|
var stringify_default = stringify;
|
|
6780
6887
|
|
|
6781
|
-
// /
|
|
6888
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/node_modules/uuid/dist/esm-browser/v4.js
|
|
6782
6889
|
var v4 = function(options, buf, offset) {
|
|
6783
6890
|
options = options || {};
|
|
6784
6891
|
var rnds = options.random || (options.rng || rng)();
|
|
@@ -6794,7 +6901,7 @@ var v4 = function(options, buf, offset) {
|
|
|
6794
6901
|
return stringify_default(rnds);
|
|
6795
6902
|
};
|
|
6796
6903
|
var v4_default = v4;
|
|
6797
|
-
// /
|
|
6904
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/dist-es/util.js
|
|
6798
6905
|
var asSdkError = (error) => {
|
|
6799
6906
|
if (error instanceof Error)
|
|
6800
6907
|
return error;
|
|
@@ -6804,7 +6911,7 @@ var asSdkError = (error) => {
|
|
|
6804
6911
|
return new Error(error);
|
|
6805
6912
|
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
6806
6913
|
};
|
|
6807
|
-
// /
|
|
6914
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
6808
6915
|
var resolveRetryConfig = (input) => {
|
|
6809
6916
|
const { retryStrategy } = input;
|
|
6810
6917
|
const maxAttempts = normalizeProvider(input.maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
@@ -6823,7 +6930,7 @@ var resolveRetryConfig = (input) => {
|
|
|
6823
6930
|
}
|
|
6824
6931
|
};
|
|
6825
6932
|
};
|
|
6826
|
-
// /
|
|
6933
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js
|
|
6827
6934
|
class NoOpLogger {
|
|
6828
6935
|
trace() {
|
|
6829
6936
|
}
|
|
@@ -6836,7 +6943,7 @@ class NoOpLogger {
|
|
|
6836
6943
|
error() {
|
|
6837
6944
|
}
|
|
6838
6945
|
}
|
|
6839
|
-
// /
|
|
6946
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js
|
|
6840
6947
|
var getAllAliases = (name, aliases) => {
|
|
6841
6948
|
const _aliases = [];
|
|
6842
6949
|
if (name) {
|
|
@@ -7100,7 +7207,7 @@ var priorityWeights = {
|
|
|
7100
7207
|
normal: 2,
|
|
7101
7208
|
low: 1
|
|
7102
7209
|
};
|
|
7103
|
-
// /
|
|
7210
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
7104
7211
|
class Client {
|
|
7105
7212
|
constructor(config6) {
|
|
7106
7213
|
this.middlewareStack = constructStack();
|
|
@@ -7122,7 +7229,7 @@ class Client {
|
|
|
7122
7229
|
this.config.requestHandler.destroy();
|
|
7123
7230
|
}
|
|
7124
7231
|
}
|
|
7125
|
-
// /
|
|
7232
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-base64/dist-es/constants.browser.js
|
|
7126
7233
|
var alphabetByEncoding = {};
|
|
7127
7234
|
var alphabetByValue = new Array(64);
|
|
7128
7235
|
for (let i = 0, start = "A".charCodeAt(0), limit = "Z".charCodeAt(0);i + start <= limit; i++) {
|
|
@@ -7151,7 +7258,7 @@ var bitsPerLetter = 6;
|
|
|
7151
7258
|
var bitsPerByte = 8;
|
|
7152
7259
|
var maxLetterValue = 63;
|
|
7153
7260
|
|
|
7154
|
-
// /
|
|
7261
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js
|
|
7155
7262
|
var fromBase64 = (input) => {
|
|
7156
7263
|
let totalByteLength = input.length / 4 * 3;
|
|
7157
7264
|
if (input.slice(-2) === "==") {
|
|
@@ -7185,7 +7292,7 @@ var fromBase64 = (input) => {
|
|
|
7185
7292
|
}
|
|
7186
7293
|
return new Uint8Array(out);
|
|
7187
7294
|
};
|
|
7188
|
-
// /
|
|
7295
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js
|
|
7189
7296
|
function toBase64(input) {
|
|
7190
7297
|
let str = "";
|
|
7191
7298
|
for (let i = 0;i < input.length; i += 3) {
|
|
@@ -7205,7 +7312,7 @@ function toBase64(input) {
|
|
|
7205
7312
|
}
|
|
7206
7313
|
return str;
|
|
7207
7314
|
}
|
|
7208
|
-
// /
|
|
7315
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-stream/dist-es/blob/transforms.js
|
|
7209
7316
|
function transformToString(payload, encoding = "utf-8") {
|
|
7210
7317
|
if (encoding === "base64") {
|
|
7211
7318
|
return toBase64(payload);
|
|
@@ -7219,7 +7326,7 @@ function transformFromString(str, encoding) {
|
|
|
7219
7326
|
return Uint8ArrayBlobAdapter2.mutate(fromUtf8(str));
|
|
7220
7327
|
}
|
|
7221
7328
|
|
|
7222
|
-
// /
|
|
7329
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
7223
7330
|
class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
7224
7331
|
static fromString(source, encoding = "utf-8") {
|
|
7225
7332
|
switch (typeof source) {
|
|
@@ -7237,7 +7344,7 @@ class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
|
7237
7344
|
return transformToString(this, encoding);
|
|
7238
7345
|
}
|
|
7239
7346
|
}
|
|
7240
|
-
// /
|
|
7347
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
7241
7348
|
function buildQueryString(query) {
|
|
7242
7349
|
const parts = [];
|
|
7243
7350
|
for (let key of Object.keys(query).sort()) {
|
|
@@ -7258,7 +7365,7 @@ function buildQueryString(query) {
|
|
|
7258
7365
|
return parts.join("&");
|
|
7259
7366
|
}
|
|
7260
7367
|
|
|
7261
|
-
// /
|
|
7368
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js
|
|
7262
7369
|
function requestTimeout(timeoutInMs = 0) {
|
|
7263
7370
|
return new Promise((resolve, reject) => {
|
|
7264
7371
|
if (timeoutInMs) {
|
|
@@ -7271,9 +7378,9 @@ function requestTimeout(timeoutInMs = 0) {
|
|
|
7271
7378
|
});
|
|
7272
7379
|
}
|
|
7273
7380
|
|
|
7274
|
-
// /
|
|
7381
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js
|
|
7275
7382
|
var keepAliveSupport = {
|
|
7276
|
-
supported: Boolean(typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]"))
|
|
7383
|
+
supported: Boolean(typeof Request !== "undefined" && ("keepalive" in new Request("https://[::1]")))
|
|
7277
7384
|
};
|
|
7278
7385
|
|
|
7279
7386
|
class FetchHttpHandler {
|
|
@@ -7380,7 +7487,7 @@ class FetchHttpHandler {
|
|
|
7380
7487
|
return this.config ?? {};
|
|
7381
7488
|
}
|
|
7382
7489
|
}
|
|
7383
|
-
// /
|
|
7490
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js
|
|
7384
7491
|
async function collectBlob(blob) {
|
|
7385
7492
|
const base64 = await readToBase64(blob);
|
|
7386
7493
|
const arrayBuffer = fromBase64(base64);
|
|
@@ -7425,7 +7532,7 @@ var streamCollector = (stream2) => {
|
|
|
7425
7532
|
}
|
|
7426
7533
|
return collectStream(stream2);
|
|
7427
7534
|
};
|
|
7428
|
-
// /
|
|
7535
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js
|
|
7429
7536
|
var collectBody = async (streamBody = new Uint8Array, context) => {
|
|
7430
7537
|
if (streamBody instanceof Uint8Array) {
|
|
7431
7538
|
return Uint8ArrayBlobAdapter2.mutate(streamBody);
|
|
@@ -7436,7 +7543,7 @@ var collectBody = async (streamBody = new Uint8Array, context) => {
|
|
|
7436
7543
|
const fromContext = context.streamCollector(streamBody);
|
|
7437
7544
|
return Uint8ArrayBlobAdapter2.mutate(await fromContext);
|
|
7438
7545
|
};
|
|
7439
|
-
// /
|
|
7546
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
7440
7547
|
class Command {
|
|
7441
7548
|
constructor() {
|
|
7442
7549
|
this.middlewareStack = constructStack();
|
|
@@ -7551,9 +7658,9 @@ class ClassBuilder {
|
|
|
7551
7658
|
};
|
|
7552
7659
|
}
|
|
7553
7660
|
}
|
|
7554
|
-
// /
|
|
7661
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/constants.js
|
|
7555
7662
|
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
7556
|
-
// /
|
|
7663
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/parse-utils.js
|
|
7557
7664
|
var expectNumber = (value) => {
|
|
7558
7665
|
if (value === null || value === undefined) {
|
|
7559
7666
|
return;
|
|
@@ -7694,7 +7801,7 @@ var logger2 = {
|
|
|
7694
7801
|
warn: console.warn
|
|
7695
7802
|
};
|
|
7696
7803
|
|
|
7697
|
-
// /
|
|
7804
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/date-utils.js
|
|
7698
7805
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
7699
7806
|
var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);
|
|
7700
7807
|
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])$/);
|
|
@@ -7778,7 +7885,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
7778
7885
|
}
|
|
7779
7886
|
return value.slice(idx);
|
|
7780
7887
|
};
|
|
7781
|
-
// /
|
|
7888
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
7782
7889
|
class ServiceException extends Error {
|
|
7783
7890
|
constructor(options) {
|
|
7784
7891
|
super(options.message);
|
|
@@ -7800,7 +7907,7 @@ var decorateServiceException = (exception, additions = {}) => {
|
|
|
7800
7907
|
return exception;
|
|
7801
7908
|
};
|
|
7802
7909
|
|
|
7803
|
-
// /
|
|
7910
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js
|
|
7804
7911
|
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
7805
7912
|
const $metadata = deserializeMetadata(output);
|
|
7806
7913
|
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
@@ -7822,7 +7929,7 @@ var deserializeMetadata = (output) => ({
|
|
|
7822
7929
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7823
7930
|
cfId: output.headers["x-amz-cf-id"]
|
|
7824
7931
|
});
|
|
7825
|
-
// /
|
|
7932
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js
|
|
7826
7933
|
var loadConfigsForDefaultMode = (mode) => {
|
|
7827
7934
|
switch (mode) {
|
|
7828
7935
|
case "standard":
|
|
@@ -7849,7 +7956,7 @@ var loadConfigsForDefaultMode = (mode) => {
|
|
|
7849
7956
|
return {};
|
|
7850
7957
|
}
|
|
7851
7958
|
};
|
|
7852
|
-
// /
|
|
7959
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
7853
7960
|
var getChecksumConfiguration2 = (runtimeConfig) => {
|
|
7854
7961
|
const checksumAlgorithms = [];
|
|
7855
7962
|
for (const id in AlgorithmId) {
|
|
@@ -7880,7 +7987,7 @@ var resolveChecksumRuntimeConfig2 = (clientConfig) => {
|
|
|
7880
7987
|
return runtimeConfig;
|
|
7881
7988
|
};
|
|
7882
7989
|
|
|
7883
|
-
// /
|
|
7990
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js
|
|
7884
7991
|
var getRetryConfiguration = (runtimeConfig) => {
|
|
7885
7992
|
let _retryStrategy = runtimeConfig.retryStrategy;
|
|
7886
7993
|
return {
|
|
@@ -7898,7 +8005,7 @@ var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
|
7898
8005
|
return runtimeConfig;
|
|
7899
8006
|
};
|
|
7900
8007
|
|
|
7901
|
-
// /
|
|
8008
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
7902
8009
|
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
7903
8010
|
return {
|
|
7904
8011
|
...getChecksumConfiguration2(runtimeConfig),
|
|
@@ -7911,13 +8018,13 @@ var resolveDefaultRuntimeConfig = (config6) => {
|
|
|
7911
8018
|
...resolveRetryRuntimeConfig(config6)
|
|
7912
8019
|
};
|
|
7913
8020
|
};
|
|
7914
|
-
// /
|
|
8021
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js
|
|
7915
8022
|
function extendedEncodeURIComponent(str) {
|
|
7916
8023
|
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
|
|
7917
8024
|
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
7918
8025
|
});
|
|
7919
8026
|
}
|
|
7920
|
-
// /
|
|
8027
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/lazy-json.js
|
|
7921
8028
|
var StringWrapper = function() {
|
|
7922
8029
|
const Class = Object.getPrototypeOf(this).constructor;
|
|
7923
8030
|
const Constructor = Function.bind.apply(String, [null, ...arguments]);
|
|
@@ -7934,7 +8041,7 @@ StringWrapper.prototype = Object.create(String.prototype, {
|
|
|
7934
8041
|
}
|
|
7935
8042
|
});
|
|
7936
8043
|
Object.setPrototypeOf(StringWrapper, String);
|
|
7937
|
-
// /
|
|
8044
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/object-mapping.js
|
|
7938
8045
|
function map(arg0, arg1, arg2) {
|
|
7939
8046
|
let target;
|
|
7940
8047
|
let filter;
|
|
@@ -8014,7 +8121,7 @@ var applyInstruction = (target, source, instructions, targetKey) => {
|
|
|
8014
8121
|
};
|
|
8015
8122
|
var nonNullish = (_) => _ != null;
|
|
8016
8123
|
var pass = (_) => _;
|
|
8017
|
-
// /
|
|
8124
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/resolve-path.js
|
|
8018
8125
|
var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
8019
8126
|
if (input != null && input[memberName] !== undefined) {
|
|
8020
8127
|
const labelValue = labelValueProvider();
|
|
@@ -8027,7 +8134,7 @@ var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLab
|
|
|
8027
8134
|
}
|
|
8028
8135
|
return resolvedPath2;
|
|
8029
8136
|
};
|
|
8030
|
-
// /
|
|
8137
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/smithy-client/dist-es/serde-json.js
|
|
8031
8138
|
var _json = (obj) => {
|
|
8032
8139
|
if (obj == null) {
|
|
8033
8140
|
return {};
|
|
@@ -8047,10 +8154,10 @@ var _json = (obj) => {
|
|
|
8047
8154
|
}
|
|
8048
8155
|
return obj;
|
|
8049
8156
|
};
|
|
8050
|
-
// /
|
|
8157
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js
|
|
8051
8158
|
var isStreamingPayload = (request) => request?.body instanceof ReadableStream;
|
|
8052
8159
|
|
|
8053
|
-
// /
|
|
8160
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
8054
8161
|
var retryMiddleware = (options) => (next, context) => async (args) => {
|
|
8055
8162
|
let retryStrategy = await options.retryStrategy();
|
|
8056
8163
|
const maxAttempts = await options.maxAttempts();
|
|
@@ -8150,7 +8257,7 @@ var getRetryAfterHint = (response2) => {
|
|
|
8150
8257
|
const retryAfterDate = new Date(retryAfter);
|
|
8151
8258
|
return retryAfterDate;
|
|
8152
8259
|
};
|
|
8153
|
-
// /
|
|
8260
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/EndpointParameters.js
|
|
8154
8261
|
var resolveClientEndpointParameters = (options) => {
|
|
8155
8262
|
return {
|
|
8156
8263
|
...options,
|
|
@@ -8165,14 +8272,14 @@ var commonParams = {
|
|
|
8165
8272
|
Region: { type: "builtInParams", name: "region" },
|
|
8166
8273
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
8167
8274
|
};
|
|
8168
|
-
// /
|
|
8275
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/package.json
|
|
8169
8276
|
var package_default = {
|
|
8170
8277
|
name: "@aws-sdk/client-bedrock",
|
|
8171
8278
|
description: "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
8172
|
-
version: "3.
|
|
8279
|
+
version: "3.501.0",
|
|
8173
8280
|
scripts: {
|
|
8174
8281
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
8175
|
-
"build:cjs": "
|
|
8282
|
+
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
8176
8283
|
"build:es": "tsc -p tsconfig.es.json",
|
|
8177
8284
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
8178
8285
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -8188,48 +8295,48 @@ var package_default = {
|
|
|
8188
8295
|
dependencies: {
|
|
8189
8296
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
8190
8297
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
8191
|
-
"@aws-sdk/client-sts": "3.
|
|
8192
|
-
"@aws-sdk/core": "3.
|
|
8193
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
8194
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
8195
|
-
"@aws-sdk/middleware-logger": "3.
|
|
8196
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
8197
|
-
"@aws-sdk/middleware-signing": "3.
|
|
8198
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
8199
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
8200
|
-
"@aws-sdk/types": "3.
|
|
8201
|
-
"@aws-sdk/util-endpoints": "3.
|
|
8202
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
8203
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
8204
|
-
"@smithy/config-resolver": "^2.
|
|
8205
|
-
"@smithy/core": "^1.
|
|
8206
|
-
"@smithy/fetch-http-handler": "^2.
|
|
8207
|
-
"@smithy/hash-node": "^2.
|
|
8208
|
-
"@smithy/invalid-dependency": "^2.
|
|
8209
|
-
"@smithy/middleware-content-length": "^2.
|
|
8210
|
-
"@smithy/middleware-endpoint": "^2.
|
|
8211
|
-
"@smithy/middleware-retry": "^2.
|
|
8212
|
-
"@smithy/middleware-serde": "^2.
|
|
8213
|
-
"@smithy/middleware-stack": "^2.
|
|
8214
|
-
"@smithy/node-config-provider": "^2.1
|
|
8215
|
-
"@smithy/node-http-handler": "^2.
|
|
8216
|
-
"@smithy/protocol-http": "^3.
|
|
8217
|
-
"@smithy/smithy-client": "^2.
|
|
8218
|
-
"@smithy/types": "^2.
|
|
8219
|
-
"@smithy/url-parser": "^2.
|
|
8220
|
-
"@smithy/util-base64": "^2.
|
|
8221
|
-
"@smithy/util-body-length-browser": "^2.
|
|
8222
|
-
"@smithy/util-body-length-node": "^2.1
|
|
8223
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
8224
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
8225
|
-
"@smithy/util-endpoints": "^1.
|
|
8226
|
-
"@smithy/util-retry": "^2.
|
|
8227
|
-
"@smithy/util-utf8": "^2.
|
|
8298
|
+
"@aws-sdk/client-sts": "3.501.0",
|
|
8299
|
+
"@aws-sdk/core": "3.496.0",
|
|
8300
|
+
"@aws-sdk/credential-provider-node": "3.501.0",
|
|
8301
|
+
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
8302
|
+
"@aws-sdk/middleware-logger": "3.496.0",
|
|
8303
|
+
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
8304
|
+
"@aws-sdk/middleware-signing": "3.496.0",
|
|
8305
|
+
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
8306
|
+
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
8307
|
+
"@aws-sdk/types": "3.496.0",
|
|
8308
|
+
"@aws-sdk/util-endpoints": "3.496.0",
|
|
8309
|
+
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
|
8310
|
+
"@aws-sdk/util-user-agent-node": "3.496.0",
|
|
8311
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
8312
|
+
"@smithy/core": "^1.3.1",
|
|
8313
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
8314
|
+
"@smithy/hash-node": "^2.1.1",
|
|
8315
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
8316
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
8317
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
8318
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
8319
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
8320
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
8321
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
8322
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
8323
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
8324
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
8325
|
+
"@smithy/types": "^2.9.1",
|
|
8326
|
+
"@smithy/url-parser": "^2.1.1",
|
|
8327
|
+
"@smithy/util-base64": "^2.1.1",
|
|
8328
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
8329
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
8330
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
8331
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
|
8332
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
8333
|
+
"@smithy/util-retry": "^2.1.1",
|
|
8334
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
8228
8335
|
tslib: "^2.5.0",
|
|
8229
8336
|
uuid: "^8.3.2"
|
|
8230
8337
|
},
|
|
8231
8338
|
devDependencies: {
|
|
8232
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
8339
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
8233
8340
|
"@tsconfig/node14": "1.0.3",
|
|
8234
8341
|
"@types/node": "^14.14.31",
|
|
8235
8342
|
"@types/uuid": "^8.3.0",
|
|
@@ -8270,10 +8377,10 @@ var package_default = {
|
|
|
8270
8377
|
}
|
|
8271
8378
|
};
|
|
8272
8379
|
|
|
8273
|
-
// /
|
|
8380
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.browser.js
|
|
8274
8381
|
var sha256_browser = __toESM(require_build6(), 1);
|
|
8275
8382
|
|
|
8276
|
-
// /
|
|
8383
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js
|
|
8277
8384
|
var import_bowser = __toESM(require_es5(), 1);
|
|
8278
8385
|
var defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
|
|
8279
8386
|
const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? import_bowser.default.parse(window.navigator.userAgent) : undefined;
|
|
@@ -8289,9 +8396,9 @@ var defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
|
|
|
8289
8396
|
}
|
|
8290
8397
|
return sections;
|
|
8291
8398
|
};
|
|
8292
|
-
// /
|
|
8399
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js
|
|
8293
8400
|
var invalidProvider = (message) => () => Promise.reject(message);
|
|
8294
|
-
// /
|
|
8401
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js
|
|
8295
8402
|
var TEXT_ENCODER = typeof TextEncoder == "function" ? new TextEncoder : null;
|
|
8296
8403
|
var calculateBodyLength = (body) => {
|
|
8297
8404
|
if (typeof body === "string") {
|
|
@@ -8316,7 +8423,7 @@ var calculateBodyLength = (body) => {
|
|
|
8316
8423
|
}
|
|
8317
8424
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
8318
8425
|
};
|
|
8319
|
-
// /
|
|
8426
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/ruleset.js
|
|
8320
8427
|
var s = "required";
|
|
8321
8428
|
var t = "fn";
|
|
8322
8429
|
var u = "argv";
|
|
@@ -8342,7 +8449,7 @@ var r = [{ [v]: "Region" }];
|
|
|
8342
8449
|
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 }] };
|
|
8343
8450
|
var ruleSet = _data;
|
|
8344
8451
|
|
|
8345
|
-
// /
|
|
8452
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/endpoint/endpointResolver.js
|
|
8346
8453
|
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8347
8454
|
return resolveEndpoint(ruleSet, {
|
|
8348
8455
|
endpointParams,
|
|
@@ -8350,7 +8457,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
8350
8457
|
});
|
|
8351
8458
|
};
|
|
8352
8459
|
|
|
8353
|
-
// /
|
|
8460
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.shared.js
|
|
8354
8461
|
var getRuntimeConfig = (config6) => {
|
|
8355
8462
|
return {
|
|
8356
8463
|
apiVersion: "2023-04-20",
|
|
@@ -8367,13 +8474,13 @@ var getRuntimeConfig = (config6) => {
|
|
|
8367
8474
|
};
|
|
8368
8475
|
};
|
|
8369
8476
|
|
|
8370
|
-
// /
|
|
8477
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js
|
|
8371
8478
|
var import_bowser2 = __toESM(require_es5(), 1);
|
|
8372
8479
|
|
|
8373
|
-
// /
|
|
8480
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js
|
|
8374
8481
|
var DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
|
|
8375
8482
|
|
|
8376
|
-
// /
|
|
8483
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js
|
|
8377
8484
|
var resolveDefaultsModeConfig = ({ defaultsMode } = {}) => memoize(async () => {
|
|
8378
8485
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
8379
8486
|
switch (mode?.toLowerCase()) {
|
|
@@ -8396,7 +8503,7 @@ var isMobileBrowser = () => {
|
|
|
8396
8503
|
const platform = parsedUA?.platform?.type;
|
|
8397
8504
|
return platform === "tablet" || platform === "mobile";
|
|
8398
8505
|
};
|
|
8399
|
-
// /
|
|
8506
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/runtimeConfig.browser.js
|
|
8400
8507
|
var getRuntimeConfig2 = (config6) => {
|
|
8401
8508
|
const defaultsMode = resolveDefaultsModeConfig(config6);
|
|
8402
8509
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -8420,7 +8527,7 @@ var getRuntimeConfig2 = (config6) => {
|
|
|
8420
8527
|
};
|
|
8421
8528
|
};
|
|
8422
8529
|
|
|
8423
|
-
// /
|
|
8530
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js
|
|
8424
8531
|
var getAwsRegionExtensionConfiguration = (runtimeConfig2) => {
|
|
8425
8532
|
let runtimeConfigRegion = async () => {
|
|
8426
8533
|
if (runtimeConfig2.region === undefined) {
|
|
@@ -8446,7 +8553,7 @@ var resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) =
|
|
|
8446
8553
|
region: awsRegionExtensionConfiguration.region()
|
|
8447
8554
|
};
|
|
8448
8555
|
};
|
|
8449
|
-
// /
|
|
8556
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/runtimeExtensions.js
|
|
8450
8557
|
var asPartial = (t2) => t2;
|
|
8451
8558
|
var resolveRuntimeExtensions = (runtimeConfig2, extensions5) => {
|
|
8452
8559
|
const extensionConfiguration = {
|
|
@@ -8463,7 +8570,7 @@ var resolveRuntimeExtensions = (runtimeConfig2, extensions5) => {
|
|
|
8463
8570
|
};
|
|
8464
8571
|
};
|
|
8465
8572
|
|
|
8466
|
-
// /
|
|
8573
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/BedrockClient.js
|
|
8467
8574
|
class BedrockClient extends Client {
|
|
8468
8575
|
constructor(...[configuration]) {
|
|
8469
8576
|
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
@@ -8489,7 +8596,7 @@ class BedrockClient extends Client {
|
|
|
8489
8596
|
super.destroy();
|
|
8490
8597
|
}
|
|
8491
8598
|
}
|
|
8492
|
-
// /
|
|
8599
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
8493
8600
|
var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
8494
8601
|
step: "serialize",
|
|
8495
8602
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -8498,7 +8605,7 @@ var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
|
8498
8605
|
relation: "before",
|
|
8499
8606
|
toMiddleware: endpointMiddlewareOptions.name
|
|
8500
8607
|
};
|
|
8501
|
-
// /
|
|
8608
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js
|
|
8502
8609
|
var httpAuthSchemeMiddlewareOptions = {
|
|
8503
8610
|
step: "serialize",
|
|
8504
8611
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -8507,7 +8614,7 @@ var httpAuthSchemeMiddlewareOptions = {
|
|
|
8507
8614
|
relation: "before",
|
|
8508
8615
|
toMiddleware: serializerMiddlewareOption.name
|
|
8509
8616
|
};
|
|
8510
|
-
// /
|
|
8617
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
8511
8618
|
var httpSigningMiddlewareOptions = {
|
|
8512
8619
|
step: "finalizeRequest",
|
|
8513
8620
|
tags: ["HTTP_SIGNING"],
|
|
@@ -8517,12 +8624,12 @@ var httpSigningMiddlewareOptions = {
|
|
|
8517
8624
|
relation: "after",
|
|
8518
8625
|
toMiddleware: retryMiddlewareOptions.name
|
|
8519
8626
|
};
|
|
8520
|
-
// /
|
|
8627
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js
|
|
8521
8628
|
var createIsIdentityExpiredFunction = (expirationMs) => (identity3) => doesIdentityRequireRefresh(identity3) && identity3.expiration.getTime() - Date.now() < expirationMs;
|
|
8522
8629
|
var EXPIRATION_MS = 300000;
|
|
8523
8630
|
var isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);
|
|
8524
8631
|
var doesIdentityRequireRefresh = (identity3) => identity3.expiration !== undefined;
|
|
8525
|
-
// /
|
|
8632
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js
|
|
8526
8633
|
function requestBuilder(input, context) {
|
|
8527
8634
|
return new RequestBuilder(input, context);
|
|
8528
8635
|
}
|
|
@@ -8589,7 +8696,7 @@ class RequestBuilder {
|
|
|
8589
8696
|
return this;
|
|
8590
8697
|
}
|
|
8591
8698
|
}
|
|
8592
|
-
// /
|
|
8699
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/node_modules/uuid/dist/esm-browser/rng.js
|
|
8593
8700
|
var getRandomValues2;
|
|
8594
8701
|
var rnds82 = new Uint8Array(16);
|
|
8595
8702
|
function rng3() {
|
|
@@ -8602,16 +8709,16 @@ function rng3() {
|
|
|
8602
8709
|
return getRandomValues2(rnds82);
|
|
8603
8710
|
}
|
|
8604
8711
|
|
|
8605
|
-
// /
|
|
8712
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/node_modules/uuid/dist/esm-browser/regex.js
|
|
8606
8713
|
var regex_default2 = /^(?:[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;
|
|
8607
8714
|
|
|
8608
|
-
// /
|
|
8715
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/node_modules/uuid/dist/esm-browser/validate.js
|
|
8609
8716
|
var validate3 = function(uuid) {
|
|
8610
8717
|
return typeof uuid === "string" && regex_default2.test(uuid);
|
|
8611
8718
|
};
|
|
8612
8719
|
var validate_default2 = validate3;
|
|
8613
8720
|
|
|
8614
|
-
// /
|
|
8721
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/node_modules/uuid/dist/esm-browser/stringify.js
|
|
8615
8722
|
var stringify3 = function(arr) {
|
|
8616
8723
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
8617
8724
|
var uuid = (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]]).toLowerCase();
|
|
@@ -8627,7 +8734,7 @@ for (i2 = 0;i2 < 256; ++i2) {
|
|
|
8627
8734
|
var i2;
|
|
8628
8735
|
var stringify_default2 = stringify3;
|
|
8629
8736
|
|
|
8630
|
-
// /
|
|
8737
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/node_modules/uuid/dist/esm-browser/v4.js
|
|
8631
8738
|
var v42 = function(options, buf, offset) {
|
|
8632
8739
|
options = options || {};
|
|
8633
8740
|
var rnds = options.random || (options.rng || rng3)();
|
|
@@ -8643,7 +8750,7 @@ var v42 = function(options, buf, offset) {
|
|
|
8643
8750
|
return stringify_default2(rnds);
|
|
8644
8751
|
};
|
|
8645
8752
|
var v4_default2 = v42;
|
|
8646
|
-
// /
|
|
8753
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/models/BedrockServiceException.js
|
|
8647
8754
|
class BedrockServiceException extends ServiceException {
|
|
8648
8755
|
constructor(options) {
|
|
8649
8756
|
super(options);
|
|
@@ -8651,7 +8758,7 @@ class BedrockServiceException extends ServiceException {
|
|
|
8651
8758
|
}
|
|
8652
8759
|
}
|
|
8653
8760
|
|
|
8654
|
-
// /
|
|
8761
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/models/models_0.js
|
|
8655
8762
|
class AccessDeniedException extends BedrockServiceException {
|
|
8656
8763
|
constructor(opts) {
|
|
8657
8764
|
super({
|
|
@@ -8756,7 +8863,7 @@ class TooManyTagsException extends BedrockServiceException {
|
|
|
8756
8863
|
}
|
|
8757
8864
|
}
|
|
8758
8865
|
|
|
8759
|
-
// /
|
|
8866
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/protocols/Aws_restJson1.js
|
|
8760
8867
|
var se_CreateModelCustomizationJobCommand = async (input, context) => {
|
|
8761
8868
|
const b2 = requestBuilder(input, context);
|
|
8762
8869
|
const headers = {
|
|
@@ -9141,7 +9248,7 @@ var loadRestJsonErrorCode = (output, data) => {
|
|
|
9141
9248
|
}
|
|
9142
9249
|
};
|
|
9143
9250
|
|
|
9144
|
-
// /
|
|
9251
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/commands/CreateModelCustomizationJobCommand.js
|
|
9145
9252
|
class CreateModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
9146
9253
|
...commonParams
|
|
9147
9254
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9152,7 +9259,7 @@ class CreateModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
|
9152
9259
|
}).s("AmazonBedrockControlPlaneService", "CreateModelCustomizationJob", {}).n("BedrockClient", "CreateModelCustomizationJobCommand").f(undefined, undefined).ser(se_CreateModelCustomizationJobCommand).de(de_CreateModelCustomizationJobCommand).build() {
|
|
9153
9260
|
}
|
|
9154
9261
|
|
|
9155
|
-
// /
|
|
9262
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/commands/GetModelCustomizationJobCommand.js
|
|
9156
9263
|
class GetModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
9157
9264
|
...commonParams
|
|
9158
9265
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9163,7 +9270,7 @@ class GetModelCustomizationJobCommand extends Command.classBuilder().ep({
|
|
|
9163
9270
|
}).s("AmazonBedrockControlPlaneService", "GetModelCustomizationJob", {}).n("BedrockClient", "GetModelCustomizationJobCommand").f(undefined, undefined).ser(se_GetModelCustomizationJobCommand).de(de_GetModelCustomizationJobCommand).build() {
|
|
9164
9271
|
}
|
|
9165
9272
|
|
|
9166
|
-
// /
|
|
9273
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock/dist-es/commands/ListFoundationModelsCommand.js
|
|
9167
9274
|
class ListFoundationModelsCommand extends Command.classBuilder().ep({
|
|
9168
9275
|
...commonParams
|
|
9169
9276
|
}).m(function(Command2, cs, config7, o2) {
|
|
@@ -9201,12 +9308,12 @@ async function listFoundationModels(params) {
|
|
|
9201
9308
|
}
|
|
9202
9309
|
var client3 = new BedrockClient({ region: process.env.REGION || "us-east-1" });
|
|
9203
9310
|
var logger3 = console;
|
|
9204
|
-
// /
|
|
9311
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
|
|
9205
9312
|
var resolveEventStreamSerdeConfig = (input) => ({
|
|
9206
9313
|
...input,
|
|
9207
9314
|
eventStreamMarshaller: input.eventStreamSerdeProvider(input)
|
|
9208
9315
|
});
|
|
9209
|
-
// /
|
|
9316
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
|
|
9210
9317
|
var resolveClientEndpointParameters2 = (options) => {
|
|
9211
9318
|
return {
|
|
9212
9319
|
...options,
|
|
@@ -9221,14 +9328,14 @@ var commonParams2 = {
|
|
|
9221
9328
|
Region: { type: "builtInParams", name: "region" },
|
|
9222
9329
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
9223
9330
|
};
|
|
9224
|
-
// /
|
|
9331
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/package.json
|
|
9225
9332
|
var package_default2 = {
|
|
9226
9333
|
name: "@aws-sdk/client-bedrock-runtime",
|
|
9227
9334
|
description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
9228
|
-
version: "3.
|
|
9335
|
+
version: "3.501.0",
|
|
9229
9336
|
scripts: {
|
|
9230
9337
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
9231
|
-
"build:cjs": "
|
|
9338
|
+
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
|
|
9232
9339
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9233
9340
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
9234
9341
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -9244,51 +9351,51 @@ var package_default2 = {
|
|
|
9244
9351
|
dependencies: {
|
|
9245
9352
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
9246
9353
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
9247
|
-
"@aws-sdk/client-sts": "3.
|
|
9248
|
-
"@aws-sdk/core": "3.
|
|
9249
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
9250
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
9251
|
-
"@aws-sdk/middleware-logger": "3.
|
|
9252
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
9253
|
-
"@aws-sdk/middleware-signing": "3.
|
|
9254
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
9255
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
9256
|
-
"@aws-sdk/types": "3.
|
|
9257
|
-
"@aws-sdk/util-endpoints": "3.
|
|
9258
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
9259
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
9260
|
-
"@smithy/config-resolver": "^2.
|
|
9261
|
-
"@smithy/core": "^1.
|
|
9262
|
-
"@smithy/eventstream-serde-browser": "^2.
|
|
9263
|
-
"@smithy/eventstream-serde-config-resolver": "^2.
|
|
9264
|
-
"@smithy/eventstream-serde-node": "^2.
|
|
9265
|
-
"@smithy/fetch-http-handler": "^2.
|
|
9266
|
-
"@smithy/hash-node": "^2.
|
|
9267
|
-
"@smithy/invalid-dependency": "^2.
|
|
9268
|
-
"@smithy/middleware-content-length": "^2.
|
|
9269
|
-
"@smithy/middleware-endpoint": "^2.
|
|
9270
|
-
"@smithy/middleware-retry": "^2.
|
|
9271
|
-
"@smithy/middleware-serde": "^2.
|
|
9272
|
-
"@smithy/middleware-stack": "^2.
|
|
9273
|
-
"@smithy/node-config-provider": "^2.1
|
|
9274
|
-
"@smithy/node-http-handler": "^2.
|
|
9275
|
-
"@smithy/protocol-http": "^3.
|
|
9276
|
-
"@smithy/smithy-client": "^2.
|
|
9277
|
-
"@smithy/types": "^2.
|
|
9278
|
-
"@smithy/url-parser": "^2.
|
|
9279
|
-
"@smithy/util-base64": "^2.
|
|
9280
|
-
"@smithy/util-body-length-browser": "^2.
|
|
9281
|
-
"@smithy/util-body-length-node": "^2.1
|
|
9282
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
9283
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
9284
|
-
"@smithy/util-endpoints": "^1.
|
|
9285
|
-
"@smithy/util-retry": "^2.
|
|
9286
|
-
"@smithy/util-stream": "^2.
|
|
9287
|
-
"@smithy/util-utf8": "^2.
|
|
9354
|
+
"@aws-sdk/client-sts": "3.501.0",
|
|
9355
|
+
"@aws-sdk/core": "3.496.0",
|
|
9356
|
+
"@aws-sdk/credential-provider-node": "3.501.0",
|
|
9357
|
+
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
9358
|
+
"@aws-sdk/middleware-logger": "3.496.0",
|
|
9359
|
+
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
9360
|
+
"@aws-sdk/middleware-signing": "3.496.0",
|
|
9361
|
+
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
9362
|
+
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
9363
|
+
"@aws-sdk/types": "3.496.0",
|
|
9364
|
+
"@aws-sdk/util-endpoints": "3.496.0",
|
|
9365
|
+
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
|
9366
|
+
"@aws-sdk/util-user-agent-node": "3.496.0",
|
|
9367
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
9368
|
+
"@smithy/core": "^1.3.1",
|
|
9369
|
+
"@smithy/eventstream-serde-browser": "^2.1.1",
|
|
9370
|
+
"@smithy/eventstream-serde-config-resolver": "^2.1.1",
|
|
9371
|
+
"@smithy/eventstream-serde-node": "^2.1.1",
|
|
9372
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
9373
|
+
"@smithy/hash-node": "^2.1.1",
|
|
9374
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
9375
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
9376
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
9377
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
9378
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
9379
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
9380
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
9381
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
9382
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
9383
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
9384
|
+
"@smithy/types": "^2.9.1",
|
|
9385
|
+
"@smithy/url-parser": "^2.1.1",
|
|
9386
|
+
"@smithy/util-base64": "^2.1.1",
|
|
9387
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
9388
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
9389
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
9390
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
|
9391
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
9392
|
+
"@smithy/util-retry": "^2.1.1",
|
|
9393
|
+
"@smithy/util-stream": "^2.1.1",
|
|
9394
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
9288
9395
|
tslib: "^2.5.0"
|
|
9289
9396
|
},
|
|
9290
9397
|
devDependencies: {
|
|
9291
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
9398
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
9292
9399
|
"@tsconfig/node14": "1.0.3",
|
|
9293
9400
|
"@types/node": "^14.14.31",
|
|
9294
9401
|
concurrently: "7.0.0",
|
|
@@ -9328,397 +9435,10 @@ var package_default2 = {
|
|
|
9328
9435
|
}
|
|
9329
9436
|
};
|
|
9330
9437
|
|
|
9331
|
-
// /
|
|
9438
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js
|
|
9332
9439
|
var sha256_browser2 = __toESM(require_build6(), 1);
|
|
9333
9440
|
|
|
9334
|
-
// /
|
|
9335
|
-
var crc324 = __toESM(require_build2(), 1);
|
|
9336
|
-
|
|
9337
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
9338
|
-
var negate2 = function(bytes) {
|
|
9339
|
-
for (let i2 = 0;i2 < 8; i2++) {
|
|
9340
|
-
bytes[i2] ^= 255;
|
|
9341
|
-
}
|
|
9342
|
-
for (let i2 = 7;i2 > -1; i2--) {
|
|
9343
|
-
bytes[i2]++;
|
|
9344
|
-
if (bytes[i2] !== 0)
|
|
9345
|
-
break;
|
|
9346
|
-
}
|
|
9347
|
-
};
|
|
9348
|
-
|
|
9349
|
-
class Int644 {
|
|
9350
|
-
constructor(bytes) {
|
|
9351
|
-
this.bytes = bytes;
|
|
9352
|
-
if (bytes.byteLength !== 8) {
|
|
9353
|
-
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
9354
|
-
}
|
|
9355
|
-
}
|
|
9356
|
-
static fromNumber(number) {
|
|
9357
|
-
if (number > 9223372036854776000 || number < -9223372036854776000) {
|
|
9358
|
-
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
9359
|
-
}
|
|
9360
|
-
const bytes = new Uint8Array(8);
|
|
9361
|
-
for (let i2 = 7, remaining = Math.abs(Math.round(number));i2 > -1 && remaining > 0; i2--, remaining /= 256) {
|
|
9362
|
-
bytes[i2] = remaining;
|
|
9363
|
-
}
|
|
9364
|
-
if (number < 0) {
|
|
9365
|
-
negate2(bytes);
|
|
9366
|
-
}
|
|
9367
|
-
return new Int644(bytes);
|
|
9368
|
-
}
|
|
9369
|
-
valueOf() {
|
|
9370
|
-
const bytes = this.bytes.slice(0);
|
|
9371
|
-
const negative = bytes[0] & 128;
|
|
9372
|
-
if (negative) {
|
|
9373
|
-
negate2(bytes);
|
|
9374
|
-
}
|
|
9375
|
-
return parseInt(toHex(bytes), 16) * (negative ? -1 : 1);
|
|
9376
|
-
}
|
|
9377
|
-
toString() {
|
|
9378
|
-
return String(this.valueOf());
|
|
9379
|
-
}
|
|
9380
|
-
}
|
|
9381
|
-
|
|
9382
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
9383
|
-
class HeaderMarshaller4 {
|
|
9384
|
-
constructor(toUtf83, fromUtf84) {
|
|
9385
|
-
this.toUtf8 = toUtf83;
|
|
9386
|
-
this.fromUtf8 = fromUtf84;
|
|
9387
|
-
}
|
|
9388
|
-
format(headers) {
|
|
9389
|
-
const chunks = [];
|
|
9390
|
-
for (const headerName of Object.keys(headers)) {
|
|
9391
|
-
const bytes = this.fromUtf8(headerName);
|
|
9392
|
-
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
9393
|
-
}
|
|
9394
|
-
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
9395
|
-
let position = 0;
|
|
9396
|
-
for (const chunk of chunks) {
|
|
9397
|
-
out.set(chunk, position);
|
|
9398
|
-
position += chunk.byteLength;
|
|
9399
|
-
}
|
|
9400
|
-
return out;
|
|
9401
|
-
}
|
|
9402
|
-
formatHeaderValue(header) {
|
|
9403
|
-
switch (header.type) {
|
|
9404
|
-
case "boolean":
|
|
9405
|
-
return Uint8Array.from([header.value ? 0 : 1]);
|
|
9406
|
-
case "byte":
|
|
9407
|
-
return Uint8Array.from([2, header.value]);
|
|
9408
|
-
case "short":
|
|
9409
|
-
const shortView = new DataView(new ArrayBuffer(3));
|
|
9410
|
-
shortView.setUint8(0, 3);
|
|
9411
|
-
shortView.setInt16(1, header.value, false);
|
|
9412
|
-
return new Uint8Array(shortView.buffer);
|
|
9413
|
-
case "integer":
|
|
9414
|
-
const intView = new DataView(new ArrayBuffer(5));
|
|
9415
|
-
intView.setUint8(0, 4);
|
|
9416
|
-
intView.setInt32(1, header.value, false);
|
|
9417
|
-
return new Uint8Array(intView.buffer);
|
|
9418
|
-
case "long":
|
|
9419
|
-
const longBytes = new Uint8Array(9);
|
|
9420
|
-
longBytes[0] = 5;
|
|
9421
|
-
longBytes.set(header.value.bytes, 1);
|
|
9422
|
-
return longBytes;
|
|
9423
|
-
case "binary":
|
|
9424
|
-
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
9425
|
-
binView.setUint8(0, 6);
|
|
9426
|
-
binView.setUint16(1, header.value.byteLength, false);
|
|
9427
|
-
const binBytes = new Uint8Array(binView.buffer);
|
|
9428
|
-
binBytes.set(header.value, 3);
|
|
9429
|
-
return binBytes;
|
|
9430
|
-
case "string":
|
|
9431
|
-
const utf8Bytes = this.fromUtf8(header.value);
|
|
9432
|
-
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
9433
|
-
strView.setUint8(0, 7);
|
|
9434
|
-
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
9435
|
-
const strBytes = new Uint8Array(strView.buffer);
|
|
9436
|
-
strBytes.set(utf8Bytes, 3);
|
|
9437
|
-
return strBytes;
|
|
9438
|
-
case "timestamp":
|
|
9439
|
-
const tsBytes = new Uint8Array(9);
|
|
9440
|
-
tsBytes[0] = 8;
|
|
9441
|
-
tsBytes.set(Int644.fromNumber(header.value.valueOf()).bytes, 1);
|
|
9442
|
-
return tsBytes;
|
|
9443
|
-
case "uuid":
|
|
9444
|
-
if (!UUID_PATTERN2.test(header.value)) {
|
|
9445
|
-
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
9446
|
-
}
|
|
9447
|
-
const uuidBytes = new Uint8Array(17);
|
|
9448
|
-
uuidBytes[0] = 9;
|
|
9449
|
-
uuidBytes.set(fromHex(header.value.replace(/\-/g, "")), 1);
|
|
9450
|
-
return uuidBytes;
|
|
9451
|
-
}
|
|
9452
|
-
}
|
|
9453
|
-
parse(headers) {
|
|
9454
|
-
const out = {};
|
|
9455
|
-
let position = 0;
|
|
9456
|
-
while (position < headers.byteLength) {
|
|
9457
|
-
const nameLength = headers.getUint8(position++);
|
|
9458
|
-
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
9459
|
-
position += nameLength;
|
|
9460
|
-
switch (headers.getUint8(position++)) {
|
|
9461
|
-
case 0:
|
|
9462
|
-
out[name] = {
|
|
9463
|
-
type: BOOLEAN_TAG2,
|
|
9464
|
-
value: true
|
|
9465
|
-
};
|
|
9466
|
-
break;
|
|
9467
|
-
case 1:
|
|
9468
|
-
out[name] = {
|
|
9469
|
-
type: BOOLEAN_TAG2,
|
|
9470
|
-
value: false
|
|
9471
|
-
};
|
|
9472
|
-
break;
|
|
9473
|
-
case 2:
|
|
9474
|
-
out[name] = {
|
|
9475
|
-
type: BYTE_TAG2,
|
|
9476
|
-
value: headers.getInt8(position++)
|
|
9477
|
-
};
|
|
9478
|
-
break;
|
|
9479
|
-
case 3:
|
|
9480
|
-
out[name] = {
|
|
9481
|
-
type: SHORT_TAG2,
|
|
9482
|
-
value: headers.getInt16(position, false)
|
|
9483
|
-
};
|
|
9484
|
-
position += 2;
|
|
9485
|
-
break;
|
|
9486
|
-
case 4:
|
|
9487
|
-
out[name] = {
|
|
9488
|
-
type: INT_TAG2,
|
|
9489
|
-
value: headers.getInt32(position, false)
|
|
9490
|
-
};
|
|
9491
|
-
position += 4;
|
|
9492
|
-
break;
|
|
9493
|
-
case 5:
|
|
9494
|
-
out[name] = {
|
|
9495
|
-
type: LONG_TAG2,
|
|
9496
|
-
value: new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
9497
|
-
};
|
|
9498
|
-
position += 8;
|
|
9499
|
-
break;
|
|
9500
|
-
case 6:
|
|
9501
|
-
const binaryLength = headers.getUint16(position, false);
|
|
9502
|
-
position += 2;
|
|
9503
|
-
out[name] = {
|
|
9504
|
-
type: BINARY_TAG2,
|
|
9505
|
-
value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
|
|
9506
|
-
};
|
|
9507
|
-
position += binaryLength;
|
|
9508
|
-
break;
|
|
9509
|
-
case 7:
|
|
9510
|
-
const stringLength = headers.getUint16(position, false);
|
|
9511
|
-
position += 2;
|
|
9512
|
-
out[name] = {
|
|
9513
|
-
type: STRING_TAG2,
|
|
9514
|
-
value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
|
|
9515
|
-
};
|
|
9516
|
-
position += stringLength;
|
|
9517
|
-
break;
|
|
9518
|
-
case 8:
|
|
9519
|
-
out[name] = {
|
|
9520
|
-
type: TIMESTAMP_TAG2,
|
|
9521
|
-
value: new Date(new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
9522
|
-
};
|
|
9523
|
-
position += 8;
|
|
9524
|
-
break;
|
|
9525
|
-
case 9:
|
|
9526
|
-
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
9527
|
-
position += 16;
|
|
9528
|
-
out[name] = {
|
|
9529
|
-
type: UUID_TAG2,
|
|
9530
|
-
value: `${toHex(uuidBytes.subarray(0, 4))}-${toHex(uuidBytes.subarray(4, 6))}-${toHex(uuidBytes.subarray(6, 8))}-${toHex(uuidBytes.subarray(8, 10))}-${toHex(uuidBytes.subarray(10))}`
|
|
9531
|
-
};
|
|
9532
|
-
break;
|
|
9533
|
-
default:
|
|
9534
|
-
throw new Error(`Unrecognized header type tag`);
|
|
9535
|
-
}
|
|
9536
|
-
}
|
|
9537
|
-
return out;
|
|
9538
|
-
}
|
|
9539
|
-
}
|
|
9540
|
-
var HEADER_VALUE_TYPE2;
|
|
9541
|
-
(function(HEADER_VALUE_TYPE3) {
|
|
9542
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["boolTrue"] = 0] = "boolTrue";
|
|
9543
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["boolFalse"] = 1] = "boolFalse";
|
|
9544
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["byte"] = 2] = "byte";
|
|
9545
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["short"] = 3] = "short";
|
|
9546
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["integer"] = 4] = "integer";
|
|
9547
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["long"] = 5] = "long";
|
|
9548
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["byteArray"] = 6] = "byteArray";
|
|
9549
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["string"] = 7] = "string";
|
|
9550
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["timestamp"] = 8] = "timestamp";
|
|
9551
|
-
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["uuid"] = 9] = "uuid";
|
|
9552
|
-
})(HEADER_VALUE_TYPE2 || (HEADER_VALUE_TYPE2 = {}));
|
|
9553
|
-
var BOOLEAN_TAG2 = "boolean";
|
|
9554
|
-
var BYTE_TAG2 = "byte";
|
|
9555
|
-
var SHORT_TAG2 = "short";
|
|
9556
|
-
var INT_TAG2 = "integer";
|
|
9557
|
-
var LONG_TAG2 = "long";
|
|
9558
|
-
var BINARY_TAG2 = "binary";
|
|
9559
|
-
var STRING_TAG2 = "string";
|
|
9560
|
-
var TIMESTAMP_TAG2 = "timestamp";
|
|
9561
|
-
var UUID_TAG2 = "uuid";
|
|
9562
|
-
var UUID_PATTERN2 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
9563
|
-
|
|
9564
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
9565
|
-
var crc323 = __toESM(require_build2(), 1);
|
|
9566
|
-
function splitMessage3({ byteLength, byteOffset, buffer }) {
|
|
9567
|
-
if (byteLength < MINIMUM_MESSAGE_LENGTH2) {
|
|
9568
|
-
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
9569
|
-
}
|
|
9570
|
-
const view = new DataView(buffer, byteOffset, byteLength);
|
|
9571
|
-
const messageLength = view.getUint32(0, false);
|
|
9572
|
-
if (byteLength !== messageLength) {
|
|
9573
|
-
throw new Error("Reported message length does not match received message length");
|
|
9574
|
-
}
|
|
9575
|
-
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH2, false);
|
|
9576
|
-
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH2, false);
|
|
9577
|
-
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH2, false);
|
|
9578
|
-
const checksummer = new crc323.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH2));
|
|
9579
|
-
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
9580
|
-
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
9581
|
-
}
|
|
9582
|
-
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2, byteLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2)));
|
|
9583
|
-
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
9584
|
-
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
9585
|
-
}
|
|
9586
|
-
return {
|
|
9587
|
-
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2, headerLength),
|
|
9588
|
-
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + headerLength, messageLength - headerLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + CHECKSUM_LENGTH2))
|
|
9589
|
-
};
|
|
9590
|
-
}
|
|
9591
|
-
var PRELUDE_MEMBER_LENGTH2 = 4;
|
|
9592
|
-
var PRELUDE_LENGTH2 = PRELUDE_MEMBER_LENGTH2 * 2;
|
|
9593
|
-
var CHECKSUM_LENGTH2 = 4;
|
|
9594
|
-
var MINIMUM_MESSAGE_LENGTH2 = PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 * 2;
|
|
9595
|
-
|
|
9596
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
9597
|
-
class EventStreamCodec2 {
|
|
9598
|
-
constructor(toUtf83, fromUtf84) {
|
|
9599
|
-
this.headerMarshaller = new HeaderMarshaller4(toUtf83, fromUtf84);
|
|
9600
|
-
this.messageBuffer = [];
|
|
9601
|
-
this.isEndOfStream = false;
|
|
9602
|
-
}
|
|
9603
|
-
feed(message) {
|
|
9604
|
-
this.messageBuffer.push(this.decode(message));
|
|
9605
|
-
}
|
|
9606
|
-
endOfStream() {
|
|
9607
|
-
this.isEndOfStream = true;
|
|
9608
|
-
}
|
|
9609
|
-
getMessage() {
|
|
9610
|
-
const message = this.messageBuffer.pop();
|
|
9611
|
-
const isEndOfStream = this.isEndOfStream;
|
|
9612
|
-
return {
|
|
9613
|
-
getMessage() {
|
|
9614
|
-
return message;
|
|
9615
|
-
},
|
|
9616
|
-
isEndOfStream() {
|
|
9617
|
-
return isEndOfStream;
|
|
9618
|
-
}
|
|
9619
|
-
};
|
|
9620
|
-
}
|
|
9621
|
-
getAvailableMessages() {
|
|
9622
|
-
const messages = this.messageBuffer;
|
|
9623
|
-
this.messageBuffer = [];
|
|
9624
|
-
const isEndOfStream = this.isEndOfStream;
|
|
9625
|
-
return {
|
|
9626
|
-
getMessages() {
|
|
9627
|
-
return messages;
|
|
9628
|
-
},
|
|
9629
|
-
isEndOfStream() {
|
|
9630
|
-
return isEndOfStream;
|
|
9631
|
-
}
|
|
9632
|
-
};
|
|
9633
|
-
}
|
|
9634
|
-
encode({ headers: rawHeaders, body }) {
|
|
9635
|
-
const headers = this.headerMarshaller.format(rawHeaders);
|
|
9636
|
-
const length = headers.byteLength + body.byteLength + 16;
|
|
9637
|
-
const out = new Uint8Array(length);
|
|
9638
|
-
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
9639
|
-
const checksum4 = new crc324.Crc32;
|
|
9640
|
-
view.setUint32(0, length, false);
|
|
9641
|
-
view.setUint32(4, headers.byteLength, false);
|
|
9642
|
-
view.setUint32(8, checksum4.update(out.subarray(0, 8)).digest(), false);
|
|
9643
|
-
out.set(headers, 12);
|
|
9644
|
-
out.set(body, headers.byteLength + 12);
|
|
9645
|
-
view.setUint32(length - 4, checksum4.update(out.subarray(8, length - 4)).digest(), false);
|
|
9646
|
-
return out;
|
|
9647
|
-
}
|
|
9648
|
-
decode(message) {
|
|
9649
|
-
const { headers, body } = splitMessage3(message);
|
|
9650
|
-
return { headers: this.headerMarshaller.parse(headers), body };
|
|
9651
|
-
}
|
|
9652
|
-
formatHeaders(rawHeaders) {
|
|
9653
|
-
return this.headerMarshaller.format(rawHeaders);
|
|
9654
|
-
}
|
|
9655
|
-
}
|
|
9656
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
9657
|
-
class MessageDecoderStream3 {
|
|
9658
|
-
constructor(options) {
|
|
9659
|
-
this.options = options;
|
|
9660
|
-
}
|
|
9661
|
-
[Symbol.asyncIterator]() {
|
|
9662
|
-
return this.asyncIterator();
|
|
9663
|
-
}
|
|
9664
|
-
async* asyncIterator() {
|
|
9665
|
-
for await (const bytes of this.options.inputStream) {
|
|
9666
|
-
const decoded = this.options.decoder.decode(bytes);
|
|
9667
|
-
yield decoded;
|
|
9668
|
-
}
|
|
9669
|
-
}
|
|
9670
|
-
}
|
|
9671
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
9672
|
-
class MessageEncoderStream3 {
|
|
9673
|
-
constructor(options) {
|
|
9674
|
-
this.options = options;
|
|
9675
|
-
}
|
|
9676
|
-
[Symbol.asyncIterator]() {
|
|
9677
|
-
return this.asyncIterator();
|
|
9678
|
-
}
|
|
9679
|
-
async* asyncIterator() {
|
|
9680
|
-
for await (const msg of this.options.messageStream) {
|
|
9681
|
-
const encoded = this.options.encoder.encode(msg);
|
|
9682
|
-
yield encoded;
|
|
9683
|
-
}
|
|
9684
|
-
if (this.options.includeEndFrame) {
|
|
9685
|
-
yield new Uint8Array(0);
|
|
9686
|
-
}
|
|
9687
|
-
}
|
|
9688
|
-
}
|
|
9689
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
9690
|
-
class SmithyMessageDecoderStream3 {
|
|
9691
|
-
constructor(options) {
|
|
9692
|
-
this.options = options;
|
|
9693
|
-
}
|
|
9694
|
-
[Symbol.asyncIterator]() {
|
|
9695
|
-
return this.asyncIterator();
|
|
9696
|
-
}
|
|
9697
|
-
async* asyncIterator() {
|
|
9698
|
-
for await (const message of this.options.messageStream) {
|
|
9699
|
-
const deserialized = await this.options.deserializer(message);
|
|
9700
|
-
if (deserialized === undefined)
|
|
9701
|
-
continue;
|
|
9702
|
-
yield deserialized;
|
|
9703
|
-
}
|
|
9704
|
-
}
|
|
9705
|
-
}
|
|
9706
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
9707
|
-
class SmithyMessageEncoderStream3 {
|
|
9708
|
-
constructor(options) {
|
|
9709
|
-
this.options = options;
|
|
9710
|
-
}
|
|
9711
|
-
[Symbol.asyncIterator]() {
|
|
9712
|
-
return this.asyncIterator();
|
|
9713
|
-
}
|
|
9714
|
-
async* asyncIterator() {
|
|
9715
|
-
for await (const chunk of this.options.inputStream) {
|
|
9716
|
-
const payloadBuf = this.options.serializer(chunk);
|
|
9717
|
-
yield payloadBuf;
|
|
9718
|
-
}
|
|
9719
|
-
}
|
|
9720
|
-
}
|
|
9721
|
-
// /home/runner/work/stacks/stacks/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
9441
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
9722
9442
|
function getChunkedStream(source) {
|
|
9723
9443
|
let currentMessageTotalLength = 0;
|
|
9724
9444
|
let currentMessagePendingLength = 0;
|
|
@@ -9784,7 +9504,7 @@ function getChunkedStream(source) {
|
|
|
9784
9504
|
};
|
|
9785
9505
|
}
|
|
9786
9506
|
|
|
9787
|
-
// /
|
|
9507
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
|
|
9788
9508
|
function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
9789
9509
|
return async function(message) {
|
|
9790
9510
|
const { value: messageType } = message.headers[":message-type"];
|
|
@@ -9816,28 +9536,28 @@ function getMessageUnmarshaller(deserializer, toUtf83) {
|
|
|
9816
9536
|
};
|
|
9817
9537
|
}
|
|
9818
9538
|
|
|
9819
|
-
// /
|
|
9539
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
|
|
9820
9540
|
class EventStreamMarshaller {
|
|
9821
9541
|
constructor({ utf8Encoder, utf8Decoder }) {
|
|
9822
|
-
this.eventStreamCodec = new
|
|
9542
|
+
this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
|
|
9823
9543
|
this.utfEncoder = utf8Encoder;
|
|
9824
9544
|
}
|
|
9825
9545
|
deserialize(body, deserializer) {
|
|
9826
9546
|
const inputStream = getChunkedStream(body);
|
|
9827
|
-
return new
|
|
9828
|
-
messageStream: new
|
|
9547
|
+
return new SmithyMessageDecoderStream({
|
|
9548
|
+
messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),
|
|
9829
9549
|
deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder)
|
|
9830
9550
|
});
|
|
9831
9551
|
}
|
|
9832
9552
|
serialize(inputStream, serializer) {
|
|
9833
|
-
return new
|
|
9834
|
-
messageStream: new
|
|
9553
|
+
return new MessageEncoderStream({
|
|
9554
|
+
messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),
|
|
9835
9555
|
encoder: this.eventStreamCodec,
|
|
9836
9556
|
includeEndFrame: true
|
|
9837
9557
|
});
|
|
9838
9558
|
}
|
|
9839
9559
|
}
|
|
9840
|
-
// /
|
|
9560
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js
|
|
9841
9561
|
var readableStreamtoIterable = (readableStream) => ({
|
|
9842
9562
|
[Symbol.asyncIterator]: async function* () {
|
|
9843
9563
|
const reader = readableStream.getReader();
|
|
@@ -9866,7 +9586,7 @@ var iterableToReadableStream = (asyncIterable) => {
|
|
|
9866
9586
|
});
|
|
9867
9587
|
};
|
|
9868
9588
|
|
|
9869
|
-
// /
|
|
9589
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js
|
|
9870
9590
|
class EventStreamMarshaller4 {
|
|
9871
9591
|
constructor({ utf8Encoder, utf8Decoder }) {
|
|
9872
9592
|
this.universalMarshaller = new EventStreamMarshaller({
|
|
@@ -9884,9 +9604,9 @@ class EventStreamMarshaller4 {
|
|
|
9884
9604
|
}
|
|
9885
9605
|
}
|
|
9886
9606
|
var isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream;
|
|
9887
|
-
// /
|
|
9607
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js
|
|
9888
9608
|
var eventStreamSerdeProvider = (options) => new EventStreamMarshaller4(options);
|
|
9889
|
-
// /
|
|
9609
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
|
|
9890
9610
|
var s2 = "required";
|
|
9891
9611
|
var t2 = "fn";
|
|
9892
9612
|
var u2 = "argv";
|
|
@@ -9912,7 +9632,7 @@ var r2 = [{ [v2]: "Region" }];
|
|
|
9912
9632
|
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 }] };
|
|
9913
9633
|
var ruleSet2 = _data2;
|
|
9914
9634
|
|
|
9915
|
-
// /
|
|
9635
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
|
|
9916
9636
|
var defaultEndpointResolver2 = (endpointParams, context = {}) => {
|
|
9917
9637
|
return resolveEndpoint(ruleSet2, {
|
|
9918
9638
|
endpointParams,
|
|
@@ -9920,7 +9640,7 @@ var defaultEndpointResolver2 = (endpointParams, context = {}) => {
|
|
|
9920
9640
|
});
|
|
9921
9641
|
};
|
|
9922
9642
|
|
|
9923
|
-
// /
|
|
9643
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
|
|
9924
9644
|
var getRuntimeConfig3 = (config7) => {
|
|
9925
9645
|
return {
|
|
9926
9646
|
apiVersion: "2023-09-30",
|
|
@@ -9937,7 +9657,7 @@ var getRuntimeConfig3 = (config7) => {
|
|
|
9937
9657
|
};
|
|
9938
9658
|
};
|
|
9939
9659
|
|
|
9940
|
-
// /
|
|
9660
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js
|
|
9941
9661
|
var getRuntimeConfig4 = (config7) => {
|
|
9942
9662
|
const defaultsMode = resolveDefaultsModeConfig(config7);
|
|
9943
9663
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
@@ -9962,7 +9682,7 @@ var getRuntimeConfig4 = (config7) => {
|
|
|
9962
9682
|
};
|
|
9963
9683
|
};
|
|
9964
9684
|
|
|
9965
|
-
// /
|
|
9685
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
|
|
9966
9686
|
var asPartial2 = (t3) => t3;
|
|
9967
9687
|
var resolveRuntimeExtensions2 = (runtimeConfig4, extensions5) => {
|
|
9968
9688
|
const extensionConfiguration = {
|
|
@@ -9979,7 +9699,7 @@ var resolveRuntimeExtensions2 = (runtimeConfig4, extensions5) => {
|
|
|
9979
9699
|
};
|
|
9980
9700
|
};
|
|
9981
9701
|
|
|
9982
|
-
// /
|
|
9702
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
|
|
9983
9703
|
class BedrockRuntimeClient extends Client {
|
|
9984
9704
|
constructor(...[configuration]) {
|
|
9985
9705
|
const _config_0 = getRuntimeConfig4(configuration || {});
|
|
@@ -10007,7 +9727,7 @@ class BedrockRuntimeClient extends Client {
|
|
|
10007
9727
|
}
|
|
10008
9728
|
}
|
|
10009
9729
|
|
|
10010
|
-
// /
|
|
9730
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
|
|
10011
9731
|
class BedrockRuntimeServiceException extends ServiceException {
|
|
10012
9732
|
constructor(options) {
|
|
10013
9733
|
super(options);
|
|
@@ -10015,7 +9735,7 @@ class BedrockRuntimeServiceException extends ServiceException {
|
|
|
10015
9735
|
}
|
|
10016
9736
|
}
|
|
10017
9737
|
|
|
10018
|
-
// /
|
|
9738
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
|
|
10019
9739
|
class AccessDeniedException2 extends BedrockRuntimeServiceException {
|
|
10020
9740
|
constructor(opts) {
|
|
10021
9741
|
super({
|
|
@@ -10184,7 +9904,7 @@ var InvokeModelWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
|
|
|
10184
9904
|
...obj.body && { body: "STREAMING_CONTENT" }
|
|
10185
9905
|
});
|
|
10186
9906
|
|
|
10187
|
-
// /
|
|
9907
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/protocols/Aws_restJson1.js
|
|
10188
9908
|
var se_InvokeModelCommand = async (input, context) => {
|
|
10189
9909
|
const b3 = requestBuilder(input, context);
|
|
10190
9910
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -10598,7 +10318,7 @@ var loadRestJsonErrorCode2 = (output, data) => {
|
|
|
10598
10318
|
}
|
|
10599
10319
|
};
|
|
10600
10320
|
|
|
10601
|
-
// /
|
|
10321
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
|
|
10602
10322
|
class InvokeModelCommand extends Command.classBuilder().ep({
|
|
10603
10323
|
...commonParams2
|
|
10604
10324
|
}).m(function(Command2, cs, config7, o3) {
|
|
@@ -10609,7 +10329,7 @@ class InvokeModelCommand extends Command.classBuilder().ep({
|
|
|
10609
10329
|
}).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").f(InvokeModelRequestFilterSensitiveLog, InvokeModelResponseFilterSensitiveLog).ser(se_InvokeModelCommand).de(de_InvokeModelCommand).build() {
|
|
10610
10330
|
}
|
|
10611
10331
|
|
|
10612
|
-
// /
|
|
10332
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
|
|
10613
10333
|
class InvokeModelWithResponseStreamCommand extends Command.classBuilder().ep({
|
|
10614
10334
|
...commonParams2
|
|
10615
10335
|
}).m(function(Command2, cs, config7, o3) {
|