@ampt/ai 2.0.5 → 2.0.7
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/{chunk-JPKYSWKV.js → chunk-WCFFSOP5.js} +77 -72
- package/dist/{dist-es-7I2R4JEH.js → dist-es-OBV65GYS.js} +25 -25
- package/dist/index.cjs +1272 -602
- package/dist/index.d.cts +192 -0
- package/dist/index.d.ts +19 -6
- package/dist/index.js +650 -420
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
toUint8Array,
|
|
64
64
|
toUtf8,
|
|
65
65
|
v4_default
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WCFFSOP5.js";
|
|
67
67
|
|
|
68
68
|
// ../../node_modules/dread/configure.js
|
|
69
69
|
var require_configure = __commonJS({
|
|
@@ -267,6 +267,7 @@ var require_dread = __commonJS({
|
|
|
267
267
|
// ../../node_modules/obliterator/iterator.js
|
|
268
268
|
var require_iterator = __commonJS({
|
|
269
269
|
"../../node_modules/obliterator/iterator.js"(exports, module2) {
|
|
270
|
+
"use strict";
|
|
270
271
|
function Iterator(next) {
|
|
271
272
|
Object.defineProperty(this, "_next", {
|
|
272
273
|
writable: false,
|
|
@@ -312,6 +313,7 @@ var require_iterator = __commonJS({
|
|
|
312
313
|
// ../../node_modules/obliterator/foreach.js
|
|
313
314
|
var require_foreach = __commonJS({
|
|
314
315
|
"../../node_modules/obliterator/foreach.js"(exports, module2) {
|
|
316
|
+
"use strict";
|
|
315
317
|
var ARRAY_BUFFER_SUPPORT = typeof ArrayBuffer !== "undefined";
|
|
316
318
|
var SYMBOL_SUPPORT = typeof Symbol !== "undefined";
|
|
317
319
|
function forEach(iterable, callback) {
|
|
@@ -395,6 +397,7 @@ var require_foreach = __commonJS({
|
|
|
395
397
|
// ../../node_modules/mnemonist/utils/typed-arrays.js
|
|
396
398
|
var require_typed_arrays = __commonJS({
|
|
397
399
|
"../../node_modules/mnemonist/utils/typed-arrays.js"(exports) {
|
|
400
|
+
"use strict";
|
|
398
401
|
var MAX_8BIT_INTEGER = Math.pow(2, 8) - 1;
|
|
399
402
|
var MAX_16BIT_INTEGER = Math.pow(2, 16) - 1;
|
|
400
403
|
var MAX_32BIT_INTEGER = Math.pow(2, 32) - 1;
|
|
@@ -489,6 +492,7 @@ var require_typed_arrays = __commonJS({
|
|
|
489
492
|
// ../../node_modules/mnemonist/utils/iterables.js
|
|
490
493
|
var require_iterables = __commonJS({
|
|
491
494
|
"../../node_modules/mnemonist/utils/iterables.js"(exports) {
|
|
495
|
+
"use strict";
|
|
492
496
|
var forEach = require_foreach();
|
|
493
497
|
var typed = require_typed_arrays();
|
|
494
498
|
function isArrayLike(target) {
|
|
@@ -532,6 +536,7 @@ var require_iterables = __commonJS({
|
|
|
532
536
|
// ../../node_modules/mnemonist/lru-cache.js
|
|
533
537
|
var require_lru_cache = __commonJS({
|
|
534
538
|
"../../node_modules/mnemonist/lru-cache.js"(exports, module2) {
|
|
539
|
+
"use strict";
|
|
535
540
|
var Iterator = require_iterator();
|
|
536
541
|
var forEach = require_foreach();
|
|
537
542
|
var typed = require_typed_arrays();
|
|
@@ -1075,6 +1080,7 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
|
1075
1080
|
var extendStatics, __assign;
|
|
1076
1081
|
var init_tslib_es6 = __esm({
|
|
1077
1082
|
"../../node_modules/@aws-crypto/crc32/node_modules/tslib/tslib.es6.js"() {
|
|
1083
|
+
"use strict";
|
|
1078
1084
|
extendStatics = function(d14, b14) {
|
|
1079
1085
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d15, b15) {
|
|
1080
1086
|
d15.__proto__ = b15;
|
|
@@ -1104,6 +1110,7 @@ var init_tslib_es6 = __esm({
|
|
|
1104
1110
|
var fromUtf82, toUtf82;
|
|
1105
1111
|
var init_pureJs = __esm({
|
|
1106
1112
|
"../../node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js"() {
|
|
1113
|
+
"use strict";
|
|
1107
1114
|
fromUtf82 = (input) => {
|
|
1108
1115
|
const bytes = [];
|
|
1109
1116
|
for (let i14 = 0, len = input.length; i14 < len; i14++) {
|
|
@@ -1152,6 +1159,7 @@ function toUtf83(input) {
|
|
|
1152
1159
|
}
|
|
1153
1160
|
var init_whatwgEncodingApi = __esm({
|
|
1154
1161
|
"../../node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js"() {
|
|
1162
|
+
"use strict";
|
|
1155
1163
|
}
|
|
1156
1164
|
});
|
|
1157
1165
|
|
|
@@ -1164,6 +1172,7 @@ __export(dist_es_exports, {
|
|
|
1164
1172
|
var fromUtf84, toUtf84;
|
|
1165
1173
|
var init_dist_es = __esm({
|
|
1166
1174
|
"../../node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js"() {
|
|
1175
|
+
"use strict";
|
|
1167
1176
|
init_pureJs();
|
|
1168
1177
|
init_whatwgEncodingApi();
|
|
1169
1178
|
fromUtf84 = (input) => typeof TextEncoder === "function" ? fromUtf83(input) : fromUtf82(input);
|
|
@@ -1999,6 +2008,7 @@ var require_validator = __commonJS({
|
|
|
1999
2008
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
|
|
2000
2009
|
var require_OptionsBuilder = __commonJS({
|
|
2001
2010
|
"../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) {
|
|
2011
|
+
"use strict";
|
|
2002
2012
|
var defaultOptions = {
|
|
2003
2013
|
preserveOrder: false,
|
|
2004
2014
|
attributeNamePrefix: "@_",
|
|
@@ -2083,6 +2093,7 @@ var require_xmlNode = __commonJS({
|
|
|
2083
2093
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
|
|
2084
2094
|
var require_DocTypeReader = __commonJS({
|
|
2085
2095
|
"../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) {
|
|
2096
|
+
"use strict";
|
|
2086
2097
|
var util = require_util();
|
|
2087
2098
|
function readDocType(xmlData, i14) {
|
|
2088
2099
|
const entities = {};
|
|
@@ -2778,6 +2789,7 @@ var require_node2json = __commonJS({
|
|
|
2778
2789
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
|
|
2779
2790
|
var require_XMLParser = __commonJS({
|
|
2780
2791
|
"../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) {
|
|
2792
|
+
"use strict";
|
|
2781
2793
|
var { buildOptions } = require_OptionsBuilder();
|
|
2782
2794
|
var OrderedObjParser = require_OrderedObjParser();
|
|
2783
2795
|
var { prettify } = require_node2json();
|
|
@@ -2839,6 +2851,7 @@ var require_XMLParser = __commonJS({
|
|
|
2839
2851
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
|
|
2840
2852
|
var require_orderedJs2Xml = __commonJS({
|
|
2841
2853
|
"../../node_modules/@aws-sdk/client-dynamodb/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) {
|
|
2854
|
+
"use strict";
|
|
2842
2855
|
var EOL = "\n";
|
|
2843
2856
|
function toXml(jArray, options) {
|
|
2844
2857
|
let indentation = "";
|
|
@@ -3479,6 +3492,7 @@ var require_cjs = __commonJS({
|
|
|
3479
3492
|
// ../../node_modules/dayjs/dayjs.min.js
|
|
3480
3493
|
var require_dayjs_min = __commonJS({
|
|
3481
3494
|
"../../node_modules/dayjs/dayjs.min.js"(exports, module2) {
|
|
3495
|
+
"use strict";
|
|
3482
3496
|
!function(t12, e14) {
|
|
3483
3497
|
"object" == typeof exports && "undefined" != typeof module2 ? module2.exports = e14() : "function" == typeof define && define.amd ? define(e14) : (t12 = "undefined" != typeof globalThis ? globalThis : t12 || self).dayjs = e14();
|
|
3484
3498
|
}(exports, function() {
|
|
@@ -3773,6 +3787,7 @@ var require_dayjs_min = __commonJS({
|
|
|
3773
3787
|
// ../../node_modules/dayjs/plugin/utc.js
|
|
3774
3788
|
var require_utc = __commonJS({
|
|
3775
3789
|
"../../node_modules/dayjs/plugin/utc.js"(exports, module2) {
|
|
3790
|
+
"use strict";
|
|
3776
3791
|
!function(t12, i14) {
|
|
3777
3792
|
"object" == typeof exports && "undefined" != typeof module2 ? module2.exports = i14() : "function" == typeof define && define.amd ? define(i14) : (t12 = "undefined" != typeof globalThis ? globalThis : t12 || self).dayjs_plugin_utc = i14();
|
|
3778
3793
|
}(exports, function() {
|
|
@@ -4229,6 +4244,7 @@ var require_validator2 = __commonJS({
|
|
|
4229
4244
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
|
|
4230
4245
|
var require_OptionsBuilder2 = __commonJS({
|
|
4231
4246
|
"../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) {
|
|
4247
|
+
"use strict";
|
|
4232
4248
|
var defaultOptions = {
|
|
4233
4249
|
preserveOrder: false,
|
|
4234
4250
|
attributeNamePrefix: "@_",
|
|
@@ -4313,6 +4329,7 @@ var require_xmlNode2 = __commonJS({
|
|
|
4313
4329
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
|
|
4314
4330
|
var require_DocTypeReader2 = __commonJS({
|
|
4315
4331
|
"../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) {
|
|
4332
|
+
"use strict";
|
|
4316
4333
|
var util = require_util2();
|
|
4317
4334
|
function readDocType(xmlData, i14) {
|
|
4318
4335
|
const entities = {};
|
|
@@ -5008,6 +5025,7 @@ var require_node2json2 = __commonJS({
|
|
|
5008
5025
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
|
|
5009
5026
|
var require_XMLParser2 = __commonJS({
|
|
5010
5027
|
"../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) {
|
|
5028
|
+
"use strict";
|
|
5011
5029
|
var { buildOptions } = require_OptionsBuilder2();
|
|
5012
5030
|
var OrderedObjParser = require_OrderedObjParser2();
|
|
5013
5031
|
var { prettify } = require_node2json2();
|
|
@@ -5069,6 +5087,7 @@ var require_XMLParser2 = __commonJS({
|
|
|
5069
5087
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
|
|
5070
5088
|
var require_orderedJs2Xml2 = __commonJS({
|
|
5071
5089
|
"../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) {
|
|
5090
|
+
"use strict";
|
|
5072
5091
|
var EOL = "\n";
|
|
5073
5092
|
function toXml(jArray, options) {
|
|
5074
5093
|
let indentation = "";
|
|
@@ -5811,6 +5830,7 @@ var require_validator3 = __commonJS({
|
|
|
5811
5830
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
|
|
5812
5831
|
var require_OptionsBuilder3 = __commonJS({
|
|
5813
5832
|
"../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) {
|
|
5833
|
+
"use strict";
|
|
5814
5834
|
var defaultOptions = {
|
|
5815
5835
|
preserveOrder: false,
|
|
5816
5836
|
attributeNamePrefix: "@_",
|
|
@@ -5895,6 +5915,7 @@ var require_xmlNode3 = __commonJS({
|
|
|
5895
5915
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
|
|
5896
5916
|
var require_DocTypeReader3 = __commonJS({
|
|
5897
5917
|
"../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) {
|
|
5918
|
+
"use strict";
|
|
5898
5919
|
var util = require_util3();
|
|
5899
5920
|
function readDocType(xmlData, i14) {
|
|
5900
5921
|
const entities = {};
|
|
@@ -6590,6 +6611,7 @@ var require_node2json3 = __commonJS({
|
|
|
6590
6611
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
|
|
6591
6612
|
var require_XMLParser3 = __commonJS({
|
|
6592
6613
|
"../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) {
|
|
6614
|
+
"use strict";
|
|
6593
6615
|
var { buildOptions } = require_OptionsBuilder3();
|
|
6594
6616
|
var OrderedObjParser = require_OrderedObjParser3();
|
|
6595
6617
|
var { prettify } = require_node2json3();
|
|
@@ -6651,6 +6673,7 @@ var require_XMLParser3 = __commonJS({
|
|
|
6651
6673
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
|
|
6652
6674
|
var require_orderedJs2Xml3 = __commonJS({
|
|
6653
6675
|
"../../node_modules/@aws-sdk/client-translate/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) {
|
|
6676
|
+
"use strict";
|
|
6654
6677
|
var EOL = "\n";
|
|
6655
6678
|
function toXml(jArray, options) {
|
|
6656
6679
|
let indentation = "";
|
|
@@ -7023,6 +7046,14 @@ var require_fxp4 = __commonJS({
|
|
|
7023
7046
|
function getStore() {
|
|
7024
7047
|
return globalThis.RuntimeStore?.getStore();
|
|
7025
7048
|
}
|
|
7049
|
+
function getInvocationId() {
|
|
7050
|
+
const store = getStore();
|
|
7051
|
+
return store?.event?.executionId || store?.context?.awsRequestId;
|
|
7052
|
+
}
|
|
7053
|
+
function getInvocationType() {
|
|
7054
|
+
const store = getStore();
|
|
7055
|
+
return store?.invocationType;
|
|
7056
|
+
}
|
|
7026
7057
|
|
|
7027
7058
|
// ../../lib/telemetry/index.ts
|
|
7028
7059
|
function getAgent() {
|
|
@@ -7039,6 +7070,13 @@ var count = (usage, value, embeddedNamespace) => {
|
|
|
7039
7070
|
}
|
|
7040
7071
|
agent2.count(usage, value, embeddedNamespace);
|
|
7041
7072
|
};
|
|
7073
|
+
function set(name, value) {
|
|
7074
|
+
const agent2 = getAgent();
|
|
7075
|
+
if (!agent2 || !agent2._metadata) {
|
|
7076
|
+
return;
|
|
7077
|
+
}
|
|
7078
|
+
agent2._metadata[name] = value;
|
|
7079
|
+
}
|
|
7042
7080
|
var telemetry_default = {
|
|
7043
7081
|
withCounter(usage, embeddedNamespace) {
|
|
7044
7082
|
return (fn) => {
|
|
@@ -7048,7 +7086,8 @@ var telemetry_default = {
|
|
|
7048
7086
|
};
|
|
7049
7087
|
};
|
|
7050
7088
|
},
|
|
7051
|
-
count
|
|
7089
|
+
count,
|
|
7090
|
+
set
|
|
7052
7091
|
};
|
|
7053
7092
|
|
|
7054
7093
|
// ../../lib/errors/index.ts
|
|
@@ -7426,12 +7465,16 @@ function guessServiceRegion(url, headers) {
|
|
|
7426
7465
|
function systemError(errOrMsg, _msg) {
|
|
7427
7466
|
const err = typeof errOrMsg === "string" ? void 0 : errOrMsg;
|
|
7428
7467
|
const msg = typeof errOrMsg === "string" ? errOrMsg : _msg;
|
|
7468
|
+
const reqId = getInvocationId();
|
|
7469
|
+
const type = getInvocationType() || "system";
|
|
7429
7470
|
process.stdout.write(
|
|
7430
7471
|
JSON.stringify({
|
|
7431
7472
|
_slsLog: true,
|
|
7432
7473
|
time: Date.now(),
|
|
7433
7474
|
level: 50,
|
|
7434
7475
|
msg,
|
|
7476
|
+
reqId,
|
|
7477
|
+
type,
|
|
7435
7478
|
...err && { err: { message: err.message, stack: err.stack, code: err.code, name: err.name } }
|
|
7436
7479
|
}) + "\n"
|
|
7437
7480
|
);
|
|
@@ -7442,7 +7485,7 @@ import { setTimeout as setTimeout2 } from "node:timers/promises";
|
|
|
7442
7485
|
var defaultProvider2;
|
|
7443
7486
|
async function loadDefaultProvider() {
|
|
7444
7487
|
if (!defaultProvider2) {
|
|
7445
|
-
const { fromNodeProviderChain } = await import("./dist-es-
|
|
7488
|
+
const { fromNodeProviderChain } = await import("./dist-es-OBV65GYS.js");
|
|
7446
7489
|
defaultProvider2 = fromNodeProviderChain();
|
|
7447
7490
|
}
|
|
7448
7491
|
return defaultProvider2;
|
|
@@ -7528,15 +7571,15 @@ async function invoke(functionName, invocationType, body) {
|
|
|
7528
7571
|
}
|
|
7529
7572
|
|
|
7530
7573
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/models/SQSServiceException.js
|
|
7531
|
-
var SQSServiceException = class extends ServiceException {
|
|
7574
|
+
var SQSServiceException = class _SQSServiceException extends ServiceException {
|
|
7532
7575
|
constructor(options) {
|
|
7533
7576
|
super(options);
|
|
7534
|
-
Object.setPrototypeOf(this,
|
|
7577
|
+
Object.setPrototypeOf(this, _SQSServiceException.prototype);
|
|
7535
7578
|
}
|
|
7536
7579
|
};
|
|
7537
7580
|
|
|
7538
7581
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/models/models_0.js
|
|
7539
|
-
var OverLimit = class extends SQSServiceException {
|
|
7582
|
+
var OverLimit = class _OverLimit extends SQSServiceException {
|
|
7540
7583
|
constructor(opts) {
|
|
7541
7584
|
super({
|
|
7542
7585
|
name: "OverLimit",
|
|
@@ -7545,10 +7588,10 @@ var OverLimit = class extends SQSServiceException {
|
|
|
7545
7588
|
});
|
|
7546
7589
|
this.name = "OverLimit";
|
|
7547
7590
|
this.$fault = "client";
|
|
7548
|
-
Object.setPrototypeOf(this,
|
|
7591
|
+
Object.setPrototypeOf(this, _OverLimit.prototype);
|
|
7549
7592
|
}
|
|
7550
7593
|
};
|
|
7551
|
-
var MessageNotInflight = class extends SQSServiceException {
|
|
7594
|
+
var MessageNotInflight = class _MessageNotInflight extends SQSServiceException {
|
|
7552
7595
|
constructor(opts) {
|
|
7553
7596
|
super({
|
|
7554
7597
|
name: "MessageNotInflight",
|
|
@@ -7557,10 +7600,10 @@ var MessageNotInflight = class extends SQSServiceException {
|
|
|
7557
7600
|
});
|
|
7558
7601
|
this.name = "MessageNotInflight";
|
|
7559
7602
|
this.$fault = "client";
|
|
7560
|
-
Object.setPrototypeOf(this,
|
|
7603
|
+
Object.setPrototypeOf(this, _MessageNotInflight.prototype);
|
|
7561
7604
|
}
|
|
7562
7605
|
};
|
|
7563
|
-
var ReceiptHandleIsInvalid = class extends SQSServiceException {
|
|
7606
|
+
var ReceiptHandleIsInvalid = class _ReceiptHandleIsInvalid extends SQSServiceException {
|
|
7564
7607
|
constructor(opts) {
|
|
7565
7608
|
super({
|
|
7566
7609
|
name: "ReceiptHandleIsInvalid",
|
|
@@ -7569,10 +7612,10 @@ var ReceiptHandleIsInvalid = class extends SQSServiceException {
|
|
|
7569
7612
|
});
|
|
7570
7613
|
this.name = "ReceiptHandleIsInvalid";
|
|
7571
7614
|
this.$fault = "client";
|
|
7572
|
-
Object.setPrototypeOf(this,
|
|
7615
|
+
Object.setPrototypeOf(this, _ReceiptHandleIsInvalid.prototype);
|
|
7573
7616
|
}
|
|
7574
7617
|
};
|
|
7575
|
-
var BatchEntryIdsNotDistinct = class extends SQSServiceException {
|
|
7618
|
+
var BatchEntryIdsNotDistinct = class _BatchEntryIdsNotDistinct extends SQSServiceException {
|
|
7576
7619
|
constructor(opts) {
|
|
7577
7620
|
super({
|
|
7578
7621
|
name: "BatchEntryIdsNotDistinct",
|
|
@@ -7581,10 +7624,10 @@ var BatchEntryIdsNotDistinct = class extends SQSServiceException {
|
|
|
7581
7624
|
});
|
|
7582
7625
|
this.name = "BatchEntryIdsNotDistinct";
|
|
7583
7626
|
this.$fault = "client";
|
|
7584
|
-
Object.setPrototypeOf(this,
|
|
7627
|
+
Object.setPrototypeOf(this, _BatchEntryIdsNotDistinct.prototype);
|
|
7585
7628
|
}
|
|
7586
7629
|
};
|
|
7587
|
-
var EmptyBatchRequest = class extends SQSServiceException {
|
|
7630
|
+
var EmptyBatchRequest = class _EmptyBatchRequest extends SQSServiceException {
|
|
7588
7631
|
constructor(opts) {
|
|
7589
7632
|
super({
|
|
7590
7633
|
name: "EmptyBatchRequest",
|
|
@@ -7593,10 +7636,10 @@ var EmptyBatchRequest = class extends SQSServiceException {
|
|
|
7593
7636
|
});
|
|
7594
7637
|
this.name = "EmptyBatchRequest";
|
|
7595
7638
|
this.$fault = "client";
|
|
7596
|
-
Object.setPrototypeOf(this,
|
|
7639
|
+
Object.setPrototypeOf(this, _EmptyBatchRequest.prototype);
|
|
7597
7640
|
}
|
|
7598
7641
|
};
|
|
7599
|
-
var InvalidBatchEntryId = class extends SQSServiceException {
|
|
7642
|
+
var InvalidBatchEntryId = class _InvalidBatchEntryId extends SQSServiceException {
|
|
7600
7643
|
constructor(opts) {
|
|
7601
7644
|
super({
|
|
7602
7645
|
name: "InvalidBatchEntryId",
|
|
@@ -7605,10 +7648,10 @@ var InvalidBatchEntryId = class extends SQSServiceException {
|
|
|
7605
7648
|
});
|
|
7606
7649
|
this.name = "InvalidBatchEntryId";
|
|
7607
7650
|
this.$fault = "client";
|
|
7608
|
-
Object.setPrototypeOf(this,
|
|
7651
|
+
Object.setPrototypeOf(this, _InvalidBatchEntryId.prototype);
|
|
7609
7652
|
}
|
|
7610
7653
|
};
|
|
7611
|
-
var TooManyEntriesInBatchRequest = class extends SQSServiceException {
|
|
7654
|
+
var TooManyEntriesInBatchRequest = class _TooManyEntriesInBatchRequest extends SQSServiceException {
|
|
7612
7655
|
constructor(opts) {
|
|
7613
7656
|
super({
|
|
7614
7657
|
name: "TooManyEntriesInBatchRequest",
|
|
@@ -7617,10 +7660,10 @@ var TooManyEntriesInBatchRequest = class extends SQSServiceException {
|
|
|
7617
7660
|
});
|
|
7618
7661
|
this.name = "TooManyEntriesInBatchRequest";
|
|
7619
7662
|
this.$fault = "client";
|
|
7620
|
-
Object.setPrototypeOf(this,
|
|
7663
|
+
Object.setPrototypeOf(this, _TooManyEntriesInBatchRequest.prototype);
|
|
7621
7664
|
}
|
|
7622
7665
|
};
|
|
7623
|
-
var QueueDeletedRecently = class extends SQSServiceException {
|
|
7666
|
+
var QueueDeletedRecently = class _QueueDeletedRecently extends SQSServiceException {
|
|
7624
7667
|
constructor(opts) {
|
|
7625
7668
|
super({
|
|
7626
7669
|
name: "QueueDeletedRecently",
|
|
@@ -7629,10 +7672,10 @@ var QueueDeletedRecently = class extends SQSServiceException {
|
|
|
7629
7672
|
});
|
|
7630
7673
|
this.name = "QueueDeletedRecently";
|
|
7631
7674
|
this.$fault = "client";
|
|
7632
|
-
Object.setPrototypeOf(this,
|
|
7675
|
+
Object.setPrototypeOf(this, _QueueDeletedRecently.prototype);
|
|
7633
7676
|
}
|
|
7634
7677
|
};
|
|
7635
|
-
var QueueNameExists = class extends SQSServiceException {
|
|
7678
|
+
var QueueNameExists = class _QueueNameExists extends SQSServiceException {
|
|
7636
7679
|
constructor(opts) {
|
|
7637
7680
|
super({
|
|
7638
7681
|
name: "QueueNameExists",
|
|
@@ -7641,10 +7684,10 @@ var QueueNameExists = class extends SQSServiceException {
|
|
|
7641
7684
|
});
|
|
7642
7685
|
this.name = "QueueNameExists";
|
|
7643
7686
|
this.$fault = "client";
|
|
7644
|
-
Object.setPrototypeOf(this,
|
|
7687
|
+
Object.setPrototypeOf(this, _QueueNameExists.prototype);
|
|
7645
7688
|
}
|
|
7646
7689
|
};
|
|
7647
|
-
var InvalidIdFormat = class extends SQSServiceException {
|
|
7690
|
+
var InvalidIdFormat = class _InvalidIdFormat extends SQSServiceException {
|
|
7648
7691
|
constructor(opts) {
|
|
7649
7692
|
super({
|
|
7650
7693
|
name: "InvalidIdFormat",
|
|
@@ -7653,10 +7696,10 @@ var InvalidIdFormat = class extends SQSServiceException {
|
|
|
7653
7696
|
});
|
|
7654
7697
|
this.name = "InvalidIdFormat";
|
|
7655
7698
|
this.$fault = "client";
|
|
7656
|
-
Object.setPrototypeOf(this,
|
|
7699
|
+
Object.setPrototypeOf(this, _InvalidIdFormat.prototype);
|
|
7657
7700
|
}
|
|
7658
7701
|
};
|
|
7659
|
-
var InvalidAttributeName = class extends SQSServiceException {
|
|
7702
|
+
var InvalidAttributeName = class _InvalidAttributeName extends SQSServiceException {
|
|
7660
7703
|
constructor(opts) {
|
|
7661
7704
|
super({
|
|
7662
7705
|
name: "InvalidAttributeName",
|
|
@@ -7665,10 +7708,10 @@ var InvalidAttributeName = class extends SQSServiceException {
|
|
|
7665
7708
|
});
|
|
7666
7709
|
this.name = "InvalidAttributeName";
|
|
7667
7710
|
this.$fault = "client";
|
|
7668
|
-
Object.setPrototypeOf(this,
|
|
7711
|
+
Object.setPrototypeOf(this, _InvalidAttributeName.prototype);
|
|
7669
7712
|
}
|
|
7670
7713
|
};
|
|
7671
|
-
var QueueDoesNotExist = class extends SQSServiceException {
|
|
7714
|
+
var QueueDoesNotExist = class _QueueDoesNotExist extends SQSServiceException {
|
|
7672
7715
|
constructor(opts) {
|
|
7673
7716
|
super({
|
|
7674
7717
|
name: "QueueDoesNotExist",
|
|
@@ -7677,10 +7720,10 @@ var QueueDoesNotExist = class extends SQSServiceException {
|
|
|
7677
7720
|
});
|
|
7678
7721
|
this.name = "QueueDoesNotExist";
|
|
7679
7722
|
this.$fault = "client";
|
|
7680
|
-
Object.setPrototypeOf(this,
|
|
7723
|
+
Object.setPrototypeOf(this, _QueueDoesNotExist.prototype);
|
|
7681
7724
|
}
|
|
7682
7725
|
};
|
|
7683
|
-
var PurgeQueueInProgress = class extends SQSServiceException {
|
|
7726
|
+
var PurgeQueueInProgress = class _PurgeQueueInProgress extends SQSServiceException {
|
|
7684
7727
|
constructor(opts) {
|
|
7685
7728
|
super({
|
|
7686
7729
|
name: "PurgeQueueInProgress",
|
|
@@ -7689,10 +7732,10 @@ var PurgeQueueInProgress = class extends SQSServiceException {
|
|
|
7689
7732
|
});
|
|
7690
7733
|
this.name = "PurgeQueueInProgress";
|
|
7691
7734
|
this.$fault = "client";
|
|
7692
|
-
Object.setPrototypeOf(this,
|
|
7735
|
+
Object.setPrototypeOf(this, _PurgeQueueInProgress.prototype);
|
|
7693
7736
|
}
|
|
7694
7737
|
};
|
|
7695
|
-
var InvalidMessageContents = class extends SQSServiceException {
|
|
7738
|
+
var InvalidMessageContents = class _InvalidMessageContents extends SQSServiceException {
|
|
7696
7739
|
constructor(opts) {
|
|
7697
7740
|
super({
|
|
7698
7741
|
name: "InvalidMessageContents",
|
|
@@ -7701,10 +7744,10 @@ var InvalidMessageContents = class extends SQSServiceException {
|
|
|
7701
7744
|
});
|
|
7702
7745
|
this.name = "InvalidMessageContents";
|
|
7703
7746
|
this.$fault = "client";
|
|
7704
|
-
Object.setPrototypeOf(this,
|
|
7747
|
+
Object.setPrototypeOf(this, _InvalidMessageContents.prototype);
|
|
7705
7748
|
}
|
|
7706
7749
|
};
|
|
7707
|
-
var UnsupportedOperation = class extends SQSServiceException {
|
|
7750
|
+
var UnsupportedOperation = class _UnsupportedOperation extends SQSServiceException {
|
|
7708
7751
|
constructor(opts) {
|
|
7709
7752
|
super({
|
|
7710
7753
|
name: "UnsupportedOperation",
|
|
@@ -7713,10 +7756,10 @@ var UnsupportedOperation = class extends SQSServiceException {
|
|
|
7713
7756
|
});
|
|
7714
7757
|
this.name = "UnsupportedOperation";
|
|
7715
7758
|
this.$fault = "client";
|
|
7716
|
-
Object.setPrototypeOf(this,
|
|
7759
|
+
Object.setPrototypeOf(this, _UnsupportedOperation.prototype);
|
|
7717
7760
|
}
|
|
7718
7761
|
};
|
|
7719
|
-
var BatchRequestTooLong = class extends SQSServiceException {
|
|
7762
|
+
var BatchRequestTooLong = class _BatchRequestTooLong extends SQSServiceException {
|
|
7720
7763
|
constructor(opts) {
|
|
7721
7764
|
super({
|
|
7722
7765
|
name: "BatchRequestTooLong",
|
|
@@ -7725,7 +7768,7 @@ var BatchRequestTooLong = class extends SQSServiceException {
|
|
|
7725
7768
|
});
|
|
7726
7769
|
this.name = "BatchRequestTooLong";
|
|
7727
7770
|
this.$fault = "client";
|
|
7728
|
-
Object.setPrototypeOf(this,
|
|
7771
|
+
Object.setPrototypeOf(this, _BatchRequestTooLong.prototype);
|
|
7729
7772
|
}
|
|
7730
7773
|
};
|
|
7731
7774
|
var AddPermissionRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -9981,7 +10024,7 @@ var loadQueryErrorCode = (output, data) => {
|
|
|
9981
10024
|
};
|
|
9982
10025
|
|
|
9983
10026
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/AddPermissionCommand.js
|
|
9984
|
-
var AddPermissionCommand = class extends Command {
|
|
10027
|
+
var AddPermissionCommand = class _AddPermissionCommand extends Command {
|
|
9985
10028
|
constructor(input) {
|
|
9986
10029
|
super();
|
|
9987
10030
|
this.input = input;
|
|
@@ -9996,7 +10039,7 @@ var AddPermissionCommand = class extends Command {
|
|
|
9996
10039
|
}
|
|
9997
10040
|
resolveMiddleware(clientStack, configuration, options) {
|
|
9998
10041
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
9999
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10042
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _AddPermissionCommand.getEndpointParameterInstructions()));
|
|
10000
10043
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10001
10044
|
const { logger: logger4 } = configuration;
|
|
10002
10045
|
const clientName = "SQSClient";
|
|
@@ -10020,7 +10063,7 @@ var AddPermissionCommand = class extends Command {
|
|
|
10020
10063
|
};
|
|
10021
10064
|
|
|
10022
10065
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ChangeMessageVisibilityBatchCommand.js
|
|
10023
|
-
var ChangeMessageVisibilityBatchCommand = class extends Command {
|
|
10066
|
+
var ChangeMessageVisibilityBatchCommand = class _ChangeMessageVisibilityBatchCommand extends Command {
|
|
10024
10067
|
constructor(input) {
|
|
10025
10068
|
super();
|
|
10026
10069
|
this.input = input;
|
|
@@ -10035,7 +10078,7 @@ var ChangeMessageVisibilityBatchCommand = class extends Command {
|
|
|
10035
10078
|
}
|
|
10036
10079
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10037
10080
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10038
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10081
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ChangeMessageVisibilityBatchCommand.getEndpointParameterInstructions()));
|
|
10039
10082
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10040
10083
|
const { logger: logger4 } = configuration;
|
|
10041
10084
|
const clientName = "SQSClient";
|
|
@@ -10059,7 +10102,7 @@ var ChangeMessageVisibilityBatchCommand = class extends Command {
|
|
|
10059
10102
|
};
|
|
10060
10103
|
|
|
10061
10104
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ChangeMessageVisibilityCommand.js
|
|
10062
|
-
var ChangeMessageVisibilityCommand = class extends Command {
|
|
10105
|
+
var ChangeMessageVisibilityCommand = class _ChangeMessageVisibilityCommand extends Command {
|
|
10063
10106
|
constructor(input) {
|
|
10064
10107
|
super();
|
|
10065
10108
|
this.input = input;
|
|
@@ -10074,7 +10117,7 @@ var ChangeMessageVisibilityCommand = class extends Command {
|
|
|
10074
10117
|
}
|
|
10075
10118
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10076
10119
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10077
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10120
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ChangeMessageVisibilityCommand.getEndpointParameterInstructions()));
|
|
10078
10121
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10079
10122
|
const { logger: logger4 } = configuration;
|
|
10080
10123
|
const clientName = "SQSClient";
|
|
@@ -10098,7 +10141,7 @@ var ChangeMessageVisibilityCommand = class extends Command {
|
|
|
10098
10141
|
};
|
|
10099
10142
|
|
|
10100
10143
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/CreateQueueCommand.js
|
|
10101
|
-
var CreateQueueCommand = class extends Command {
|
|
10144
|
+
var CreateQueueCommand = class _CreateQueueCommand extends Command {
|
|
10102
10145
|
constructor(input) {
|
|
10103
10146
|
super();
|
|
10104
10147
|
this.input = input;
|
|
@@ -10113,7 +10156,7 @@ var CreateQueueCommand = class extends Command {
|
|
|
10113
10156
|
}
|
|
10114
10157
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10115
10158
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10116
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10159
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _CreateQueueCommand.getEndpointParameterInstructions()));
|
|
10117
10160
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10118
10161
|
const { logger: logger4 } = configuration;
|
|
10119
10162
|
const clientName = "SQSClient";
|
|
@@ -10137,7 +10180,7 @@ var CreateQueueCommand = class extends Command {
|
|
|
10137
10180
|
};
|
|
10138
10181
|
|
|
10139
10182
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/DeleteMessageBatchCommand.js
|
|
10140
|
-
var DeleteMessageBatchCommand = class extends Command {
|
|
10183
|
+
var DeleteMessageBatchCommand = class _DeleteMessageBatchCommand extends Command {
|
|
10141
10184
|
constructor(input) {
|
|
10142
10185
|
super();
|
|
10143
10186
|
this.input = input;
|
|
@@ -10152,7 +10195,7 @@ var DeleteMessageBatchCommand = class extends Command {
|
|
|
10152
10195
|
}
|
|
10153
10196
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10154
10197
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10155
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10198
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _DeleteMessageBatchCommand.getEndpointParameterInstructions()));
|
|
10156
10199
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10157
10200
|
const { logger: logger4 } = configuration;
|
|
10158
10201
|
const clientName = "SQSClient";
|
|
@@ -10176,7 +10219,7 @@ var DeleteMessageBatchCommand = class extends Command {
|
|
|
10176
10219
|
};
|
|
10177
10220
|
|
|
10178
10221
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/DeleteMessageCommand.js
|
|
10179
|
-
var DeleteMessageCommand = class extends Command {
|
|
10222
|
+
var DeleteMessageCommand = class _DeleteMessageCommand extends Command {
|
|
10180
10223
|
constructor(input) {
|
|
10181
10224
|
super();
|
|
10182
10225
|
this.input = input;
|
|
@@ -10191,7 +10234,7 @@ var DeleteMessageCommand = class extends Command {
|
|
|
10191
10234
|
}
|
|
10192
10235
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10193
10236
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10194
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10237
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _DeleteMessageCommand.getEndpointParameterInstructions()));
|
|
10195
10238
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10196
10239
|
const { logger: logger4 } = configuration;
|
|
10197
10240
|
const clientName = "SQSClient";
|
|
@@ -10215,7 +10258,7 @@ var DeleteMessageCommand = class extends Command {
|
|
|
10215
10258
|
};
|
|
10216
10259
|
|
|
10217
10260
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/DeleteQueueCommand.js
|
|
10218
|
-
var DeleteQueueCommand = class extends Command {
|
|
10261
|
+
var DeleteQueueCommand = class _DeleteQueueCommand extends Command {
|
|
10219
10262
|
constructor(input) {
|
|
10220
10263
|
super();
|
|
10221
10264
|
this.input = input;
|
|
@@ -10230,7 +10273,7 @@ var DeleteQueueCommand = class extends Command {
|
|
|
10230
10273
|
}
|
|
10231
10274
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10232
10275
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10233
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10276
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _DeleteQueueCommand.getEndpointParameterInstructions()));
|
|
10234
10277
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10235
10278
|
const { logger: logger4 } = configuration;
|
|
10236
10279
|
const clientName = "SQSClient";
|
|
@@ -10254,7 +10297,7 @@ var DeleteQueueCommand = class extends Command {
|
|
|
10254
10297
|
};
|
|
10255
10298
|
|
|
10256
10299
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/GetQueueAttributesCommand.js
|
|
10257
|
-
var GetQueueAttributesCommand = class extends Command {
|
|
10300
|
+
var GetQueueAttributesCommand = class _GetQueueAttributesCommand extends Command {
|
|
10258
10301
|
constructor(input) {
|
|
10259
10302
|
super();
|
|
10260
10303
|
this.input = input;
|
|
@@ -10269,7 +10312,7 @@ var GetQueueAttributesCommand = class extends Command {
|
|
|
10269
10312
|
}
|
|
10270
10313
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10271
10314
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10272
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10315
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _GetQueueAttributesCommand.getEndpointParameterInstructions()));
|
|
10273
10316
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10274
10317
|
const { logger: logger4 } = configuration;
|
|
10275
10318
|
const clientName = "SQSClient";
|
|
@@ -10293,7 +10336,7 @@ var GetQueueAttributesCommand = class extends Command {
|
|
|
10293
10336
|
};
|
|
10294
10337
|
|
|
10295
10338
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/GetQueueUrlCommand.js
|
|
10296
|
-
var GetQueueUrlCommand = class extends Command {
|
|
10339
|
+
var GetQueueUrlCommand = class _GetQueueUrlCommand extends Command {
|
|
10297
10340
|
constructor(input) {
|
|
10298
10341
|
super();
|
|
10299
10342
|
this.input = input;
|
|
@@ -10308,7 +10351,7 @@ var GetQueueUrlCommand = class extends Command {
|
|
|
10308
10351
|
}
|
|
10309
10352
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10310
10353
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10311
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10354
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _GetQueueUrlCommand.getEndpointParameterInstructions()));
|
|
10312
10355
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10313
10356
|
const { logger: logger4 } = configuration;
|
|
10314
10357
|
const clientName = "SQSClient";
|
|
@@ -10332,7 +10375,7 @@ var GetQueueUrlCommand = class extends Command {
|
|
|
10332
10375
|
};
|
|
10333
10376
|
|
|
10334
10377
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ListDeadLetterSourceQueuesCommand.js
|
|
10335
|
-
var ListDeadLetterSourceQueuesCommand = class extends Command {
|
|
10378
|
+
var ListDeadLetterSourceQueuesCommand = class _ListDeadLetterSourceQueuesCommand extends Command {
|
|
10336
10379
|
constructor(input) {
|
|
10337
10380
|
super();
|
|
10338
10381
|
this.input = input;
|
|
@@ -10347,7 +10390,7 @@ var ListDeadLetterSourceQueuesCommand = class extends Command {
|
|
|
10347
10390
|
}
|
|
10348
10391
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10349
10392
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10350
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10393
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ListDeadLetterSourceQueuesCommand.getEndpointParameterInstructions()));
|
|
10351
10394
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10352
10395
|
const { logger: logger4 } = configuration;
|
|
10353
10396
|
const clientName = "SQSClient";
|
|
@@ -10371,7 +10414,7 @@ var ListDeadLetterSourceQueuesCommand = class extends Command {
|
|
|
10371
10414
|
};
|
|
10372
10415
|
|
|
10373
10416
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ListQueuesCommand.js
|
|
10374
|
-
var ListQueuesCommand = class extends Command {
|
|
10417
|
+
var ListQueuesCommand = class _ListQueuesCommand extends Command {
|
|
10375
10418
|
constructor(input) {
|
|
10376
10419
|
super();
|
|
10377
10420
|
this.input = input;
|
|
@@ -10386,7 +10429,7 @@ var ListQueuesCommand = class extends Command {
|
|
|
10386
10429
|
}
|
|
10387
10430
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10388
10431
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10389
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10432
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ListQueuesCommand.getEndpointParameterInstructions()));
|
|
10390
10433
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10391
10434
|
const { logger: logger4 } = configuration;
|
|
10392
10435
|
const clientName = "SQSClient";
|
|
@@ -10410,7 +10453,7 @@ var ListQueuesCommand = class extends Command {
|
|
|
10410
10453
|
};
|
|
10411
10454
|
|
|
10412
10455
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ListQueueTagsCommand.js
|
|
10413
|
-
var ListQueueTagsCommand = class extends Command {
|
|
10456
|
+
var ListQueueTagsCommand = class _ListQueueTagsCommand extends Command {
|
|
10414
10457
|
constructor(input) {
|
|
10415
10458
|
super();
|
|
10416
10459
|
this.input = input;
|
|
@@ -10425,7 +10468,7 @@ var ListQueueTagsCommand = class extends Command {
|
|
|
10425
10468
|
}
|
|
10426
10469
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10427
10470
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10428
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10471
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ListQueueTagsCommand.getEndpointParameterInstructions()));
|
|
10429
10472
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10430
10473
|
const { logger: logger4 } = configuration;
|
|
10431
10474
|
const clientName = "SQSClient";
|
|
@@ -10449,7 +10492,7 @@ var ListQueueTagsCommand = class extends Command {
|
|
|
10449
10492
|
};
|
|
10450
10493
|
|
|
10451
10494
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/PurgeQueueCommand.js
|
|
10452
|
-
var PurgeQueueCommand = class extends Command {
|
|
10495
|
+
var PurgeQueueCommand = class _PurgeQueueCommand extends Command {
|
|
10453
10496
|
constructor(input) {
|
|
10454
10497
|
super();
|
|
10455
10498
|
this.input = input;
|
|
@@ -10464,7 +10507,7 @@ var PurgeQueueCommand = class extends Command {
|
|
|
10464
10507
|
}
|
|
10465
10508
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10466
10509
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10467
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10510
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _PurgeQueueCommand.getEndpointParameterInstructions()));
|
|
10468
10511
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10469
10512
|
const { logger: logger4 } = configuration;
|
|
10470
10513
|
const clientName = "SQSClient";
|
|
@@ -10585,7 +10628,7 @@ var getSendMessageBatchPlugin = (config) => ({
|
|
|
10585
10628
|
});
|
|
10586
10629
|
|
|
10587
10630
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/ReceiveMessageCommand.js
|
|
10588
|
-
var ReceiveMessageCommand = class extends Command {
|
|
10631
|
+
var ReceiveMessageCommand = class _ReceiveMessageCommand extends Command {
|
|
10589
10632
|
constructor(input) {
|
|
10590
10633
|
super();
|
|
10591
10634
|
this.input = input;
|
|
@@ -10600,7 +10643,7 @@ var ReceiveMessageCommand = class extends Command {
|
|
|
10600
10643
|
}
|
|
10601
10644
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10602
10645
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10603
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10646
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _ReceiveMessageCommand.getEndpointParameterInstructions()));
|
|
10604
10647
|
this.middlewareStack.use(getReceiveMessagePlugin(configuration));
|
|
10605
10648
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10606
10649
|
const { logger: logger4 } = configuration;
|
|
@@ -10625,7 +10668,7 @@ var ReceiveMessageCommand = class extends Command {
|
|
|
10625
10668
|
};
|
|
10626
10669
|
|
|
10627
10670
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/RemovePermissionCommand.js
|
|
10628
|
-
var RemovePermissionCommand = class extends Command {
|
|
10671
|
+
var RemovePermissionCommand = class _RemovePermissionCommand extends Command {
|
|
10629
10672
|
constructor(input) {
|
|
10630
10673
|
super();
|
|
10631
10674
|
this.input = input;
|
|
@@ -10640,7 +10683,7 @@ var RemovePermissionCommand = class extends Command {
|
|
|
10640
10683
|
}
|
|
10641
10684
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10642
10685
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10643
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10686
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _RemovePermissionCommand.getEndpointParameterInstructions()));
|
|
10644
10687
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10645
10688
|
const { logger: logger4 } = configuration;
|
|
10646
10689
|
const clientName = "SQSClient";
|
|
@@ -10664,7 +10707,7 @@ var RemovePermissionCommand = class extends Command {
|
|
|
10664
10707
|
};
|
|
10665
10708
|
|
|
10666
10709
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/SendMessageBatchCommand.js
|
|
10667
|
-
var SendMessageBatchCommand = class extends Command {
|
|
10710
|
+
var SendMessageBatchCommand = class _SendMessageBatchCommand extends Command {
|
|
10668
10711
|
constructor(input) {
|
|
10669
10712
|
super();
|
|
10670
10713
|
this.input = input;
|
|
@@ -10679,7 +10722,7 @@ var SendMessageBatchCommand = class extends Command {
|
|
|
10679
10722
|
}
|
|
10680
10723
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10681
10724
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10682
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10725
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _SendMessageBatchCommand.getEndpointParameterInstructions()));
|
|
10683
10726
|
this.middlewareStack.use(getSendMessageBatchPlugin(configuration));
|
|
10684
10727
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10685
10728
|
const { logger: logger4 } = configuration;
|
|
@@ -10704,7 +10747,7 @@ var SendMessageBatchCommand = class extends Command {
|
|
|
10704
10747
|
};
|
|
10705
10748
|
|
|
10706
10749
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/SendMessageCommand.js
|
|
10707
|
-
var SendMessageCommand = class extends Command {
|
|
10750
|
+
var SendMessageCommand = class _SendMessageCommand extends Command {
|
|
10708
10751
|
constructor(input) {
|
|
10709
10752
|
super();
|
|
10710
10753
|
this.input = input;
|
|
@@ -10719,7 +10762,7 @@ var SendMessageCommand = class extends Command {
|
|
|
10719
10762
|
}
|
|
10720
10763
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10721
10764
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10722
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10765
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _SendMessageCommand.getEndpointParameterInstructions()));
|
|
10723
10766
|
this.middlewareStack.use(getSendMessagePlugin(configuration));
|
|
10724
10767
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10725
10768
|
const { logger: logger4 } = configuration;
|
|
@@ -10744,7 +10787,7 @@ var SendMessageCommand = class extends Command {
|
|
|
10744
10787
|
};
|
|
10745
10788
|
|
|
10746
10789
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/SetQueueAttributesCommand.js
|
|
10747
|
-
var SetQueueAttributesCommand = class extends Command {
|
|
10790
|
+
var SetQueueAttributesCommand = class _SetQueueAttributesCommand extends Command {
|
|
10748
10791
|
constructor(input) {
|
|
10749
10792
|
super();
|
|
10750
10793
|
this.input = input;
|
|
@@ -10759,7 +10802,7 @@ var SetQueueAttributesCommand = class extends Command {
|
|
|
10759
10802
|
}
|
|
10760
10803
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10761
10804
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10762
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10805
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _SetQueueAttributesCommand.getEndpointParameterInstructions()));
|
|
10763
10806
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10764
10807
|
const { logger: logger4 } = configuration;
|
|
10765
10808
|
const clientName = "SQSClient";
|
|
@@ -10783,7 +10826,7 @@ var SetQueueAttributesCommand = class extends Command {
|
|
|
10783
10826
|
};
|
|
10784
10827
|
|
|
10785
10828
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/TagQueueCommand.js
|
|
10786
|
-
var TagQueueCommand = class extends Command {
|
|
10829
|
+
var TagQueueCommand = class _TagQueueCommand extends Command {
|
|
10787
10830
|
constructor(input) {
|
|
10788
10831
|
super();
|
|
10789
10832
|
this.input = input;
|
|
@@ -10798,7 +10841,7 @@ var TagQueueCommand = class extends Command {
|
|
|
10798
10841
|
}
|
|
10799
10842
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10800
10843
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10801
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10844
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _TagQueueCommand.getEndpointParameterInstructions()));
|
|
10802
10845
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10803
10846
|
const { logger: logger4 } = configuration;
|
|
10804
10847
|
const clientName = "SQSClient";
|
|
@@ -10822,7 +10865,7 @@ var TagQueueCommand = class extends Command {
|
|
|
10822
10865
|
};
|
|
10823
10866
|
|
|
10824
10867
|
// ../../node_modules/@aws-sdk/client-sqs/dist-es/commands/UntagQueueCommand.js
|
|
10825
|
-
var UntagQueueCommand = class extends Command {
|
|
10868
|
+
var UntagQueueCommand = class _UntagQueueCommand extends Command {
|
|
10826
10869
|
constructor(input) {
|
|
10827
10870
|
super();
|
|
10828
10871
|
this.input = input;
|
|
@@ -10837,7 +10880,7 @@ var UntagQueueCommand = class extends Command {
|
|
|
10837
10880
|
}
|
|
10838
10881
|
resolveMiddleware(clientStack, configuration, options) {
|
|
10839
10882
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
10840
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
10883
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _UntagQueueCommand.getEndpointParameterInstructions()));
|
|
10841
10884
|
const stack = clientStack.concat(this.middlewareStack);
|
|
10842
10885
|
const { logger: logger4 } = configuration;
|
|
10843
10886
|
const clientName = "SQSClient";
|
|
@@ -11476,7 +11519,7 @@ var RequestHandlerProtocol;
|
|
|
11476
11519
|
})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
|
|
11477
11520
|
|
|
11478
11521
|
// ../../node_modules/@smithy/protocol-http/dist-es/httpRequest.js
|
|
11479
|
-
var HttpRequest2 = class {
|
|
11522
|
+
var HttpRequest2 = class _HttpRequest {
|
|
11480
11523
|
constructor(options) {
|
|
11481
11524
|
this.method = options.method || "GET";
|
|
11482
11525
|
this.hostname = options.hostname || "localhost";
|
|
@@ -11497,7 +11540,7 @@ var HttpRequest2 = class {
|
|
|
11497
11540
|
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
11498
11541
|
}
|
|
11499
11542
|
clone() {
|
|
11500
|
-
const cloned = new
|
|
11543
|
+
const cloned = new _HttpRequest({
|
|
11501
11544
|
...this,
|
|
11502
11545
|
headers: { ...this.headers }
|
|
11503
11546
|
});
|
|
@@ -11706,12 +11749,12 @@ var getRecursionDetectionPlugin2 = (options) => ({
|
|
|
11706
11749
|
});
|
|
11707
11750
|
|
|
11708
11751
|
// ../../node_modules/@smithy/property-provider/dist-es/ProviderError.js
|
|
11709
|
-
var ProviderError = class extends Error {
|
|
11752
|
+
var ProviderError = class _ProviderError extends Error {
|
|
11710
11753
|
constructor(message, tryNextLink = true) {
|
|
11711
11754
|
super(message);
|
|
11712
11755
|
this.tryNextLink = tryNextLink;
|
|
11713
11756
|
this.name = "ProviderError";
|
|
11714
|
-
Object.setPrototypeOf(this,
|
|
11757
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
11715
11758
|
}
|
|
11716
11759
|
static from(error, tryNextLink = true) {
|
|
11717
11760
|
return Object.assign(new this(error.message, tryNextLink), error);
|
|
@@ -11719,22 +11762,22 @@ var ProviderError = class extends Error {
|
|
|
11719
11762
|
};
|
|
11720
11763
|
|
|
11721
11764
|
// ../../node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
|
|
11722
|
-
var CredentialsProviderError = class extends ProviderError {
|
|
11765
|
+
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
11723
11766
|
constructor(message, tryNextLink = true) {
|
|
11724
11767
|
super(message, tryNextLink);
|
|
11725
11768
|
this.tryNextLink = tryNextLink;
|
|
11726
11769
|
this.name = "CredentialsProviderError";
|
|
11727
|
-
Object.setPrototypeOf(this,
|
|
11770
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
11728
11771
|
}
|
|
11729
11772
|
};
|
|
11730
11773
|
|
|
11731
11774
|
// ../../node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
|
|
11732
|
-
var TokenProviderError = class extends ProviderError {
|
|
11775
|
+
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
11733
11776
|
constructor(message, tryNextLink = true) {
|
|
11734
11777
|
super(message, tryNextLink);
|
|
11735
11778
|
this.tryNextLink = tryNextLink;
|
|
11736
11779
|
this.name = "TokenProviderError";
|
|
11737
|
-
Object.setPrototypeOf(this,
|
|
11780
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
11738
11781
|
}
|
|
11739
11782
|
};
|
|
11740
11783
|
|
|
@@ -11841,7 +11884,7 @@ function toHex2(bytes) {
|
|
|
11841
11884
|
}
|
|
11842
11885
|
|
|
11843
11886
|
// ../../node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
11844
|
-
var Int64 = class {
|
|
11887
|
+
var Int64 = class _Int64 {
|
|
11845
11888
|
constructor(bytes) {
|
|
11846
11889
|
this.bytes = bytes;
|
|
11847
11890
|
if (bytes.byteLength !== 8) {
|
|
@@ -11859,7 +11902,7 @@ var Int64 = class {
|
|
|
11859
11902
|
if (number < 0) {
|
|
11860
11903
|
negate(bytes);
|
|
11861
11904
|
}
|
|
11862
|
-
return new
|
|
11905
|
+
return new _Int64(bytes);
|
|
11863
11906
|
}
|
|
11864
11907
|
valueOf() {
|
|
11865
11908
|
const bytes = this.bytes.slice(0);
|
|
@@ -14580,7 +14623,7 @@ function transformFromString(str, encoding) {
|
|
|
14580
14623
|
}
|
|
14581
14624
|
|
|
14582
14625
|
// ../../node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
14583
|
-
var Uint8ArrayBlobAdapter = class extends Uint8Array {
|
|
14626
|
+
var Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
14584
14627
|
static fromString(source, encoding = "utf-8") {
|
|
14585
14628
|
switch (typeof source) {
|
|
14586
14629
|
case "string":
|
|
@@ -14590,7 +14633,7 @@ var Uint8ArrayBlobAdapter = class extends Uint8Array {
|
|
|
14590
14633
|
}
|
|
14591
14634
|
}
|
|
14592
14635
|
static mutate(source) {
|
|
14593
|
-
Object.setPrototypeOf(source,
|
|
14636
|
+
Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype);
|
|
14594
14637
|
return source;
|
|
14595
14638
|
}
|
|
14596
14639
|
transformToString(encoding = "utf-8") {
|
|
@@ -15194,10 +15237,10 @@ var stripLeadingZeroes = (value) => {
|
|
|
15194
15237
|
};
|
|
15195
15238
|
|
|
15196
15239
|
// ../../node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
15197
|
-
var ServiceException2 = class extends Error {
|
|
15240
|
+
var ServiceException2 = class _ServiceException extends Error {
|
|
15198
15241
|
constructor(options) {
|
|
15199
15242
|
super(options.message);
|
|
15200
|
-
Object.setPrototypeOf(this,
|
|
15243
|
+
Object.setPrototypeOf(this, _ServiceException.prototype);
|
|
15201
15244
|
this.name = options.name;
|
|
15202
15245
|
this.$fault = options.$fault;
|
|
15203
15246
|
this.$metadata = options.$metadata;
|
|
@@ -15415,15 +15458,15 @@ var _json = (obj) => {
|
|
|
15415
15458
|
};
|
|
15416
15459
|
|
|
15417
15460
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js
|
|
15418
|
-
var DynamoDBServiceException = class extends ServiceException2 {
|
|
15461
|
+
var DynamoDBServiceException = class _DynamoDBServiceException extends ServiceException2 {
|
|
15419
15462
|
constructor(options) {
|
|
15420
15463
|
super(options);
|
|
15421
|
-
Object.setPrototypeOf(this,
|
|
15464
|
+
Object.setPrototypeOf(this, _DynamoDBServiceException.prototype);
|
|
15422
15465
|
}
|
|
15423
15466
|
};
|
|
15424
15467
|
|
|
15425
15468
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js
|
|
15426
|
-
var InternalServerError = class extends DynamoDBServiceException {
|
|
15469
|
+
var InternalServerError = class _InternalServerError extends DynamoDBServiceException {
|
|
15427
15470
|
constructor(opts) {
|
|
15428
15471
|
super({
|
|
15429
15472
|
name: "InternalServerError",
|
|
@@ -15432,10 +15475,10 @@ var InternalServerError = class extends DynamoDBServiceException {
|
|
|
15432
15475
|
});
|
|
15433
15476
|
this.name = "InternalServerError";
|
|
15434
15477
|
this.$fault = "server";
|
|
15435
|
-
Object.setPrototypeOf(this,
|
|
15478
|
+
Object.setPrototypeOf(this, _InternalServerError.prototype);
|
|
15436
15479
|
}
|
|
15437
15480
|
};
|
|
15438
|
-
var RequestLimitExceeded = class extends DynamoDBServiceException {
|
|
15481
|
+
var RequestLimitExceeded = class _RequestLimitExceeded extends DynamoDBServiceException {
|
|
15439
15482
|
constructor(opts) {
|
|
15440
15483
|
super({
|
|
15441
15484
|
name: "RequestLimitExceeded",
|
|
@@ -15444,10 +15487,10 @@ var RequestLimitExceeded = class extends DynamoDBServiceException {
|
|
|
15444
15487
|
});
|
|
15445
15488
|
this.name = "RequestLimitExceeded";
|
|
15446
15489
|
this.$fault = "client";
|
|
15447
|
-
Object.setPrototypeOf(this,
|
|
15490
|
+
Object.setPrototypeOf(this, _RequestLimitExceeded.prototype);
|
|
15448
15491
|
}
|
|
15449
15492
|
};
|
|
15450
|
-
var InvalidEndpointException = class extends DynamoDBServiceException {
|
|
15493
|
+
var InvalidEndpointException = class _InvalidEndpointException extends DynamoDBServiceException {
|
|
15451
15494
|
constructor(opts) {
|
|
15452
15495
|
super({
|
|
15453
15496
|
name: "InvalidEndpointException",
|
|
@@ -15456,11 +15499,11 @@ var InvalidEndpointException = class extends DynamoDBServiceException {
|
|
|
15456
15499
|
});
|
|
15457
15500
|
this.name = "InvalidEndpointException";
|
|
15458
15501
|
this.$fault = "client";
|
|
15459
|
-
Object.setPrototypeOf(this,
|
|
15502
|
+
Object.setPrototypeOf(this, _InvalidEndpointException.prototype);
|
|
15460
15503
|
this.Message = opts.Message;
|
|
15461
15504
|
}
|
|
15462
15505
|
};
|
|
15463
|
-
var ProvisionedThroughputExceededException = class extends DynamoDBServiceException {
|
|
15506
|
+
var ProvisionedThroughputExceededException = class _ProvisionedThroughputExceededException extends DynamoDBServiceException {
|
|
15464
15507
|
constructor(opts) {
|
|
15465
15508
|
super({
|
|
15466
15509
|
name: "ProvisionedThroughputExceededException",
|
|
@@ -15469,10 +15512,10 @@ var ProvisionedThroughputExceededException = class extends DynamoDBServiceExcept
|
|
|
15469
15512
|
});
|
|
15470
15513
|
this.name = "ProvisionedThroughputExceededException";
|
|
15471
15514
|
this.$fault = "client";
|
|
15472
|
-
Object.setPrototypeOf(this,
|
|
15515
|
+
Object.setPrototypeOf(this, _ProvisionedThroughputExceededException.prototype);
|
|
15473
15516
|
}
|
|
15474
15517
|
};
|
|
15475
|
-
var ResourceNotFoundException = class extends DynamoDBServiceException {
|
|
15518
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends DynamoDBServiceException {
|
|
15476
15519
|
constructor(opts) {
|
|
15477
15520
|
super({
|
|
15478
15521
|
name: "ResourceNotFoundException",
|
|
@@ -15481,10 +15524,10 @@ var ResourceNotFoundException = class extends DynamoDBServiceException {
|
|
|
15481
15524
|
});
|
|
15482
15525
|
this.name = "ResourceNotFoundException";
|
|
15483
15526
|
this.$fault = "client";
|
|
15484
|
-
Object.setPrototypeOf(this,
|
|
15527
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
15485
15528
|
}
|
|
15486
15529
|
};
|
|
15487
|
-
var ItemCollectionSizeLimitExceededException = class extends DynamoDBServiceException {
|
|
15530
|
+
var ItemCollectionSizeLimitExceededException = class _ItemCollectionSizeLimitExceededException extends DynamoDBServiceException {
|
|
15488
15531
|
constructor(opts) {
|
|
15489
15532
|
super({
|
|
15490
15533
|
name: "ItemCollectionSizeLimitExceededException",
|
|
@@ -15493,10 +15536,10 @@ var ItemCollectionSizeLimitExceededException = class extends DynamoDBServiceExce
|
|
|
15493
15536
|
});
|
|
15494
15537
|
this.name = "ItemCollectionSizeLimitExceededException";
|
|
15495
15538
|
this.$fault = "client";
|
|
15496
|
-
Object.setPrototypeOf(this,
|
|
15539
|
+
Object.setPrototypeOf(this, _ItemCollectionSizeLimitExceededException.prototype);
|
|
15497
15540
|
}
|
|
15498
15541
|
};
|
|
15499
|
-
var TransactionConflictException = class extends DynamoDBServiceException {
|
|
15542
|
+
var TransactionConflictException = class _TransactionConflictException extends DynamoDBServiceException {
|
|
15500
15543
|
constructor(opts) {
|
|
15501
15544
|
super({
|
|
15502
15545
|
name: "TransactionConflictException",
|
|
@@ -15505,7 +15548,7 @@ var TransactionConflictException = class extends DynamoDBServiceException {
|
|
|
15505
15548
|
});
|
|
15506
15549
|
this.name = "TransactionConflictException";
|
|
15507
15550
|
this.$fault = "client";
|
|
15508
|
-
Object.setPrototypeOf(this,
|
|
15551
|
+
Object.setPrototypeOf(this, _TransactionConflictException.prototype);
|
|
15509
15552
|
}
|
|
15510
15553
|
};
|
|
15511
15554
|
var AttributeValue;
|
|
@@ -15534,7 +15577,7 @@ var AttributeValue;
|
|
|
15534
15577
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
15535
15578
|
};
|
|
15536
15579
|
})(AttributeValue || (AttributeValue = {}));
|
|
15537
|
-
var ConditionalCheckFailedException = class extends DynamoDBServiceException {
|
|
15580
|
+
var ConditionalCheckFailedException = class _ConditionalCheckFailedException extends DynamoDBServiceException {
|
|
15538
15581
|
constructor(opts) {
|
|
15539
15582
|
super({
|
|
15540
15583
|
name: "ConditionalCheckFailedException",
|
|
@@ -15543,7 +15586,7 @@ var ConditionalCheckFailedException = class extends DynamoDBServiceException {
|
|
|
15543
15586
|
});
|
|
15544
15587
|
this.name = "ConditionalCheckFailedException";
|
|
15545
15588
|
this.$fault = "client";
|
|
15546
|
-
Object.setPrototypeOf(this,
|
|
15589
|
+
Object.setPrototypeOf(this, _ConditionalCheckFailedException.prototype);
|
|
15547
15590
|
this.Item = opts.Item;
|
|
15548
15591
|
}
|
|
15549
15592
|
};
|
|
@@ -16595,7 +16638,7 @@ var loadRestJsonErrorCode = (output, data) => {
|
|
|
16595
16638
|
};
|
|
16596
16639
|
|
|
16597
16640
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js
|
|
16598
|
-
var DescribeEndpointsCommand = class extends Command2 {
|
|
16641
|
+
var DescribeEndpointsCommand = class _DescribeEndpointsCommand extends Command2 {
|
|
16599
16642
|
static getEndpointParameterInstructions() {
|
|
16600
16643
|
return {
|
|
16601
16644
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16610,7 +16653,7 @@ var DescribeEndpointsCommand = class extends Command2 {
|
|
|
16610
16653
|
}
|
|
16611
16654
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16612
16655
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
16613
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
16656
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _DescribeEndpointsCommand.getEndpointParameterInstructions()));
|
|
16614
16657
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16615
16658
|
const { logger: logger4 } = configuration;
|
|
16616
16659
|
const clientName = "DynamoDBClient";
|
|
@@ -16872,15 +16915,15 @@ var package_default3 = {
|
|
|
16872
16915
|
};
|
|
16873
16916
|
|
|
16874
16917
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
|
16875
|
-
var STSServiceException = class extends ServiceException2 {
|
|
16918
|
+
var STSServiceException = class _STSServiceException extends ServiceException2 {
|
|
16876
16919
|
constructor(options) {
|
|
16877
16920
|
super(options);
|
|
16878
|
-
Object.setPrototypeOf(this,
|
|
16921
|
+
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
|
16879
16922
|
}
|
|
16880
16923
|
};
|
|
16881
16924
|
|
|
16882
16925
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
|
16883
|
-
var ExpiredTokenException = class extends STSServiceException {
|
|
16926
|
+
var ExpiredTokenException = class _ExpiredTokenException3 extends STSServiceException {
|
|
16884
16927
|
constructor(opts) {
|
|
16885
16928
|
super({
|
|
16886
16929
|
name: "ExpiredTokenException",
|
|
@@ -16889,10 +16932,10 @@ var ExpiredTokenException = class extends STSServiceException {
|
|
|
16889
16932
|
});
|
|
16890
16933
|
this.name = "ExpiredTokenException";
|
|
16891
16934
|
this.$fault = "client";
|
|
16892
|
-
Object.setPrototypeOf(this,
|
|
16935
|
+
Object.setPrototypeOf(this, _ExpiredTokenException3.prototype);
|
|
16893
16936
|
}
|
|
16894
16937
|
};
|
|
16895
|
-
var MalformedPolicyDocumentException = class extends STSServiceException {
|
|
16938
|
+
var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {
|
|
16896
16939
|
constructor(opts) {
|
|
16897
16940
|
super({
|
|
16898
16941
|
name: "MalformedPolicyDocumentException",
|
|
@@ -16901,10 +16944,10 @@ var MalformedPolicyDocumentException = class extends STSServiceException {
|
|
|
16901
16944
|
});
|
|
16902
16945
|
this.name = "MalformedPolicyDocumentException";
|
|
16903
16946
|
this.$fault = "client";
|
|
16904
|
-
Object.setPrototypeOf(this,
|
|
16947
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
16905
16948
|
}
|
|
16906
16949
|
};
|
|
16907
|
-
var PackedPolicyTooLargeException = class extends STSServiceException {
|
|
16950
|
+
var PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {
|
|
16908
16951
|
constructor(opts) {
|
|
16909
16952
|
super({
|
|
16910
16953
|
name: "PackedPolicyTooLargeException",
|
|
@@ -16913,10 +16956,10 @@ var PackedPolicyTooLargeException = class extends STSServiceException {
|
|
|
16913
16956
|
});
|
|
16914
16957
|
this.name = "PackedPolicyTooLargeException";
|
|
16915
16958
|
this.$fault = "client";
|
|
16916
|
-
Object.setPrototypeOf(this,
|
|
16959
|
+
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
16917
16960
|
}
|
|
16918
16961
|
};
|
|
16919
|
-
var RegionDisabledException = class extends STSServiceException {
|
|
16962
|
+
var RegionDisabledException = class _RegionDisabledException extends STSServiceException {
|
|
16920
16963
|
constructor(opts) {
|
|
16921
16964
|
super({
|
|
16922
16965
|
name: "RegionDisabledException",
|
|
@@ -16925,10 +16968,10 @@ var RegionDisabledException = class extends STSServiceException {
|
|
|
16925
16968
|
});
|
|
16926
16969
|
this.name = "RegionDisabledException";
|
|
16927
16970
|
this.$fault = "client";
|
|
16928
|
-
Object.setPrototypeOf(this,
|
|
16971
|
+
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
|
16929
16972
|
}
|
|
16930
16973
|
};
|
|
16931
|
-
var IDPRejectedClaimException = class extends STSServiceException {
|
|
16974
|
+
var IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {
|
|
16932
16975
|
constructor(opts) {
|
|
16933
16976
|
super({
|
|
16934
16977
|
name: "IDPRejectedClaimException",
|
|
@@ -16937,10 +16980,10 @@ var IDPRejectedClaimException = class extends STSServiceException {
|
|
|
16937
16980
|
});
|
|
16938
16981
|
this.name = "IDPRejectedClaimException";
|
|
16939
16982
|
this.$fault = "client";
|
|
16940
|
-
Object.setPrototypeOf(this,
|
|
16983
|
+
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
|
16941
16984
|
}
|
|
16942
16985
|
};
|
|
16943
|
-
var InvalidIdentityTokenException = class extends STSServiceException {
|
|
16986
|
+
var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {
|
|
16944
16987
|
constructor(opts) {
|
|
16945
16988
|
super({
|
|
16946
16989
|
name: "InvalidIdentityTokenException",
|
|
@@ -16949,10 +16992,10 @@ var InvalidIdentityTokenException = class extends STSServiceException {
|
|
|
16949
16992
|
});
|
|
16950
16993
|
this.name = "InvalidIdentityTokenException";
|
|
16951
16994
|
this.$fault = "client";
|
|
16952
|
-
Object.setPrototypeOf(this,
|
|
16995
|
+
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
|
16953
16996
|
}
|
|
16954
16997
|
};
|
|
16955
|
-
var IDPCommunicationErrorException = class extends STSServiceException {
|
|
16998
|
+
var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {
|
|
16956
16999
|
constructor(opts) {
|
|
16957
17000
|
super({
|
|
16958
17001
|
name: "IDPCommunicationErrorException",
|
|
@@ -16961,7 +17004,7 @@ var IDPCommunicationErrorException = class extends STSServiceException {
|
|
|
16961
17004
|
});
|
|
16962
17005
|
this.name = "IDPCommunicationErrorException";
|
|
16963
17006
|
this.$fault = "client";
|
|
16964
|
-
Object.setPrototypeOf(this,
|
|
17007
|
+
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
|
16965
17008
|
}
|
|
16966
17009
|
};
|
|
16967
17010
|
var CredentialsFilterSensitiveLog = (obj) => ({
|
|
@@ -17494,7 +17537,7 @@ var loadQueryErrorCode2 = (output, data) => {
|
|
|
17494
17537
|
};
|
|
17495
17538
|
|
|
17496
17539
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
|
17497
|
-
var AssumeRoleCommand = class extends Command2 {
|
|
17540
|
+
var AssumeRoleCommand = class _AssumeRoleCommand extends Command2 {
|
|
17498
17541
|
static getEndpointParameterInstructions() {
|
|
17499
17542
|
return {
|
|
17500
17543
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -17510,7 +17553,7 @@ var AssumeRoleCommand = class extends Command2 {
|
|
|
17510
17553
|
}
|
|
17511
17554
|
resolveMiddleware(clientStack, configuration, options) {
|
|
17512
17555
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
17513
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
17556
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _AssumeRoleCommand.getEndpointParameterInstructions()));
|
|
17514
17557
|
this.middlewareStack.use(getAwsAuthPlugin2(configuration));
|
|
17515
17558
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17516
17559
|
const { logger: logger4 } = configuration;
|
|
@@ -17535,7 +17578,7 @@ var AssumeRoleCommand = class extends Command2 {
|
|
|
17535
17578
|
};
|
|
17536
17579
|
|
|
17537
17580
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
|
17538
|
-
var AssumeRoleWithWebIdentityCommand = class extends Command2 {
|
|
17581
|
+
var AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends Command2 {
|
|
17539
17582
|
static getEndpointParameterInstructions() {
|
|
17540
17583
|
return {
|
|
17541
17584
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -17551,7 +17594,7 @@ var AssumeRoleWithWebIdentityCommand = class extends Command2 {
|
|
|
17551
17594
|
}
|
|
17552
17595
|
resolveMiddleware(clientStack, configuration, options) {
|
|
17553
17596
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
17554
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
17597
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
|
17555
17598
|
const stack = clientStack.concat(this.middlewareStack);
|
|
17556
17599
|
const { logger: logger4 } = configuration;
|
|
17557
17600
|
const clientName = "STSClient";
|
|
@@ -18630,15 +18673,15 @@ var SSOClient = class extends Client2 {
|
|
|
18630
18673
|
};
|
|
18631
18674
|
|
|
18632
18675
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
18633
|
-
var SSOServiceException = class extends ServiceException2 {
|
|
18676
|
+
var SSOServiceException = class _SSOServiceException extends ServiceException2 {
|
|
18634
18677
|
constructor(options) {
|
|
18635
18678
|
super(options);
|
|
18636
|
-
Object.setPrototypeOf(this,
|
|
18679
|
+
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
18637
18680
|
}
|
|
18638
18681
|
};
|
|
18639
18682
|
|
|
18640
18683
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js
|
|
18641
|
-
var InvalidRequestException = class extends SSOServiceException {
|
|
18684
|
+
var InvalidRequestException = class _InvalidRequestException3 extends SSOServiceException {
|
|
18642
18685
|
constructor(opts) {
|
|
18643
18686
|
super({
|
|
18644
18687
|
name: "InvalidRequestException",
|
|
@@ -18647,10 +18690,10 @@ var InvalidRequestException = class extends SSOServiceException {
|
|
|
18647
18690
|
});
|
|
18648
18691
|
this.name = "InvalidRequestException";
|
|
18649
18692
|
this.$fault = "client";
|
|
18650
|
-
Object.setPrototypeOf(this,
|
|
18693
|
+
Object.setPrototypeOf(this, _InvalidRequestException3.prototype);
|
|
18651
18694
|
}
|
|
18652
18695
|
};
|
|
18653
|
-
var ResourceNotFoundException2 = class extends SSOServiceException {
|
|
18696
|
+
var ResourceNotFoundException2 = class _ResourceNotFoundException extends SSOServiceException {
|
|
18654
18697
|
constructor(opts) {
|
|
18655
18698
|
super({
|
|
18656
18699
|
name: "ResourceNotFoundException",
|
|
@@ -18659,10 +18702,10 @@ var ResourceNotFoundException2 = class extends SSOServiceException {
|
|
|
18659
18702
|
});
|
|
18660
18703
|
this.name = "ResourceNotFoundException";
|
|
18661
18704
|
this.$fault = "client";
|
|
18662
|
-
Object.setPrototypeOf(this,
|
|
18705
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
18663
18706
|
}
|
|
18664
18707
|
};
|
|
18665
|
-
var TooManyRequestsException = class extends SSOServiceException {
|
|
18708
|
+
var TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {
|
|
18666
18709
|
constructor(opts) {
|
|
18667
18710
|
super({
|
|
18668
18711
|
name: "TooManyRequestsException",
|
|
@@ -18671,10 +18714,10 @@ var TooManyRequestsException = class extends SSOServiceException {
|
|
|
18671
18714
|
});
|
|
18672
18715
|
this.name = "TooManyRequestsException";
|
|
18673
18716
|
this.$fault = "client";
|
|
18674
|
-
Object.setPrototypeOf(this,
|
|
18717
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
18675
18718
|
}
|
|
18676
18719
|
};
|
|
18677
|
-
var UnauthorizedException = class extends SSOServiceException {
|
|
18720
|
+
var UnauthorizedException = class _UnauthorizedException extends SSOServiceException {
|
|
18678
18721
|
constructor(opts) {
|
|
18679
18722
|
super({
|
|
18680
18723
|
name: "UnauthorizedException",
|
|
@@ -18683,7 +18726,7 @@ var UnauthorizedException = class extends SSOServiceException {
|
|
|
18683
18726
|
});
|
|
18684
18727
|
this.name = "UnauthorizedException";
|
|
18685
18728
|
this.$fault = "client";
|
|
18686
|
-
Object.setPrototypeOf(this,
|
|
18729
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
18687
18730
|
}
|
|
18688
18731
|
};
|
|
18689
18732
|
var GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -18868,7 +18911,7 @@ var loadRestJsonErrorCode2 = (output, data) => {
|
|
|
18868
18911
|
};
|
|
18869
18912
|
|
|
18870
18913
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
18871
|
-
var GetRoleCredentialsCommand = class extends Command2 {
|
|
18914
|
+
var GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends Command2 {
|
|
18872
18915
|
static getEndpointParameterInstructions() {
|
|
18873
18916
|
return {
|
|
18874
18917
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -18883,7 +18926,7 @@ var GetRoleCredentialsCommand = class extends Command2 {
|
|
|
18883
18926
|
}
|
|
18884
18927
|
resolveMiddleware(clientStack, configuration, options) {
|
|
18885
18928
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
18886
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
18929
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions()));
|
|
18887
18930
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18888
18931
|
const { logger: logger4 } = configuration;
|
|
18889
18932
|
const clientName = "SSOClient";
|
|
@@ -19116,15 +19159,15 @@ var SSOOIDCClient = class extends Client2 {
|
|
|
19116
19159
|
};
|
|
19117
19160
|
|
|
19118
19161
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js
|
|
19119
|
-
var SSOOIDCServiceException = class extends ServiceException2 {
|
|
19162
|
+
var SSOOIDCServiceException = class _SSOOIDCServiceException3 extends ServiceException2 {
|
|
19120
19163
|
constructor(options) {
|
|
19121
19164
|
super(options);
|
|
19122
|
-
Object.setPrototypeOf(this,
|
|
19165
|
+
Object.setPrototypeOf(this, _SSOOIDCServiceException3.prototype);
|
|
19123
19166
|
}
|
|
19124
19167
|
};
|
|
19125
19168
|
|
|
19126
19169
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js
|
|
19127
|
-
var AccessDeniedException = class extends SSOOIDCServiceException {
|
|
19170
|
+
var AccessDeniedException = class _AccessDeniedException3 extends SSOOIDCServiceException {
|
|
19128
19171
|
constructor(opts) {
|
|
19129
19172
|
super({
|
|
19130
19173
|
name: "AccessDeniedException",
|
|
@@ -19133,12 +19176,12 @@ var AccessDeniedException = class extends SSOOIDCServiceException {
|
|
|
19133
19176
|
});
|
|
19134
19177
|
this.name = "AccessDeniedException";
|
|
19135
19178
|
this.$fault = "client";
|
|
19136
|
-
Object.setPrototypeOf(this,
|
|
19179
|
+
Object.setPrototypeOf(this, _AccessDeniedException3.prototype);
|
|
19137
19180
|
this.error = opts.error;
|
|
19138
19181
|
this.error_description = opts.error_description;
|
|
19139
19182
|
}
|
|
19140
19183
|
};
|
|
19141
|
-
var AuthorizationPendingException = class extends SSOOIDCServiceException {
|
|
19184
|
+
var AuthorizationPendingException = class _AuthorizationPendingException3 extends SSOOIDCServiceException {
|
|
19142
19185
|
constructor(opts) {
|
|
19143
19186
|
super({
|
|
19144
19187
|
name: "AuthorizationPendingException",
|
|
@@ -19147,12 +19190,12 @@ var AuthorizationPendingException = class extends SSOOIDCServiceException {
|
|
|
19147
19190
|
});
|
|
19148
19191
|
this.name = "AuthorizationPendingException";
|
|
19149
19192
|
this.$fault = "client";
|
|
19150
|
-
Object.setPrototypeOf(this,
|
|
19193
|
+
Object.setPrototypeOf(this, _AuthorizationPendingException3.prototype);
|
|
19151
19194
|
this.error = opts.error;
|
|
19152
19195
|
this.error_description = opts.error_description;
|
|
19153
19196
|
}
|
|
19154
19197
|
};
|
|
19155
|
-
var ExpiredTokenException2 = class extends SSOOIDCServiceException {
|
|
19198
|
+
var ExpiredTokenException2 = class _ExpiredTokenException3 extends SSOOIDCServiceException {
|
|
19156
19199
|
constructor(opts) {
|
|
19157
19200
|
super({
|
|
19158
19201
|
name: "ExpiredTokenException",
|
|
@@ -19161,12 +19204,12 @@ var ExpiredTokenException2 = class extends SSOOIDCServiceException {
|
|
|
19161
19204
|
});
|
|
19162
19205
|
this.name = "ExpiredTokenException";
|
|
19163
19206
|
this.$fault = "client";
|
|
19164
|
-
Object.setPrototypeOf(this,
|
|
19207
|
+
Object.setPrototypeOf(this, _ExpiredTokenException3.prototype);
|
|
19165
19208
|
this.error = opts.error;
|
|
19166
19209
|
this.error_description = opts.error_description;
|
|
19167
19210
|
}
|
|
19168
19211
|
};
|
|
19169
|
-
var InternalServerException = class extends SSOOIDCServiceException {
|
|
19212
|
+
var InternalServerException = class _InternalServerException3 extends SSOOIDCServiceException {
|
|
19170
19213
|
constructor(opts) {
|
|
19171
19214
|
super({
|
|
19172
19215
|
name: "InternalServerException",
|
|
@@ -19175,12 +19218,12 @@ var InternalServerException = class extends SSOOIDCServiceException {
|
|
|
19175
19218
|
});
|
|
19176
19219
|
this.name = "InternalServerException";
|
|
19177
19220
|
this.$fault = "server";
|
|
19178
|
-
Object.setPrototypeOf(this,
|
|
19221
|
+
Object.setPrototypeOf(this, _InternalServerException3.prototype);
|
|
19179
19222
|
this.error = opts.error;
|
|
19180
19223
|
this.error_description = opts.error_description;
|
|
19181
19224
|
}
|
|
19182
19225
|
};
|
|
19183
|
-
var InvalidClientException = class extends SSOOIDCServiceException {
|
|
19226
|
+
var InvalidClientException = class _InvalidClientException3 extends SSOOIDCServiceException {
|
|
19184
19227
|
constructor(opts) {
|
|
19185
19228
|
super({
|
|
19186
19229
|
name: "InvalidClientException",
|
|
@@ -19189,12 +19232,12 @@ var InvalidClientException = class extends SSOOIDCServiceException {
|
|
|
19189
19232
|
});
|
|
19190
19233
|
this.name = "InvalidClientException";
|
|
19191
19234
|
this.$fault = "client";
|
|
19192
|
-
Object.setPrototypeOf(this,
|
|
19235
|
+
Object.setPrototypeOf(this, _InvalidClientException3.prototype);
|
|
19193
19236
|
this.error = opts.error;
|
|
19194
19237
|
this.error_description = opts.error_description;
|
|
19195
19238
|
}
|
|
19196
19239
|
};
|
|
19197
|
-
var InvalidGrantException = class extends SSOOIDCServiceException {
|
|
19240
|
+
var InvalidGrantException = class _InvalidGrantException3 extends SSOOIDCServiceException {
|
|
19198
19241
|
constructor(opts) {
|
|
19199
19242
|
super({
|
|
19200
19243
|
name: "InvalidGrantException",
|
|
@@ -19203,12 +19246,12 @@ var InvalidGrantException = class extends SSOOIDCServiceException {
|
|
|
19203
19246
|
});
|
|
19204
19247
|
this.name = "InvalidGrantException";
|
|
19205
19248
|
this.$fault = "client";
|
|
19206
|
-
Object.setPrototypeOf(this,
|
|
19249
|
+
Object.setPrototypeOf(this, _InvalidGrantException3.prototype);
|
|
19207
19250
|
this.error = opts.error;
|
|
19208
19251
|
this.error_description = opts.error_description;
|
|
19209
19252
|
}
|
|
19210
19253
|
};
|
|
19211
|
-
var InvalidRequestException2 = class extends SSOOIDCServiceException {
|
|
19254
|
+
var InvalidRequestException2 = class _InvalidRequestException3 extends SSOOIDCServiceException {
|
|
19212
19255
|
constructor(opts) {
|
|
19213
19256
|
super({
|
|
19214
19257
|
name: "InvalidRequestException",
|
|
@@ -19217,12 +19260,12 @@ var InvalidRequestException2 = class extends SSOOIDCServiceException {
|
|
|
19217
19260
|
});
|
|
19218
19261
|
this.name = "InvalidRequestException";
|
|
19219
19262
|
this.$fault = "client";
|
|
19220
|
-
Object.setPrototypeOf(this,
|
|
19263
|
+
Object.setPrototypeOf(this, _InvalidRequestException3.prototype);
|
|
19221
19264
|
this.error = opts.error;
|
|
19222
19265
|
this.error_description = opts.error_description;
|
|
19223
19266
|
}
|
|
19224
19267
|
};
|
|
19225
|
-
var InvalidScopeException = class extends SSOOIDCServiceException {
|
|
19268
|
+
var InvalidScopeException = class _InvalidScopeException3 extends SSOOIDCServiceException {
|
|
19226
19269
|
constructor(opts) {
|
|
19227
19270
|
super({
|
|
19228
19271
|
name: "InvalidScopeException",
|
|
@@ -19231,12 +19274,12 @@ var InvalidScopeException = class extends SSOOIDCServiceException {
|
|
|
19231
19274
|
});
|
|
19232
19275
|
this.name = "InvalidScopeException";
|
|
19233
19276
|
this.$fault = "client";
|
|
19234
|
-
Object.setPrototypeOf(this,
|
|
19277
|
+
Object.setPrototypeOf(this, _InvalidScopeException3.prototype);
|
|
19235
19278
|
this.error = opts.error;
|
|
19236
19279
|
this.error_description = opts.error_description;
|
|
19237
19280
|
}
|
|
19238
19281
|
};
|
|
19239
|
-
var SlowDownException = class extends SSOOIDCServiceException {
|
|
19282
|
+
var SlowDownException = class _SlowDownException3 extends SSOOIDCServiceException {
|
|
19240
19283
|
constructor(opts) {
|
|
19241
19284
|
super({
|
|
19242
19285
|
name: "SlowDownException",
|
|
@@ -19245,12 +19288,12 @@ var SlowDownException = class extends SSOOIDCServiceException {
|
|
|
19245
19288
|
});
|
|
19246
19289
|
this.name = "SlowDownException";
|
|
19247
19290
|
this.$fault = "client";
|
|
19248
|
-
Object.setPrototypeOf(this,
|
|
19291
|
+
Object.setPrototypeOf(this, _SlowDownException3.prototype);
|
|
19249
19292
|
this.error = opts.error;
|
|
19250
19293
|
this.error_description = opts.error_description;
|
|
19251
19294
|
}
|
|
19252
19295
|
};
|
|
19253
|
-
var UnauthorizedClientException = class extends SSOOIDCServiceException {
|
|
19296
|
+
var UnauthorizedClientException = class _UnauthorizedClientException3 extends SSOOIDCServiceException {
|
|
19254
19297
|
constructor(opts) {
|
|
19255
19298
|
super({
|
|
19256
19299
|
name: "UnauthorizedClientException",
|
|
@@ -19259,12 +19302,12 @@ var UnauthorizedClientException = class extends SSOOIDCServiceException {
|
|
|
19259
19302
|
});
|
|
19260
19303
|
this.name = "UnauthorizedClientException";
|
|
19261
19304
|
this.$fault = "client";
|
|
19262
|
-
Object.setPrototypeOf(this,
|
|
19305
|
+
Object.setPrototypeOf(this, _UnauthorizedClientException3.prototype);
|
|
19263
19306
|
this.error = opts.error;
|
|
19264
19307
|
this.error_description = opts.error_description;
|
|
19265
19308
|
}
|
|
19266
19309
|
};
|
|
19267
|
-
var UnsupportedGrantTypeException = class extends SSOOIDCServiceException {
|
|
19310
|
+
var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException3 extends SSOOIDCServiceException {
|
|
19268
19311
|
constructor(opts) {
|
|
19269
19312
|
super({
|
|
19270
19313
|
name: "UnsupportedGrantTypeException",
|
|
@@ -19273,7 +19316,7 @@ var UnsupportedGrantTypeException = class extends SSOOIDCServiceException {
|
|
|
19273
19316
|
});
|
|
19274
19317
|
this.name = "UnsupportedGrantTypeException";
|
|
19275
19318
|
this.$fault = "client";
|
|
19276
|
-
Object.setPrototypeOf(this,
|
|
19319
|
+
Object.setPrototypeOf(this, _UnsupportedGrantTypeException3.prototype);
|
|
19277
19320
|
this.error = opts.error;
|
|
19278
19321
|
this.error_description = opts.error_description;
|
|
19279
19322
|
}
|
|
@@ -19578,7 +19621,7 @@ var loadRestJsonErrorCode3 = (output, data) => {
|
|
|
19578
19621
|
};
|
|
19579
19622
|
|
|
19580
19623
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js
|
|
19581
|
-
var CreateTokenCommand = class extends Command2 {
|
|
19624
|
+
var CreateTokenCommand = class _CreateTokenCommand3 extends Command2 {
|
|
19582
19625
|
static getEndpointParameterInstructions() {
|
|
19583
19626
|
return {
|
|
19584
19627
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -19593,7 +19636,7 @@ var CreateTokenCommand = class extends Command2 {
|
|
|
19593
19636
|
}
|
|
19594
19637
|
resolveMiddleware(clientStack, configuration, options) {
|
|
19595
19638
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
19596
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
19639
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _CreateTokenCommand3.getEndpointParameterInstructions()));
|
|
19597
19640
|
const stack = clientStack.concat(this.middlewareStack);
|
|
19598
19641
|
const { logger: logger4 } = configuration;
|
|
19599
19642
|
const clientName = "SSOOIDCClient";
|
|
@@ -20044,7 +20087,7 @@ var getRuntimeConfig8 = (config) => {
|
|
|
20044
20087
|
};
|
|
20045
20088
|
|
|
20046
20089
|
// ../../node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
|
20047
|
-
var STSClient = class extends Client2 {
|
|
20090
|
+
var STSClient = class _STSClient extends Client2 {
|
|
20048
20091
|
constructor(configuration) {
|
|
20049
20092
|
const _config_0 = getRuntimeConfig8(configuration);
|
|
20050
20093
|
const _config_1 = resolveClientEndpointParameters3(_config_0);
|
|
@@ -20052,7 +20095,7 @@ var STSClient = class extends Client2 {
|
|
|
20052
20095
|
const _config_3 = resolveEndpointConfig2(_config_2);
|
|
20053
20096
|
const _config_4 = resolveRetryConfig2(_config_3);
|
|
20054
20097
|
const _config_5 = resolveHostHeaderConfig2(_config_4);
|
|
20055
|
-
const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor:
|
|
20098
|
+
const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor: _STSClient });
|
|
20056
20099
|
const _config_7 = resolveUserAgentConfig2(_config_6);
|
|
20057
20100
|
super(_config_7);
|
|
20058
20101
|
this.config = _config_7;
|
|
@@ -20199,7 +20242,7 @@ var DynamoDBClient = class extends Client2 {
|
|
|
20199
20242
|
};
|
|
20200
20243
|
|
|
20201
20244
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js
|
|
20202
|
-
var BatchGetItemCommand = class extends Command2 {
|
|
20245
|
+
var BatchGetItemCommand = class _BatchGetItemCommand extends Command2 {
|
|
20203
20246
|
static getEndpointParameterInstructions() {
|
|
20204
20247
|
return {
|
|
20205
20248
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20214,7 +20257,7 @@ var BatchGetItemCommand = class extends Command2 {
|
|
|
20214
20257
|
}
|
|
20215
20258
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20216
20259
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20217
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20260
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _BatchGetItemCommand.getEndpointParameterInstructions()));
|
|
20218
20261
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20219
20262
|
const { logger: logger4 } = configuration;
|
|
20220
20263
|
const clientName = "DynamoDBClient";
|
|
@@ -20238,7 +20281,7 @@ var BatchGetItemCommand = class extends Command2 {
|
|
|
20238
20281
|
};
|
|
20239
20282
|
|
|
20240
20283
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js
|
|
20241
|
-
var BatchWriteItemCommand = class extends Command2 {
|
|
20284
|
+
var BatchWriteItemCommand = class _BatchWriteItemCommand extends Command2 {
|
|
20242
20285
|
static getEndpointParameterInstructions() {
|
|
20243
20286
|
return {
|
|
20244
20287
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20253,7 +20296,7 @@ var BatchWriteItemCommand = class extends Command2 {
|
|
|
20253
20296
|
}
|
|
20254
20297
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20255
20298
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20256
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20299
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _BatchWriteItemCommand.getEndpointParameterInstructions()));
|
|
20257
20300
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20258
20301
|
const { logger: logger4 } = configuration;
|
|
20259
20302
|
const clientName = "DynamoDBClient";
|
|
@@ -20277,7 +20320,7 @@ var BatchWriteItemCommand = class extends Command2 {
|
|
|
20277
20320
|
};
|
|
20278
20321
|
|
|
20279
20322
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js
|
|
20280
|
-
var DeleteItemCommand = class extends Command2 {
|
|
20323
|
+
var DeleteItemCommand = class _DeleteItemCommand extends Command2 {
|
|
20281
20324
|
static getEndpointParameterInstructions() {
|
|
20282
20325
|
return {
|
|
20283
20326
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20292,7 +20335,7 @@ var DeleteItemCommand = class extends Command2 {
|
|
|
20292
20335
|
}
|
|
20293
20336
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20294
20337
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20295
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20338
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _DeleteItemCommand.getEndpointParameterInstructions()));
|
|
20296
20339
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20297
20340
|
const { logger: logger4 } = configuration;
|
|
20298
20341
|
const clientName = "DynamoDBClient";
|
|
@@ -20316,7 +20359,7 @@ var DeleteItemCommand = class extends Command2 {
|
|
|
20316
20359
|
};
|
|
20317
20360
|
|
|
20318
20361
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js
|
|
20319
|
-
var PutItemCommand = class extends Command2 {
|
|
20362
|
+
var PutItemCommand = class _PutItemCommand extends Command2 {
|
|
20320
20363
|
static getEndpointParameterInstructions() {
|
|
20321
20364
|
return {
|
|
20322
20365
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20331,7 +20374,7 @@ var PutItemCommand = class extends Command2 {
|
|
|
20331
20374
|
}
|
|
20332
20375
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20333
20376
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20334
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20377
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _PutItemCommand.getEndpointParameterInstructions()));
|
|
20335
20378
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20336
20379
|
const { logger: logger4 } = configuration;
|
|
20337
20380
|
const clientName = "DynamoDBClient";
|
|
@@ -20355,7 +20398,7 @@ var PutItemCommand = class extends Command2 {
|
|
|
20355
20398
|
};
|
|
20356
20399
|
|
|
20357
20400
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js
|
|
20358
|
-
var QueryCommand = class extends Command2 {
|
|
20401
|
+
var QueryCommand = class _QueryCommand extends Command2 {
|
|
20359
20402
|
static getEndpointParameterInstructions() {
|
|
20360
20403
|
return {
|
|
20361
20404
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20370,7 +20413,7 @@ var QueryCommand = class extends Command2 {
|
|
|
20370
20413
|
}
|
|
20371
20414
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20372
20415
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20373
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20416
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _QueryCommand.getEndpointParameterInstructions()));
|
|
20374
20417
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20375
20418
|
const { logger: logger4 } = configuration;
|
|
20376
20419
|
const clientName = "DynamoDBClient";
|
|
@@ -20394,7 +20437,7 @@ var QueryCommand = class extends Command2 {
|
|
|
20394
20437
|
};
|
|
20395
20438
|
|
|
20396
20439
|
// ../../node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js
|
|
20397
|
-
var UpdateItemCommand = class extends Command2 {
|
|
20440
|
+
var UpdateItemCommand = class _UpdateItemCommand extends Command2 {
|
|
20398
20441
|
static getEndpointParameterInstructions() {
|
|
20399
20442
|
return {
|
|
20400
20443
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -20409,7 +20452,7 @@ var UpdateItemCommand = class extends Command2 {
|
|
|
20409
20452
|
}
|
|
20410
20453
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20411
20454
|
this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize));
|
|
20412
|
-
this.middlewareStack.use(getEndpointPlugin2(configuration,
|
|
20455
|
+
this.middlewareStack.use(getEndpointPlugin2(configuration, _UpdateItemCommand.getEndpointParameterInstructions()));
|
|
20413
20456
|
const stack = clientStack.concat(this.middlewareStack);
|
|
20414
20457
|
const { logger: logger4 } = configuration;
|
|
20415
20458
|
const clientName = "DynamoDBClient";
|
|
@@ -20474,8 +20517,8 @@ var convertToAttr = (data, options) => {
|
|
|
20474
20517
|
var convertToListAttr = (data, options) => ({
|
|
20475
20518
|
L: data.filter((item) => !options?.removeUndefinedValues || options?.removeUndefinedValues && item !== void 0).map((item) => convertToAttr(item, options))
|
|
20476
20519
|
});
|
|
20477
|
-
var convertToSetAttr = (
|
|
20478
|
-
const setToOperate = options?.removeUndefinedValues ? new Set([...
|
|
20520
|
+
var convertToSetAttr = (set4, options) => {
|
|
20521
|
+
const setToOperate = options?.removeUndefinedValues ? new Set([...set4].filter((value) => value !== void 0)) : set4;
|
|
20479
20522
|
if (!options?.removeUndefinedValues && setToOperate.has(void 0)) {
|
|
20480
20523
|
throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`);
|
|
20481
20524
|
}
|
|
@@ -20935,7 +20978,7 @@ var scan = (table, options = {}) => {
|
|
|
20935
20978
|
} : null
|
|
20936
20979
|
);
|
|
20937
20980
|
};
|
|
20938
|
-
var
|
|
20981
|
+
var set2 = (table, key, value, options = {}) => {
|
|
20939
20982
|
const { pk, sk, kv, Item, isObj, labels, ttl, created, now, size, mvalue } = formatItem(key, value, options);
|
|
20940
20983
|
const meta = options.meta === true ? true : false;
|
|
20941
20984
|
const overwrite = options.overwrite === true ? true : false;
|
|
@@ -21425,7 +21468,7 @@ var formatItem = (key, value, options) => {
|
|
|
21425
21468
|
}
|
|
21426
21469
|
return { pk, sk, kv, Item, isObj, labels, ttl, created, now, size, mvalue: value };
|
|
21427
21470
|
};
|
|
21428
|
-
var params_default = { get, getBatch, set, setBatch, remove, removeBatch, scan };
|
|
21471
|
+
var params_default = { get, getBatch, set: set2, setBatch, remove, removeBatch, scan };
|
|
21429
21472
|
|
|
21430
21473
|
// ../../lib/data-core/src/index.ts
|
|
21431
21474
|
function getClient2() {
|
|
@@ -21509,7 +21552,7 @@ var get2 = async (client2, table, keys, options = {}) => {
|
|
|
21509
21552
|
}
|
|
21510
21553
|
}
|
|
21511
21554
|
};
|
|
21512
|
-
var
|
|
21555
|
+
var set3 = async (client2, table, keys, value, opts) => {
|
|
21513
21556
|
if (Array.isArray(keys)) {
|
|
21514
21557
|
const options = (typeof value === "boolean" ? { meta: true } : value) || {};
|
|
21515
21558
|
const meta = options.meta === true ? true : false;
|
|
@@ -21618,7 +21661,7 @@ var remove2 = async (client2, table, keys) => {
|
|
|
21618
21661
|
};
|
|
21619
21662
|
|
|
21620
21663
|
// ../../lib/system-data/system-data.ts
|
|
21621
|
-
var SystemData = class {
|
|
21664
|
+
var SystemData = class _SystemData {
|
|
21622
21665
|
constructor(client2, table) {
|
|
21623
21666
|
this.client = client2;
|
|
21624
21667
|
this.table = table;
|
|
@@ -21628,13 +21671,13 @@ var SystemData = class {
|
|
|
21628
21671
|
static create() {
|
|
21629
21672
|
const table = "sys-d2a57dc1";
|
|
21630
21673
|
const client2 = getClient2();
|
|
21631
|
-
return new
|
|
21674
|
+
return new _SystemData(client2, table);
|
|
21632
21675
|
}
|
|
21633
21676
|
get(keys, options = {}) {
|
|
21634
21677
|
return get2(this.client, this.table, keys, options);
|
|
21635
21678
|
}
|
|
21636
21679
|
set(keys, value, options = {}) {
|
|
21637
|
-
return
|
|
21680
|
+
return set3(this.client, this.table, keys, value, options);
|
|
21638
21681
|
}
|
|
21639
21682
|
getByLabel(label, keys, options = {}) {
|
|
21640
21683
|
return getByLabel(this.client, this.table, label, keys, options);
|
|
@@ -21811,7 +21854,7 @@ var RequestHandlerProtocol3;
|
|
|
21811
21854
|
})(RequestHandlerProtocol3 || (RequestHandlerProtocol3 = {}));
|
|
21812
21855
|
|
|
21813
21856
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/protocol-http/dist-es/httpRequest.js
|
|
21814
|
-
var HttpRequest3 = class {
|
|
21857
|
+
var HttpRequest3 = class _HttpRequest {
|
|
21815
21858
|
constructor(options) {
|
|
21816
21859
|
this.method = options.method || "GET";
|
|
21817
21860
|
this.hostname = options.hostname || "localhost";
|
|
@@ -21832,7 +21875,7 @@ var HttpRequest3 = class {
|
|
|
21832
21875
|
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
21833
21876
|
}
|
|
21834
21877
|
clone() {
|
|
21835
|
-
const cloned = new
|
|
21878
|
+
const cloned = new _HttpRequest({
|
|
21836
21879
|
...this,
|
|
21837
21880
|
headers: { ...this.headers }
|
|
21838
21881
|
});
|
|
@@ -21977,12 +22020,12 @@ var getRecursionDetectionPlugin3 = (options) => ({
|
|
|
21977
22020
|
});
|
|
21978
22021
|
|
|
21979
22022
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/property-provider/dist-es/ProviderError.js
|
|
21980
|
-
var ProviderError2 = class extends Error {
|
|
22023
|
+
var ProviderError2 = class _ProviderError extends Error {
|
|
21981
22024
|
constructor(message, tryNextLink = true) {
|
|
21982
22025
|
super(message);
|
|
21983
22026
|
this.tryNextLink = tryNextLink;
|
|
21984
22027
|
this.name = "ProviderError";
|
|
21985
|
-
Object.setPrototypeOf(this,
|
|
22028
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
21986
22029
|
}
|
|
21987
22030
|
static from(error, tryNextLink = true) {
|
|
21988
22031
|
return Object.assign(new this(error.message, tryNextLink), error);
|
|
@@ -21990,22 +22033,22 @@ var ProviderError2 = class extends Error {
|
|
|
21990
22033
|
};
|
|
21991
22034
|
|
|
21992
22035
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
|
|
21993
|
-
var CredentialsProviderError2 = class extends ProviderError2 {
|
|
22036
|
+
var CredentialsProviderError2 = class _CredentialsProviderError extends ProviderError2 {
|
|
21994
22037
|
constructor(message, tryNextLink = true) {
|
|
21995
22038
|
super(message, tryNextLink);
|
|
21996
22039
|
this.tryNextLink = tryNextLink;
|
|
21997
22040
|
this.name = "CredentialsProviderError";
|
|
21998
|
-
Object.setPrototypeOf(this,
|
|
22041
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
21999
22042
|
}
|
|
22000
22043
|
};
|
|
22001
22044
|
|
|
22002
22045
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
|
|
22003
|
-
var TokenProviderError2 = class extends ProviderError2 {
|
|
22046
|
+
var TokenProviderError2 = class _TokenProviderError extends ProviderError2 {
|
|
22004
22047
|
constructor(message, tryNextLink = true) {
|
|
22005
22048
|
super(message, tryNextLink);
|
|
22006
22049
|
this.tryNextLink = tryNextLink;
|
|
22007
22050
|
this.name = "TokenProviderError";
|
|
22008
|
-
Object.setPrototypeOf(this,
|
|
22051
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
22009
22052
|
}
|
|
22010
22053
|
};
|
|
22011
22054
|
|
|
@@ -22117,7 +22160,7 @@ function toHex3(bytes) {
|
|
|
22117
22160
|
}
|
|
22118
22161
|
|
|
22119
22162
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
22120
|
-
var Int642 = class {
|
|
22163
|
+
var Int642 = class _Int64 {
|
|
22121
22164
|
constructor(bytes) {
|
|
22122
22165
|
this.bytes = bytes;
|
|
22123
22166
|
if (bytes.byteLength !== 8) {
|
|
@@ -22135,7 +22178,7 @@ var Int642 = class {
|
|
|
22135
22178
|
if (number < 0) {
|
|
22136
22179
|
negate2(bytes);
|
|
22137
22180
|
}
|
|
22138
|
-
return new
|
|
22181
|
+
return new _Int64(bytes);
|
|
22139
22182
|
}
|
|
22140
22183
|
valueOf() {
|
|
22141
22184
|
const bytes = this.bytes.slice(0);
|
|
@@ -25216,7 +25259,7 @@ function transformFromString2(str, encoding) {
|
|
|
25216
25259
|
}
|
|
25217
25260
|
|
|
25218
25261
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
25219
|
-
var Uint8ArrayBlobAdapter2 = class extends Uint8Array {
|
|
25262
|
+
var Uint8ArrayBlobAdapter2 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
25220
25263
|
static fromString(source, encoding = "utf-8") {
|
|
25221
25264
|
switch (typeof source) {
|
|
25222
25265
|
case "string":
|
|
@@ -25226,7 +25269,7 @@ var Uint8ArrayBlobAdapter2 = class extends Uint8Array {
|
|
|
25226
25269
|
}
|
|
25227
25270
|
}
|
|
25228
25271
|
static mutate(source) {
|
|
25229
|
-
Object.setPrototypeOf(source,
|
|
25272
|
+
Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype);
|
|
25230
25273
|
return source;
|
|
25231
25274
|
}
|
|
25232
25275
|
transformToString(encoding = "utf-8") {
|
|
@@ -25799,10 +25842,10 @@ var stripLeadingZeroes2 = (value) => {
|
|
|
25799
25842
|
};
|
|
25800
25843
|
|
|
25801
25844
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
25802
|
-
var ServiceException3 = class extends Error {
|
|
25845
|
+
var ServiceException3 = class _ServiceException extends Error {
|
|
25803
25846
|
constructor(options) {
|
|
25804
25847
|
super(options.message);
|
|
25805
|
-
Object.setPrototypeOf(this,
|
|
25848
|
+
Object.setPrototypeOf(this, _ServiceException.prototype);
|
|
25806
25849
|
this.name = options.name;
|
|
25807
25850
|
this.$fault = options.$fault;
|
|
25808
25851
|
this.$metadata = options.$metadata;
|
|
@@ -26339,15 +26382,15 @@ var package_default7 = {
|
|
|
26339
26382
|
};
|
|
26340
26383
|
|
|
26341
26384
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
|
26342
|
-
var STSServiceException2 = class extends ServiceException3 {
|
|
26385
|
+
var STSServiceException2 = class _STSServiceException extends ServiceException3 {
|
|
26343
26386
|
constructor(options) {
|
|
26344
26387
|
super(options);
|
|
26345
|
-
Object.setPrototypeOf(this,
|
|
26388
|
+
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
|
26346
26389
|
}
|
|
26347
26390
|
};
|
|
26348
26391
|
|
|
26349
26392
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
|
26350
|
-
var ExpiredTokenException3 = class extends STSServiceException2 {
|
|
26393
|
+
var ExpiredTokenException3 = class _ExpiredTokenException3 extends STSServiceException2 {
|
|
26351
26394
|
constructor(opts) {
|
|
26352
26395
|
super({
|
|
26353
26396
|
name: "ExpiredTokenException",
|
|
@@ -26356,10 +26399,10 @@ var ExpiredTokenException3 = class extends STSServiceException2 {
|
|
|
26356
26399
|
});
|
|
26357
26400
|
this.name = "ExpiredTokenException";
|
|
26358
26401
|
this.$fault = "client";
|
|
26359
|
-
Object.setPrototypeOf(this,
|
|
26402
|
+
Object.setPrototypeOf(this, _ExpiredTokenException3.prototype);
|
|
26360
26403
|
}
|
|
26361
26404
|
};
|
|
26362
|
-
var MalformedPolicyDocumentException2 = class extends STSServiceException2 {
|
|
26405
|
+
var MalformedPolicyDocumentException2 = class _MalformedPolicyDocumentException extends STSServiceException2 {
|
|
26363
26406
|
constructor(opts) {
|
|
26364
26407
|
super({
|
|
26365
26408
|
name: "MalformedPolicyDocumentException",
|
|
@@ -26368,10 +26411,10 @@ var MalformedPolicyDocumentException2 = class extends STSServiceException2 {
|
|
|
26368
26411
|
});
|
|
26369
26412
|
this.name = "MalformedPolicyDocumentException";
|
|
26370
26413
|
this.$fault = "client";
|
|
26371
|
-
Object.setPrototypeOf(this,
|
|
26414
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
26372
26415
|
}
|
|
26373
26416
|
};
|
|
26374
|
-
var PackedPolicyTooLargeException2 = class extends STSServiceException2 {
|
|
26417
|
+
var PackedPolicyTooLargeException2 = class _PackedPolicyTooLargeException extends STSServiceException2 {
|
|
26375
26418
|
constructor(opts) {
|
|
26376
26419
|
super({
|
|
26377
26420
|
name: "PackedPolicyTooLargeException",
|
|
@@ -26380,10 +26423,10 @@ var PackedPolicyTooLargeException2 = class extends STSServiceException2 {
|
|
|
26380
26423
|
});
|
|
26381
26424
|
this.name = "PackedPolicyTooLargeException";
|
|
26382
26425
|
this.$fault = "client";
|
|
26383
|
-
Object.setPrototypeOf(this,
|
|
26426
|
+
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
26384
26427
|
}
|
|
26385
26428
|
};
|
|
26386
|
-
var RegionDisabledException2 = class extends STSServiceException2 {
|
|
26429
|
+
var RegionDisabledException2 = class _RegionDisabledException extends STSServiceException2 {
|
|
26387
26430
|
constructor(opts) {
|
|
26388
26431
|
super({
|
|
26389
26432
|
name: "RegionDisabledException",
|
|
@@ -26392,10 +26435,10 @@ var RegionDisabledException2 = class extends STSServiceException2 {
|
|
|
26392
26435
|
});
|
|
26393
26436
|
this.name = "RegionDisabledException";
|
|
26394
26437
|
this.$fault = "client";
|
|
26395
|
-
Object.setPrototypeOf(this,
|
|
26438
|
+
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
|
26396
26439
|
}
|
|
26397
26440
|
};
|
|
26398
|
-
var IDPRejectedClaimException2 = class extends STSServiceException2 {
|
|
26441
|
+
var IDPRejectedClaimException2 = class _IDPRejectedClaimException extends STSServiceException2 {
|
|
26399
26442
|
constructor(opts) {
|
|
26400
26443
|
super({
|
|
26401
26444
|
name: "IDPRejectedClaimException",
|
|
@@ -26404,10 +26447,10 @@ var IDPRejectedClaimException2 = class extends STSServiceException2 {
|
|
|
26404
26447
|
});
|
|
26405
26448
|
this.name = "IDPRejectedClaimException";
|
|
26406
26449
|
this.$fault = "client";
|
|
26407
|
-
Object.setPrototypeOf(this,
|
|
26450
|
+
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
|
26408
26451
|
}
|
|
26409
26452
|
};
|
|
26410
|
-
var InvalidIdentityTokenException2 = class extends STSServiceException2 {
|
|
26453
|
+
var InvalidIdentityTokenException2 = class _InvalidIdentityTokenException extends STSServiceException2 {
|
|
26411
26454
|
constructor(opts) {
|
|
26412
26455
|
super({
|
|
26413
26456
|
name: "InvalidIdentityTokenException",
|
|
@@ -26416,10 +26459,10 @@ var InvalidIdentityTokenException2 = class extends STSServiceException2 {
|
|
|
26416
26459
|
});
|
|
26417
26460
|
this.name = "InvalidIdentityTokenException";
|
|
26418
26461
|
this.$fault = "client";
|
|
26419
|
-
Object.setPrototypeOf(this,
|
|
26462
|
+
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
|
26420
26463
|
}
|
|
26421
26464
|
};
|
|
26422
|
-
var IDPCommunicationErrorException2 = class extends STSServiceException2 {
|
|
26465
|
+
var IDPCommunicationErrorException2 = class _IDPCommunicationErrorException extends STSServiceException2 {
|
|
26423
26466
|
constructor(opts) {
|
|
26424
26467
|
super({
|
|
26425
26468
|
name: "IDPCommunicationErrorException",
|
|
@@ -26428,7 +26471,7 @@ var IDPCommunicationErrorException2 = class extends STSServiceException2 {
|
|
|
26428
26471
|
});
|
|
26429
26472
|
this.name = "IDPCommunicationErrorException";
|
|
26430
26473
|
this.$fault = "client";
|
|
26431
|
-
Object.setPrototypeOf(this,
|
|
26474
|
+
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
|
26432
26475
|
}
|
|
26433
26476
|
};
|
|
26434
26477
|
var CredentialsFilterSensitiveLog2 = (obj) => ({
|
|
@@ -26996,7 +27039,7 @@ var loadQueryErrorCode3 = (output, data) => {
|
|
|
26996
27039
|
};
|
|
26997
27040
|
|
|
26998
27041
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
|
26999
|
-
var AssumeRoleCommand2 = class extends Command3 {
|
|
27042
|
+
var AssumeRoleCommand2 = class _AssumeRoleCommand extends Command3 {
|
|
27000
27043
|
static getEndpointParameterInstructions() {
|
|
27001
27044
|
return {
|
|
27002
27045
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -27012,7 +27055,7 @@ var AssumeRoleCommand2 = class extends Command3 {
|
|
|
27012
27055
|
}
|
|
27013
27056
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27014
27057
|
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
27015
|
-
this.middlewareStack.use(getEndpointPlugin3(configuration,
|
|
27058
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _AssumeRoleCommand.getEndpointParameterInstructions()));
|
|
27016
27059
|
this.middlewareStack.use(getAwsAuthPlugin3(configuration));
|
|
27017
27060
|
const stack = clientStack.concat(this.middlewareStack);
|
|
27018
27061
|
const { logger: logger4 } = configuration;
|
|
@@ -27041,7 +27084,7 @@ var AssumeRoleCommand2 = class extends Command3 {
|
|
|
27041
27084
|
};
|
|
27042
27085
|
|
|
27043
27086
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
|
27044
|
-
var AssumeRoleWithWebIdentityCommand2 = class extends Command3 {
|
|
27087
|
+
var AssumeRoleWithWebIdentityCommand2 = class _AssumeRoleWithWebIdentityCommand extends Command3 {
|
|
27045
27088
|
static getEndpointParameterInstructions() {
|
|
27046
27089
|
return {
|
|
27047
27090
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -27057,7 +27100,7 @@ var AssumeRoleWithWebIdentityCommand2 = class extends Command3 {
|
|
|
27057
27100
|
}
|
|
27058
27101
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27059
27102
|
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
27060
|
-
this.middlewareStack.use(getEndpointPlugin3(configuration,
|
|
27103
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
|
27061
27104
|
const stack = clientStack.concat(this.middlewareStack);
|
|
27062
27105
|
const { logger: logger4 } = configuration;
|
|
27063
27106
|
const clientName = "STSClient";
|
|
@@ -27313,12 +27356,12 @@ var getCmdsUri2 = async () => {
|
|
|
27313
27356
|
};
|
|
27314
27357
|
|
|
27315
27358
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
|
|
27316
|
-
var InstanceMetadataV1FallbackError = class extends CredentialsProviderError2 {
|
|
27359
|
+
var InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends CredentialsProviderError2 {
|
|
27317
27360
|
constructor(message, tryNextLink = true) {
|
|
27318
27361
|
super(message, tryNextLink);
|
|
27319
27362
|
this.tryNextLink = tryNextLink;
|
|
27320
27363
|
this.name = "InstanceMetadataV1FallbackError";
|
|
27321
|
-
Object.setPrototypeOf(this,
|
|
27364
|
+
Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype);
|
|
27322
27365
|
}
|
|
27323
27366
|
};
|
|
27324
27367
|
|
|
@@ -28084,15 +28127,15 @@ var SSOClient2 = class extends Client3 {
|
|
|
28084
28127
|
};
|
|
28085
28128
|
|
|
28086
28129
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
28087
|
-
var SSOServiceException2 = class extends ServiceException3 {
|
|
28130
|
+
var SSOServiceException2 = class _SSOServiceException extends ServiceException3 {
|
|
28088
28131
|
constructor(options) {
|
|
28089
28132
|
super(options);
|
|
28090
|
-
Object.setPrototypeOf(this,
|
|
28133
|
+
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
28091
28134
|
}
|
|
28092
28135
|
};
|
|
28093
28136
|
|
|
28094
28137
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js
|
|
28095
|
-
var InvalidRequestException3 = class extends SSOServiceException2 {
|
|
28138
|
+
var InvalidRequestException3 = class _InvalidRequestException3 extends SSOServiceException2 {
|
|
28096
28139
|
constructor(opts) {
|
|
28097
28140
|
super({
|
|
28098
28141
|
name: "InvalidRequestException",
|
|
@@ -28101,10 +28144,10 @@ var InvalidRequestException3 = class extends SSOServiceException2 {
|
|
|
28101
28144
|
});
|
|
28102
28145
|
this.name = "InvalidRequestException";
|
|
28103
28146
|
this.$fault = "client";
|
|
28104
|
-
Object.setPrototypeOf(this,
|
|
28147
|
+
Object.setPrototypeOf(this, _InvalidRequestException3.prototype);
|
|
28105
28148
|
}
|
|
28106
28149
|
};
|
|
28107
|
-
var ResourceNotFoundException3 = class extends SSOServiceException2 {
|
|
28150
|
+
var ResourceNotFoundException3 = class _ResourceNotFoundException extends SSOServiceException2 {
|
|
28108
28151
|
constructor(opts) {
|
|
28109
28152
|
super({
|
|
28110
28153
|
name: "ResourceNotFoundException",
|
|
@@ -28113,10 +28156,10 @@ var ResourceNotFoundException3 = class extends SSOServiceException2 {
|
|
|
28113
28156
|
});
|
|
28114
28157
|
this.name = "ResourceNotFoundException";
|
|
28115
28158
|
this.$fault = "client";
|
|
28116
|
-
Object.setPrototypeOf(this,
|
|
28159
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
28117
28160
|
}
|
|
28118
28161
|
};
|
|
28119
|
-
var TooManyRequestsException2 = class extends SSOServiceException2 {
|
|
28162
|
+
var TooManyRequestsException2 = class _TooManyRequestsException extends SSOServiceException2 {
|
|
28120
28163
|
constructor(opts) {
|
|
28121
28164
|
super({
|
|
28122
28165
|
name: "TooManyRequestsException",
|
|
@@ -28125,10 +28168,10 @@ var TooManyRequestsException2 = class extends SSOServiceException2 {
|
|
|
28125
28168
|
});
|
|
28126
28169
|
this.name = "TooManyRequestsException";
|
|
28127
28170
|
this.$fault = "client";
|
|
28128
|
-
Object.setPrototypeOf(this,
|
|
28171
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
28129
28172
|
}
|
|
28130
28173
|
};
|
|
28131
|
-
var UnauthorizedException2 = class extends SSOServiceException2 {
|
|
28174
|
+
var UnauthorizedException2 = class _UnauthorizedException extends SSOServiceException2 {
|
|
28132
28175
|
constructor(opts) {
|
|
28133
28176
|
super({
|
|
28134
28177
|
name: "UnauthorizedException",
|
|
@@ -28137,7 +28180,7 @@ var UnauthorizedException2 = class extends SSOServiceException2 {
|
|
|
28137
28180
|
});
|
|
28138
28181
|
this.name = "UnauthorizedException";
|
|
28139
28182
|
this.$fault = "client";
|
|
28140
|
-
Object.setPrototypeOf(this,
|
|
28183
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
28141
28184
|
}
|
|
28142
28185
|
};
|
|
28143
28186
|
var GetRoleCredentialsRequestFilterSensitiveLog2 = (obj) => ({
|
|
@@ -28322,7 +28365,7 @@ var loadRestJsonErrorCode4 = (output, data) => {
|
|
|
28322
28365
|
};
|
|
28323
28366
|
|
|
28324
28367
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
28325
|
-
var GetRoleCredentialsCommand2 = class extends Command3 {
|
|
28368
|
+
var GetRoleCredentialsCommand2 = class _GetRoleCredentialsCommand extends Command3 {
|
|
28326
28369
|
static getEndpointParameterInstructions() {
|
|
28327
28370
|
return {
|
|
28328
28371
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -28337,7 +28380,7 @@ var GetRoleCredentialsCommand2 = class extends Command3 {
|
|
|
28337
28380
|
}
|
|
28338
28381
|
resolveMiddleware(clientStack, configuration, options) {
|
|
28339
28382
|
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
28340
|
-
this.middlewareStack.use(getEndpointPlugin3(configuration,
|
|
28383
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions()));
|
|
28341
28384
|
const stack = clientStack.concat(this.middlewareStack);
|
|
28342
28385
|
const { logger: logger4 } = configuration;
|
|
28343
28386
|
const clientName = "SSOClient";
|
|
@@ -29788,7 +29831,7 @@ var resolveRuntimeExtensions3 = (runtimeConfig, extensions) => {
|
|
|
29788
29831
|
};
|
|
29789
29832
|
|
|
29790
29833
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
|
29791
|
-
var STSClient2 = class extends Client3 {
|
|
29834
|
+
var STSClient2 = class _STSClient extends Client3 {
|
|
29792
29835
|
constructor(...[configuration]) {
|
|
29793
29836
|
const _config_0 = getRuntimeConfig15(configuration || {});
|
|
29794
29837
|
const _config_1 = resolveClientEndpointParameters7(_config_0);
|
|
@@ -29796,7 +29839,7 @@ var STSClient2 = class extends Client3 {
|
|
|
29796
29839
|
const _config_3 = resolveEndpointConfig3(_config_2);
|
|
29797
29840
|
const _config_4 = resolveRetryConfig3(_config_3);
|
|
29798
29841
|
const _config_5 = resolveHostHeaderConfig3(_config_4);
|
|
29799
|
-
const _config_6 = resolveStsAuthConfig2(_config_5, { stsClientCtor:
|
|
29842
|
+
const _config_6 = resolveStsAuthConfig2(_config_5, { stsClientCtor: _STSClient });
|
|
29800
29843
|
const _config_7 = resolveUserAgentConfig3(_config_6);
|
|
29801
29844
|
const _config_8 = resolveRuntimeExtensions3(_config_7, configuration?.extensions || []);
|
|
29802
29845
|
super(_config_8);
|
|
@@ -29873,7 +29916,7 @@ function toHex4(bytes) {
|
|
|
29873
29916
|
}
|
|
29874
29917
|
|
|
29875
29918
|
// ../../node_modules/@smithy/eventstream-serde-universal/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
29876
|
-
var Int643 = class {
|
|
29919
|
+
var Int643 = class _Int64 {
|
|
29877
29920
|
constructor(bytes) {
|
|
29878
29921
|
this.bytes = bytes;
|
|
29879
29922
|
if (bytes.byteLength !== 8) {
|
|
@@ -29891,7 +29934,7 @@ var Int643 = class {
|
|
|
29891
29934
|
if (number < 0) {
|
|
29892
29935
|
negate3(bytes);
|
|
29893
29936
|
}
|
|
29894
|
-
return new
|
|
29937
|
+
return new _Int64(bytes);
|
|
29895
29938
|
}
|
|
29896
29939
|
valueOf() {
|
|
29897
29940
|
const bytes = this.bytes.slice(0);
|
|
@@ -30558,15 +30601,15 @@ var BedrockRuntimeClient = class extends Client3 {
|
|
|
30558
30601
|
};
|
|
30559
30602
|
|
|
30560
30603
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
|
|
30561
|
-
var BedrockRuntimeServiceException = class extends ServiceException3 {
|
|
30604
|
+
var BedrockRuntimeServiceException = class _BedrockRuntimeServiceException extends ServiceException3 {
|
|
30562
30605
|
constructor(options) {
|
|
30563
30606
|
super(options);
|
|
30564
|
-
Object.setPrototypeOf(this,
|
|
30607
|
+
Object.setPrototypeOf(this, _BedrockRuntimeServiceException.prototype);
|
|
30565
30608
|
}
|
|
30566
30609
|
};
|
|
30567
30610
|
|
|
30568
30611
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
|
|
30569
|
-
var AccessDeniedException3 = class extends BedrockRuntimeServiceException {
|
|
30612
|
+
var AccessDeniedException3 = class _AccessDeniedException3 extends BedrockRuntimeServiceException {
|
|
30570
30613
|
constructor(opts) {
|
|
30571
30614
|
super({
|
|
30572
30615
|
name: "AccessDeniedException",
|
|
@@ -30575,10 +30618,10 @@ var AccessDeniedException3 = class extends BedrockRuntimeServiceException {
|
|
|
30575
30618
|
});
|
|
30576
30619
|
this.name = "AccessDeniedException";
|
|
30577
30620
|
this.$fault = "client";
|
|
30578
|
-
Object.setPrototypeOf(this,
|
|
30621
|
+
Object.setPrototypeOf(this, _AccessDeniedException3.prototype);
|
|
30579
30622
|
}
|
|
30580
30623
|
};
|
|
30581
|
-
var InternalServerException3 = class extends BedrockRuntimeServiceException {
|
|
30624
|
+
var InternalServerException3 = class _InternalServerException3 extends BedrockRuntimeServiceException {
|
|
30582
30625
|
constructor(opts) {
|
|
30583
30626
|
super({
|
|
30584
30627
|
name: "InternalServerException",
|
|
@@ -30587,10 +30630,10 @@ var InternalServerException3 = class extends BedrockRuntimeServiceException {
|
|
|
30587
30630
|
});
|
|
30588
30631
|
this.name = "InternalServerException";
|
|
30589
30632
|
this.$fault = "server";
|
|
30590
|
-
Object.setPrototypeOf(this,
|
|
30633
|
+
Object.setPrototypeOf(this, _InternalServerException3.prototype);
|
|
30591
30634
|
}
|
|
30592
30635
|
};
|
|
30593
|
-
var ModelErrorException = class extends BedrockRuntimeServiceException {
|
|
30636
|
+
var ModelErrorException = class _ModelErrorException extends BedrockRuntimeServiceException {
|
|
30594
30637
|
constructor(opts) {
|
|
30595
30638
|
super({
|
|
30596
30639
|
name: "ModelErrorException",
|
|
@@ -30599,12 +30642,12 @@ var ModelErrorException = class extends BedrockRuntimeServiceException {
|
|
|
30599
30642
|
});
|
|
30600
30643
|
this.name = "ModelErrorException";
|
|
30601
30644
|
this.$fault = "client";
|
|
30602
|
-
Object.setPrototypeOf(this,
|
|
30645
|
+
Object.setPrototypeOf(this, _ModelErrorException.prototype);
|
|
30603
30646
|
this.originalStatusCode = opts.originalStatusCode;
|
|
30604
30647
|
this.resourceName = opts.resourceName;
|
|
30605
30648
|
}
|
|
30606
30649
|
};
|
|
30607
|
-
var ModelNotReadyException = class extends BedrockRuntimeServiceException {
|
|
30650
|
+
var ModelNotReadyException = class _ModelNotReadyException extends BedrockRuntimeServiceException {
|
|
30608
30651
|
constructor(opts) {
|
|
30609
30652
|
super({
|
|
30610
30653
|
name: "ModelNotReadyException",
|
|
@@ -30613,10 +30656,10 @@ var ModelNotReadyException = class extends BedrockRuntimeServiceException {
|
|
|
30613
30656
|
});
|
|
30614
30657
|
this.name = "ModelNotReadyException";
|
|
30615
30658
|
this.$fault = "client";
|
|
30616
|
-
Object.setPrototypeOf(this,
|
|
30659
|
+
Object.setPrototypeOf(this, _ModelNotReadyException.prototype);
|
|
30617
30660
|
}
|
|
30618
30661
|
};
|
|
30619
|
-
var ModelTimeoutException = class extends BedrockRuntimeServiceException {
|
|
30662
|
+
var ModelTimeoutException = class _ModelTimeoutException extends BedrockRuntimeServiceException {
|
|
30620
30663
|
constructor(opts) {
|
|
30621
30664
|
super({
|
|
30622
30665
|
name: "ModelTimeoutException",
|
|
@@ -30625,10 +30668,10 @@ var ModelTimeoutException = class extends BedrockRuntimeServiceException {
|
|
|
30625
30668
|
});
|
|
30626
30669
|
this.name = "ModelTimeoutException";
|
|
30627
30670
|
this.$fault = "client";
|
|
30628
|
-
Object.setPrototypeOf(this,
|
|
30671
|
+
Object.setPrototypeOf(this, _ModelTimeoutException.prototype);
|
|
30629
30672
|
}
|
|
30630
30673
|
};
|
|
30631
|
-
var ResourceNotFoundException4 = class extends BedrockRuntimeServiceException {
|
|
30674
|
+
var ResourceNotFoundException4 = class _ResourceNotFoundException extends BedrockRuntimeServiceException {
|
|
30632
30675
|
constructor(opts) {
|
|
30633
30676
|
super({
|
|
30634
30677
|
name: "ResourceNotFoundException",
|
|
@@ -30637,10 +30680,10 @@ var ResourceNotFoundException4 = class extends BedrockRuntimeServiceException {
|
|
|
30637
30680
|
});
|
|
30638
30681
|
this.name = "ResourceNotFoundException";
|
|
30639
30682
|
this.$fault = "client";
|
|
30640
|
-
Object.setPrototypeOf(this,
|
|
30683
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
30641
30684
|
}
|
|
30642
30685
|
};
|
|
30643
|
-
var ServiceQuotaExceededException = class extends BedrockRuntimeServiceException {
|
|
30686
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockRuntimeServiceException {
|
|
30644
30687
|
constructor(opts) {
|
|
30645
30688
|
super({
|
|
30646
30689
|
name: "ServiceQuotaExceededException",
|
|
@@ -30649,10 +30692,10 @@ var ServiceQuotaExceededException = class extends BedrockRuntimeServiceException
|
|
|
30649
30692
|
});
|
|
30650
30693
|
this.name = "ServiceQuotaExceededException";
|
|
30651
30694
|
this.$fault = "client";
|
|
30652
|
-
Object.setPrototypeOf(this,
|
|
30695
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
30653
30696
|
}
|
|
30654
30697
|
};
|
|
30655
|
-
var ThrottlingException = class extends BedrockRuntimeServiceException {
|
|
30698
|
+
var ThrottlingException = class _ThrottlingException extends BedrockRuntimeServiceException {
|
|
30656
30699
|
constructor(opts) {
|
|
30657
30700
|
super({
|
|
30658
30701
|
name: "ThrottlingException",
|
|
@@ -30661,10 +30704,10 @@ var ThrottlingException = class extends BedrockRuntimeServiceException {
|
|
|
30661
30704
|
});
|
|
30662
30705
|
this.name = "ThrottlingException";
|
|
30663
30706
|
this.$fault = "client";
|
|
30664
|
-
Object.setPrototypeOf(this,
|
|
30707
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
30665
30708
|
}
|
|
30666
30709
|
};
|
|
30667
|
-
var ValidationException = class extends BedrockRuntimeServiceException {
|
|
30710
|
+
var ValidationException = class _ValidationException extends BedrockRuntimeServiceException {
|
|
30668
30711
|
constructor(opts) {
|
|
30669
30712
|
super({
|
|
30670
30713
|
name: "ValidationException",
|
|
@@ -30673,10 +30716,10 @@ var ValidationException = class extends BedrockRuntimeServiceException {
|
|
|
30673
30716
|
});
|
|
30674
30717
|
this.name = "ValidationException";
|
|
30675
30718
|
this.$fault = "client";
|
|
30676
|
-
Object.setPrototypeOf(this,
|
|
30719
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
30677
30720
|
}
|
|
30678
30721
|
};
|
|
30679
|
-
var ModelStreamErrorException = class extends BedrockRuntimeServiceException {
|
|
30722
|
+
var ModelStreamErrorException = class _ModelStreamErrorException extends BedrockRuntimeServiceException {
|
|
30680
30723
|
constructor(opts) {
|
|
30681
30724
|
super({
|
|
30682
30725
|
name: "ModelStreamErrorException",
|
|
@@ -30685,7 +30728,7 @@ var ModelStreamErrorException = class extends BedrockRuntimeServiceException {
|
|
|
30685
30728
|
});
|
|
30686
30729
|
this.name = "ModelStreamErrorException";
|
|
30687
30730
|
this.$fault = "client";
|
|
30688
|
-
Object.setPrototypeOf(this,
|
|
30731
|
+
Object.setPrototypeOf(this, _ModelStreamErrorException.prototype);
|
|
30689
30732
|
this.originalStatusCode = opts.originalStatusCode;
|
|
30690
30733
|
this.originalMessage = opts.originalMessage;
|
|
30691
30734
|
}
|
|
@@ -31149,7 +31192,7 @@ var loadRestJsonErrorCode6 = (output, data) => {
|
|
|
31149
31192
|
};
|
|
31150
31193
|
|
|
31151
31194
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
|
|
31152
|
-
var InvokeModelCommand = class extends Command3 {
|
|
31195
|
+
var InvokeModelCommand = class _InvokeModelCommand extends Command3 {
|
|
31153
31196
|
static getEndpointParameterInstructions() {
|
|
31154
31197
|
return {
|
|
31155
31198
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -31164,7 +31207,7 @@ var InvokeModelCommand = class extends Command3 {
|
|
|
31164
31207
|
}
|
|
31165
31208
|
resolveMiddleware(clientStack, configuration, options) {
|
|
31166
31209
|
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
31167
|
-
this.middlewareStack.use(getEndpointPlugin3(configuration,
|
|
31210
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _InvokeModelCommand.getEndpointParameterInstructions()));
|
|
31168
31211
|
const stack = clientStack.concat(this.middlewareStack);
|
|
31169
31212
|
const { logger: logger4 } = configuration;
|
|
31170
31213
|
const clientName = "BedrockRuntimeClient";
|
|
@@ -31192,7 +31235,7 @@ var InvokeModelCommand = class extends Command3 {
|
|
|
31192
31235
|
};
|
|
31193
31236
|
|
|
31194
31237
|
// ../../node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
|
|
31195
|
-
var InvokeModelWithResponseStreamCommand = class extends Command3 {
|
|
31238
|
+
var InvokeModelWithResponseStreamCommand = class _InvokeModelWithResponseStreamCommand extends Command3 {
|
|
31196
31239
|
static getEndpointParameterInstructions() {
|
|
31197
31240
|
return {
|
|
31198
31241
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -31207,7 +31250,7 @@ var InvokeModelWithResponseStreamCommand = class extends Command3 {
|
|
|
31207
31250
|
}
|
|
31208
31251
|
resolveMiddleware(clientStack, configuration, options) {
|
|
31209
31252
|
this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize));
|
|
31210
|
-
this.middlewareStack.use(getEndpointPlugin3(configuration,
|
|
31253
|
+
this.middlewareStack.use(getEndpointPlugin3(configuration, _InvokeModelWithResponseStreamCommand.getEndpointParameterInstructions()));
|
|
31211
31254
|
const stack = clientStack.concat(this.middlewareStack);
|
|
31212
31255
|
const { logger: logger4 } = configuration;
|
|
31213
31256
|
const clientName = "BedrockRuntimeClient";
|
|
@@ -31272,7 +31315,10 @@ function credentialsProvider() {
|
|
|
31272
31315
|
// src/bedrock.ts
|
|
31273
31316
|
var region = process.env.AWS_REGION ?? "us-east-1";
|
|
31274
31317
|
var bedrockRegion = region.startsWith("us-west-") || region.startsWith("ap-") ? "us-west-2" : "us-east-1";
|
|
31275
|
-
var
|
|
31318
|
+
var bedrock_default = (params) => {
|
|
31319
|
+
const { region: region3 = bedrockRegion } = params ?? {};
|
|
31320
|
+
return new BedrockRuntime({ credentialDefaultProvider: credentialsProvider, region: region3 });
|
|
31321
|
+
};
|
|
31276
31322
|
|
|
31277
31323
|
// src/models.ts
|
|
31278
31324
|
async function models() {
|
|
@@ -31353,6 +31399,17 @@ var modelInfoMap = {
|
|
|
31353
31399
|
return Math.round(inputSize / AVERAGE_BYTES_PER_TOKEN * 1102 + outputSize / AVERAGE_BYTES_PER_TOKEN * 3268);
|
|
31354
31400
|
}
|
|
31355
31401
|
},
|
|
31402
|
+
"anthropic.claude-3-sonnet-20240229-v1:0": {
|
|
31403
|
+
name: "Claude 3 Sonnet",
|
|
31404
|
+
type: "language" /* Language */,
|
|
31405
|
+
streaming: true,
|
|
31406
|
+
provider: "Anthropic",
|
|
31407
|
+
description: "",
|
|
31408
|
+
version: "v1",
|
|
31409
|
+
inferenceUsage: (inputSize, outputSize) => {
|
|
31410
|
+
return Math.round(inputSize / AVERAGE_BYTES_PER_TOKEN * 300 + outputSize / AVERAGE_BYTES_PER_TOKEN * 1500);
|
|
31411
|
+
}
|
|
31412
|
+
},
|
|
31356
31413
|
"cohere.command-text-v14": {
|
|
31357
31414
|
name: "Command",
|
|
31358
31415
|
type: "language" /* Language */,
|
|
@@ -31422,9 +31479,35 @@ var modelInfoMap = {
|
|
|
31422
31479
|
const highQuality = steps > 50;
|
|
31423
31480
|
return Math.round((large ? 36e5 : 18e5) * (highQuality ? 2 : 1));
|
|
31424
31481
|
}
|
|
31482
|
+
},
|
|
31483
|
+
"mistral.mistral-7b-instruct-v0:2": {
|
|
31484
|
+
name: "Mistral Instruct (7B)",
|
|
31485
|
+
region: "us-west-2",
|
|
31486
|
+
// at time of writing, this is the only region that supports this model
|
|
31487
|
+
type: "language" /* Language */,
|
|
31488
|
+
streaming: true,
|
|
31489
|
+
provider: "Mistral",
|
|
31490
|
+
description: "First foundation model from MistralAI. Ideal for text summarization, question and answering, text classification, text completion, and code generation.",
|
|
31491
|
+
version: "v0.2",
|
|
31492
|
+
inferenceUsage: (inputSize, outputSize) => {
|
|
31493
|
+
return Math.round(inputSize / AVERAGE_BYTES_PER_TOKEN * 15 + outputSize / AVERAGE_BYTES_PER_TOKEN * 20);
|
|
31494
|
+
}
|
|
31495
|
+
},
|
|
31496
|
+
"mistral.mixtral-8x7b-instruct-v0:1": {
|
|
31497
|
+
name: "MixTral Instruct (8x7B)",
|
|
31498
|
+
region: "us-west-2",
|
|
31499
|
+
// at time of writing, this is the only region that supports this model
|
|
31500
|
+
type: "language" /* Language */,
|
|
31501
|
+
streaming: true,
|
|
31502
|
+
provider: "Mistral",
|
|
31503
|
+
description: "Ideal for text summarization, question and answering, text classification, text completion, and code generation.",
|
|
31504
|
+
version: "v0.1",
|
|
31505
|
+
inferenceUsage: (inputSize, outputSize) => {
|
|
31506
|
+
return Math.round(inputSize / AVERAGE_BYTES_PER_TOKEN * 45 + outputSize / AVERAGE_BYTES_PER_TOKEN * 70);
|
|
31507
|
+
}
|
|
31425
31508
|
}
|
|
31426
31509
|
};
|
|
31427
|
-
|
|
31510
|
+
function getModelInfo(id) {
|
|
31428
31511
|
return modelInfoMap[id];
|
|
31429
31512
|
}
|
|
31430
31513
|
|
|
@@ -31448,7 +31531,8 @@ async function _invoke(options, lock) {
|
|
|
31448
31531
|
accept,
|
|
31449
31532
|
modelId: options.modelId
|
|
31450
31533
|
};
|
|
31451
|
-
const modelInfo =
|
|
31534
|
+
const modelInfo = getModelInfo(options.modelId);
|
|
31535
|
+
const bedrock = bedrock_default({ region: modelInfo.region });
|
|
31452
31536
|
const result = modelInfo.streaming ? await bedrock.invokeModelWithResponseStream(args) : await bedrock.invokeModel(args);
|
|
31453
31537
|
if (!result.body) {
|
|
31454
31538
|
throw new Error("Failed to invoke model");
|
|
@@ -31513,11 +31597,13 @@ async function invoke2(options) {
|
|
|
31513
31597
|
}
|
|
31514
31598
|
}
|
|
31515
31599
|
|
|
31516
|
-
// src/chat/
|
|
31517
|
-
var decoder = new TextDecoder();
|
|
31600
|
+
// src/chat/util.ts
|
|
31518
31601
|
function titleCase(string) {
|
|
31519
31602
|
return string[0].toUpperCase() + string.slice(1);
|
|
31520
31603
|
}
|
|
31604
|
+
|
|
31605
|
+
// src/chat/adapters/anthropic.claude.ts
|
|
31606
|
+
var decoder = new TextDecoder();
|
|
31521
31607
|
function buildPrompt(messages) {
|
|
31522
31608
|
const messagesCopy = [...messages];
|
|
31523
31609
|
if (messagesCopy.length === 0 || messagesCopy[messagesCopy.length - 1].role !== "assistant") {
|
|
@@ -31550,11 +31636,39 @@ var AnthropicClaudeChatAdapter = class {
|
|
|
31550
31636
|
}
|
|
31551
31637
|
};
|
|
31552
31638
|
|
|
31553
|
-
// src/chat/adapters/
|
|
31639
|
+
// src/chat/adapters/anthropic.claude.sonnet.ts
|
|
31554
31640
|
var decoder2 = new TextDecoder();
|
|
31555
|
-
|
|
31556
|
-
|
|
31557
|
-
|
|
31641
|
+
var AnthropicClaudeSonnetChatAdapter = class {
|
|
31642
|
+
async buildInput(messages, options) {
|
|
31643
|
+
return {
|
|
31644
|
+
system: "You are a helpful virtual assistant. Please answer the user's questions and/or carry the conversation forward, abiding by the user's instructions.",
|
|
31645
|
+
messages: messages.map((message) => ({
|
|
31646
|
+
// Sonnet uses `user` instead of `human` for the user role.
|
|
31647
|
+
role: message.role === "human" ? "user" : message.role,
|
|
31648
|
+
content: message.content
|
|
31649
|
+
})),
|
|
31650
|
+
max_tokens: options.maxTokens ?? 1e3,
|
|
31651
|
+
anthropic_version: "bedrock-2023-05-31"
|
|
31652
|
+
};
|
|
31653
|
+
}
|
|
31654
|
+
formatResponse(response) {
|
|
31655
|
+
if (!response.body) {
|
|
31656
|
+
throw new Error("No response from model");
|
|
31657
|
+
}
|
|
31658
|
+
const transformer = new TransformStream({
|
|
31659
|
+
transform(chunk2, controller) {
|
|
31660
|
+
const event = JSON.parse(decoder2.decode(chunk2));
|
|
31661
|
+
if (event.type === "content_block_delta" && event.delta.type === "text_delta" && event.delta.text) {
|
|
31662
|
+
controller.enqueue(Buffer.from(event.delta.text, "utf8"));
|
|
31663
|
+
}
|
|
31664
|
+
}
|
|
31665
|
+
});
|
|
31666
|
+
return response.body.pipeThrough(transformer);
|
|
31667
|
+
}
|
|
31668
|
+
};
|
|
31669
|
+
|
|
31670
|
+
// src/chat/adapters/ai21.jurassic.ts
|
|
31671
|
+
var decoder3 = new TextDecoder();
|
|
31558
31672
|
function buildPrompt2(messages) {
|
|
31559
31673
|
const messagesCopy = [...messages];
|
|
31560
31674
|
if (messagesCopy.length === 0 || messagesCopy[messagesCopy.length - 1].role !== "assistant") {
|
|
@@ -31562,7 +31676,7 @@ function buildPrompt2(messages) {
|
|
|
31562
31676
|
}
|
|
31563
31677
|
const transcript = messagesCopy.map((message) => `
|
|
31564
31678
|
|
|
31565
|
-
${
|
|
31679
|
+
${titleCase(message.role)}: ${message.content}`).join("");
|
|
31566
31680
|
return `You are a helpful virtual assistant. Provide the next message in the conversation.
|
|
31567
31681
|
|
|
31568
31682
|
${transcript}
|
|
@@ -31611,7 +31725,7 @@ var Ai21JurassicChatAdapter = class {
|
|
|
31611
31725
|
}
|
|
31612
31726
|
const transformer = new TransformStream({
|
|
31613
31727
|
transform(chunk2, controller) {
|
|
31614
|
-
const event = JSON.parse(
|
|
31728
|
+
const event = JSON.parse(decoder3.decode(chunk2));
|
|
31615
31729
|
for (const completion of event.completions) {
|
|
31616
31730
|
controller.enqueue(Buffer.from(completion.data.text, "utf8"));
|
|
31617
31731
|
}
|
|
@@ -31622,10 +31736,7 @@ var Ai21JurassicChatAdapter = class {
|
|
|
31622
31736
|
};
|
|
31623
31737
|
|
|
31624
31738
|
// src/chat/adapters/cohere.command.ts
|
|
31625
|
-
var
|
|
31626
|
-
function titleCase3(string) {
|
|
31627
|
-
return string[0].toUpperCase() + string.slice(1);
|
|
31628
|
-
}
|
|
31739
|
+
var decoder4 = new TextDecoder();
|
|
31629
31740
|
function buildPrompt3(messages) {
|
|
31630
31741
|
const messagesCopy = [...messages];
|
|
31631
31742
|
if (messagesCopy.length === 0 || messagesCopy[messagesCopy.length - 1].role !== "assistant") {
|
|
@@ -31633,7 +31744,7 @@ function buildPrompt3(messages) {
|
|
|
31633
31744
|
}
|
|
31634
31745
|
const transcript = messagesCopy.map((message) => `
|
|
31635
31746
|
|
|
31636
|
-
${
|
|
31747
|
+
${titleCase(message.role)}: ${message.content}`).join("");
|
|
31637
31748
|
return `You are a helpful virtual assistant. Provide the next message in the conversation.
|
|
31638
31749
|
|
|
31639
31750
|
${transcript}`;
|
|
@@ -31652,7 +31763,7 @@ var CohereCommandChatAdapter = class {
|
|
|
31652
31763
|
}
|
|
31653
31764
|
const transformer = new TransformStream({
|
|
31654
31765
|
transform(chunk2, controller) {
|
|
31655
|
-
const event = JSON.parse(
|
|
31766
|
+
const event = JSON.parse(decoder4.decode(chunk2));
|
|
31656
31767
|
if (event.text) {
|
|
31657
31768
|
controller.enqueue(Buffer.from(event.text, "utf8"));
|
|
31658
31769
|
}
|
|
@@ -31663,10 +31774,7 @@ var CohereCommandChatAdapter = class {
|
|
|
31663
31774
|
};
|
|
31664
31775
|
|
|
31665
31776
|
// src/chat/adapters/meta.llama.ts
|
|
31666
|
-
var
|
|
31667
|
-
function titleCase4(string) {
|
|
31668
|
-
return string[0].toUpperCase() + string.slice(1);
|
|
31669
|
-
}
|
|
31777
|
+
var decoder5 = new TextDecoder();
|
|
31670
31778
|
function buildPrompt4(messages) {
|
|
31671
31779
|
const messagesCopy = [...messages];
|
|
31672
31780
|
if (messagesCopy.length === 0 || messagesCopy[messagesCopy.length - 1].role !== "assistant") {
|
|
@@ -31674,7 +31782,7 @@ function buildPrompt4(messages) {
|
|
|
31674
31782
|
}
|
|
31675
31783
|
const transcript = messagesCopy.map((message) => `
|
|
31676
31784
|
|
|
31677
|
-
${
|
|
31785
|
+
${titleCase(message.role)}: ${message.content}`).join("");
|
|
31678
31786
|
return `You are a helpful virtual assistant. Provide the next message in the conversation.
|
|
31679
31787
|
|
|
31680
31788
|
${transcript}`;
|
|
@@ -31692,7 +31800,7 @@ var MetaLlamaChatAdapter = class {
|
|
|
31692
31800
|
}
|
|
31693
31801
|
const transformer = new TransformStream({
|
|
31694
31802
|
transform(chunk2, controller) {
|
|
31695
|
-
const event = JSON.parse(
|
|
31803
|
+
const event = JSON.parse(decoder5.decode(chunk2));
|
|
31696
31804
|
if (event.generation) {
|
|
31697
31805
|
controller.enqueue(Buffer.from(event.generation, "utf8"));
|
|
31698
31806
|
}
|
|
@@ -31702,6 +31810,46 @@ var MetaLlamaChatAdapter = class {
|
|
|
31702
31810
|
}
|
|
31703
31811
|
};
|
|
31704
31812
|
|
|
31813
|
+
// src/chat/adapters/mixtral.ts
|
|
31814
|
+
var decoder6 = new TextDecoder();
|
|
31815
|
+
function buildPrompt5(messages) {
|
|
31816
|
+
const messagesCopy = [...messages];
|
|
31817
|
+
if (messagesCopy.length === 0 || messagesCopy[messagesCopy.length - 1].role !== "assistant") {
|
|
31818
|
+
messagesCopy.push(new ChatMessage({ role: "assistant", content: "" }));
|
|
31819
|
+
}
|
|
31820
|
+
const transcript = messagesCopy.map((message) => `
|
|
31821
|
+
|
|
31822
|
+
${titleCase(message.role)}: ${message.content}`).join("");
|
|
31823
|
+
return `You are a helpful virtual assistant. Provide the next message in the conversation.
|
|
31824
|
+
|
|
31825
|
+
${transcript}`;
|
|
31826
|
+
}
|
|
31827
|
+
var MixtralAIChatAdapter = class {
|
|
31828
|
+
async buildInput(messages, options) {
|
|
31829
|
+
return {
|
|
31830
|
+
prompt: buildPrompt5(messages),
|
|
31831
|
+
max_tokens: options.maxTokens ?? 1e3,
|
|
31832
|
+
top_p: 0.8,
|
|
31833
|
+
temperature: 0.5
|
|
31834
|
+
};
|
|
31835
|
+
}
|
|
31836
|
+
formatResponse(response) {
|
|
31837
|
+
if (!response.body) {
|
|
31838
|
+
throw new Error("No response from model");
|
|
31839
|
+
}
|
|
31840
|
+
const transformer = new TransformStream({
|
|
31841
|
+
transform(chunk2, controller) {
|
|
31842
|
+
const event = JSON.parse(decoder6.decode(chunk2));
|
|
31843
|
+
if (event.outputs?.length) {
|
|
31844
|
+
const output = event.outputs.map((o14) => o14.text).join("");
|
|
31845
|
+
controller.enqueue(Buffer.from(output, "utf8"));
|
|
31846
|
+
}
|
|
31847
|
+
}
|
|
31848
|
+
});
|
|
31849
|
+
return response.body.pipeThrough(transformer);
|
|
31850
|
+
}
|
|
31851
|
+
};
|
|
31852
|
+
|
|
31705
31853
|
// src/chat/index.ts
|
|
31706
31854
|
var ChatMessage = class {
|
|
31707
31855
|
role;
|
|
@@ -31715,11 +31863,14 @@ var adapters = {
|
|
|
31715
31863
|
"anthropic.claude-instant-v1": AnthropicClaudeChatAdapter,
|
|
31716
31864
|
"anthropic.claude-v1": AnthropicClaudeChatAdapter,
|
|
31717
31865
|
"anthropic.claude-v2": AnthropicClaudeChatAdapter,
|
|
31866
|
+
"anthropic.claude-3-sonnet-20240229-v1:0": AnthropicClaudeSonnetChatAdapter,
|
|
31718
31867
|
"ai21.j2-mid-v1": Ai21JurassicChatAdapter,
|
|
31719
31868
|
"ai21.j2-ultra-v1": Ai21JurassicChatAdapter,
|
|
31720
31869
|
"cohere.command-text-v14": CohereCommandChatAdapter,
|
|
31721
31870
|
"cohere.command-light-text-v14": CohereCommandChatAdapter,
|
|
31722
|
-
"meta.llama2-13b-chat-v1": MetaLlamaChatAdapter
|
|
31871
|
+
"meta.llama2-13b-chat-v1": MetaLlamaChatAdapter,
|
|
31872
|
+
"mistral.mistral-7b-instruct-v0:2": MixtralAIChatAdapter,
|
|
31873
|
+
"mistral.mixtral-8x7b-instruct-v0:1": MixtralAIChatAdapter
|
|
31723
31874
|
};
|
|
31724
31875
|
async function chat(messages, options = {}) {
|
|
31725
31876
|
const modelId = options.modelId ?? "anthropic.claude-instant-v1";
|
|
@@ -31737,11 +31888,14 @@ chat.models = async () => {
|
|
|
31737
31888
|
"anthropic.claude-instant-v1",
|
|
31738
31889
|
"anthropic.claude-v1",
|
|
31739
31890
|
"anthropic.claude-v2",
|
|
31891
|
+
"anthropic.claude-3-sonnet-20240229-v1:0",
|
|
31740
31892
|
"ai21.j2-mid-v1",
|
|
31741
31893
|
"ai21.j2-ultra-v1",
|
|
31742
31894
|
"cohere.command-text-v14",
|
|
31743
31895
|
"cohere.command-light-text-v14",
|
|
31744
|
-
"meta.llama2-13b-chat-v1"
|
|
31896
|
+
"meta.llama2-13b-chat-v1",
|
|
31897
|
+
"mistral.mistral-7b-instruct-v0:2",
|
|
31898
|
+
"mistral.mixtral-8x7b-instruct-v0:1"
|
|
31745
31899
|
];
|
|
31746
31900
|
};
|
|
31747
31901
|
|
|
@@ -31825,9 +31979,38 @@ render.models = async () => {
|
|
|
31825
31979
|
return ["stability.stable-diffusion-xl-v0"];
|
|
31826
31980
|
};
|
|
31827
31981
|
|
|
31982
|
+
// src/summarize/adapters/anthropic.claude.sonnet.ts
|
|
31983
|
+
var decoder7 = new TextDecoder();
|
|
31984
|
+
var AnthropicClaudeSonnetSummarizeAdapter = class {
|
|
31985
|
+
async buildInput(input, options) {
|
|
31986
|
+
return {
|
|
31987
|
+
// Sonnet varies from the original Claude model in that it does not take a prompt argument.
|
|
31988
|
+
// see https://github.com/langchain-ai/langchain/issues/18513
|
|
31989
|
+
system: "You are a helpful virtual assistant. Please summarize the bodies of text provided to you. Write only one or two paragraphs, and only include the summary, without any preamble or other text.",
|
|
31990
|
+
messages: [{ role: "user", content: input }],
|
|
31991
|
+
anthropic_version: "bedrock-2023-05-31",
|
|
31992
|
+
max_tokens: options.maxTokens ?? 1e3
|
|
31993
|
+
};
|
|
31994
|
+
}
|
|
31995
|
+
formatResponse(response) {
|
|
31996
|
+
if (!response.body) {
|
|
31997
|
+
throw new Error("No response from model");
|
|
31998
|
+
}
|
|
31999
|
+
const transformer = new TransformStream({
|
|
32000
|
+
transform(chunk2, controller) {
|
|
32001
|
+
const event = JSON.parse(decoder7.decode(chunk2));
|
|
32002
|
+
if (event.type === "content_block_delta" && event.delta.type === "text_delta" && event.delta.text) {
|
|
32003
|
+
controller.enqueue(Buffer.from(event.delta.text, "utf8"));
|
|
32004
|
+
}
|
|
32005
|
+
}
|
|
32006
|
+
});
|
|
32007
|
+
return response.body.pipeThrough(transformer);
|
|
32008
|
+
}
|
|
32009
|
+
};
|
|
32010
|
+
|
|
31828
32011
|
// src/summarize/adapters/anthropic.claude.ts
|
|
31829
|
-
var
|
|
31830
|
-
function
|
|
32012
|
+
var decoder8 = new TextDecoder();
|
|
32013
|
+
function buildPrompt6(input) {
|
|
31831
32014
|
return `Human: I'm going to give you a document. Then I'm going to ask you to summarize it. Here is the document:
|
|
31832
32015
|
|
|
31833
32016
|
<input>${input}</input>
|
|
@@ -31839,7 +32022,7 @@ Assistant: `;
|
|
|
31839
32022
|
var AnthropicClaudeSummarizeAdapter = class {
|
|
31840
32023
|
async buildInput(input, options) {
|
|
31841
32024
|
return {
|
|
31842
|
-
prompt:
|
|
32025
|
+
prompt: buildPrompt6(input),
|
|
31843
32026
|
max_tokens_to_sample: options.maxTokens ?? 1e3
|
|
31844
32027
|
};
|
|
31845
32028
|
}
|
|
@@ -31849,7 +32032,7 @@ var AnthropicClaudeSummarizeAdapter = class {
|
|
|
31849
32032
|
}
|
|
31850
32033
|
const transformer = new TransformStream({
|
|
31851
32034
|
transform(chunk2, controller) {
|
|
31852
|
-
const event = JSON.parse(
|
|
32035
|
+
const event = JSON.parse(decoder8.decode(chunk2));
|
|
31853
32036
|
if (event.completion) {
|
|
31854
32037
|
controller.enqueue(Buffer.from(event.completion, "utf8"));
|
|
31855
32038
|
}
|
|
@@ -31859,11 +32042,51 @@ var AnthropicClaudeSummarizeAdapter = class {
|
|
|
31859
32042
|
}
|
|
31860
32043
|
};
|
|
31861
32044
|
|
|
32045
|
+
// src/summarize/adapters/mixtral.ts
|
|
32046
|
+
var decoder9 = new TextDecoder();
|
|
32047
|
+
function buildPrompt7(input) {
|
|
32048
|
+
return `Human: I'm going to give you a document. Then I'm going to ask you to summarize it. Here is the document:
|
|
32049
|
+
|
|
32050
|
+
<input>${input}</input>
|
|
32051
|
+
|
|
32052
|
+
Write a one or two paragraph summary of the document. Only include the summary, without any preamble or other text.
|
|
32053
|
+
|
|
32054
|
+
Assistant: `;
|
|
32055
|
+
}
|
|
32056
|
+
var MixtralAISummarizeAdapter = class {
|
|
32057
|
+
async buildInput(input, options) {
|
|
32058
|
+
return {
|
|
32059
|
+
prompt: buildPrompt7(input),
|
|
32060
|
+
max_tokens: options.maxTokens ?? 1e3,
|
|
32061
|
+
top_p: 0.8,
|
|
32062
|
+
temperature: 0.5
|
|
32063
|
+
};
|
|
32064
|
+
}
|
|
32065
|
+
formatResponse(response) {
|
|
32066
|
+
if (!response.body) {
|
|
32067
|
+
throw new Error("No response from model");
|
|
32068
|
+
}
|
|
32069
|
+
const transformer = new TransformStream({
|
|
32070
|
+
transform(chunk2, controller) {
|
|
32071
|
+
const event = JSON.parse(decoder9.decode(chunk2));
|
|
32072
|
+
if (event.outputs?.length) {
|
|
32073
|
+
const output = event.outputs.map((o14) => o14.text).join("");
|
|
32074
|
+
controller.enqueue(Buffer.from(output, "utf8"));
|
|
32075
|
+
}
|
|
32076
|
+
}
|
|
32077
|
+
});
|
|
32078
|
+
return response.body.pipeThrough(transformer);
|
|
32079
|
+
}
|
|
32080
|
+
};
|
|
32081
|
+
|
|
31862
32082
|
// src/summarize/index.ts
|
|
31863
32083
|
var adapters3 = {
|
|
31864
32084
|
"anthropic.claude-instant-v1": AnthropicClaudeSummarizeAdapter,
|
|
31865
32085
|
"anthropic.claude-v1": AnthropicClaudeSummarizeAdapter,
|
|
31866
|
-
"anthropic.claude-v2": AnthropicClaudeSummarizeAdapter
|
|
32086
|
+
"anthropic.claude-v2": AnthropicClaudeSummarizeAdapter,
|
|
32087
|
+
"anthropic.claude-3-sonnet-20240229-v1:0": AnthropicClaudeSonnetSummarizeAdapter,
|
|
32088
|
+
"mistral.mistral-7b-instruct-v0:2": MixtralAISummarizeAdapter,
|
|
32089
|
+
"mistral.mixtral-8x7b-instruct-v0:1": MixtralAISummarizeAdapter
|
|
31867
32090
|
};
|
|
31868
32091
|
async function summarize(input, options = {}) {
|
|
31869
32092
|
const modelId = options.modelId ?? "anthropic.claude-instant-v1";
|
|
@@ -31877,7 +32100,14 @@ async function summarize(input, options = {}) {
|
|
|
31877
32100
|
return new Response(adapter.formatResponse(response), { headers: { "Content-Type": "text/plain" } });
|
|
31878
32101
|
}
|
|
31879
32102
|
summarize.models = async () => {
|
|
31880
|
-
return [
|
|
32103
|
+
return [
|
|
32104
|
+
"anthropic.claude-instant-v1",
|
|
32105
|
+
"anthropic.claude-v1",
|
|
32106
|
+
"anthropic.claude-v2",
|
|
32107
|
+
"anthropic.claude-3-sonnet-20240229-v1:0",
|
|
32108
|
+
"mistral.mistral-7b-instruct-v0:2",
|
|
32109
|
+
"mistral.mixtral-8x7b-instruct-v0:1"
|
|
32110
|
+
];
|
|
31881
32111
|
};
|
|
31882
32112
|
|
|
31883
32113
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js
|
|
@@ -31962,7 +32192,7 @@ var RequestHandlerProtocol5;
|
|
|
31962
32192
|
})(RequestHandlerProtocol5 || (RequestHandlerProtocol5 = {}));
|
|
31963
32193
|
|
|
31964
32194
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/protocol-http/dist-es/httpRequest.js
|
|
31965
|
-
var HttpRequest4 = class {
|
|
32195
|
+
var HttpRequest4 = class _HttpRequest {
|
|
31966
32196
|
constructor(options) {
|
|
31967
32197
|
this.method = options.method || "GET";
|
|
31968
32198
|
this.hostname = options.hostname || "localhost";
|
|
@@ -31983,7 +32213,7 @@ var HttpRequest4 = class {
|
|
|
31983
32213
|
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
31984
32214
|
}
|
|
31985
32215
|
clone() {
|
|
31986
|
-
const cloned = new
|
|
32216
|
+
const cloned = new _HttpRequest({
|
|
31987
32217
|
...this,
|
|
31988
32218
|
headers: { ...this.headers }
|
|
31989
32219
|
});
|
|
@@ -32128,12 +32358,12 @@ var getRecursionDetectionPlugin4 = (options) => ({
|
|
|
32128
32358
|
});
|
|
32129
32359
|
|
|
32130
32360
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/property-provider/dist-es/ProviderError.js
|
|
32131
|
-
var ProviderError3 = class extends Error {
|
|
32361
|
+
var ProviderError3 = class _ProviderError extends Error {
|
|
32132
32362
|
constructor(message, tryNextLink = true) {
|
|
32133
32363
|
super(message);
|
|
32134
32364
|
this.tryNextLink = tryNextLink;
|
|
32135
32365
|
this.name = "ProviderError";
|
|
32136
|
-
Object.setPrototypeOf(this,
|
|
32366
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
32137
32367
|
}
|
|
32138
32368
|
static from(error, tryNextLink = true) {
|
|
32139
32369
|
return Object.assign(new this(error.message, tryNextLink), error);
|
|
@@ -32141,22 +32371,22 @@ var ProviderError3 = class extends Error {
|
|
|
32141
32371
|
};
|
|
32142
32372
|
|
|
32143
32373
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
|
|
32144
|
-
var CredentialsProviderError3 = class extends ProviderError3 {
|
|
32374
|
+
var CredentialsProviderError3 = class _CredentialsProviderError extends ProviderError3 {
|
|
32145
32375
|
constructor(message, tryNextLink = true) {
|
|
32146
32376
|
super(message, tryNextLink);
|
|
32147
32377
|
this.tryNextLink = tryNextLink;
|
|
32148
32378
|
this.name = "CredentialsProviderError";
|
|
32149
|
-
Object.setPrototypeOf(this,
|
|
32379
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
32150
32380
|
}
|
|
32151
32381
|
};
|
|
32152
32382
|
|
|
32153
32383
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
|
|
32154
|
-
var TokenProviderError3 = class extends ProviderError3 {
|
|
32384
|
+
var TokenProviderError3 = class _TokenProviderError extends ProviderError3 {
|
|
32155
32385
|
constructor(message, tryNextLink = true) {
|
|
32156
32386
|
super(message, tryNextLink);
|
|
32157
32387
|
this.tryNextLink = tryNextLink;
|
|
32158
32388
|
this.name = "TokenProviderError";
|
|
32159
|
-
Object.setPrototypeOf(this,
|
|
32389
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
32160
32390
|
}
|
|
32161
32391
|
};
|
|
32162
32392
|
|
|
@@ -32268,7 +32498,7 @@ function toHex5(bytes) {
|
|
|
32268
32498
|
}
|
|
32269
32499
|
|
|
32270
32500
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
32271
|
-
var Int644 = class {
|
|
32501
|
+
var Int644 = class _Int64 {
|
|
32272
32502
|
constructor(bytes) {
|
|
32273
32503
|
this.bytes = bytes;
|
|
32274
32504
|
if (bytes.byteLength !== 8) {
|
|
@@ -32286,7 +32516,7 @@ var Int644 = class {
|
|
|
32286
32516
|
if (number < 0) {
|
|
32287
32517
|
negate4(bytes);
|
|
32288
32518
|
}
|
|
32289
|
-
return new
|
|
32519
|
+
return new _Int64(bytes);
|
|
32290
32520
|
}
|
|
32291
32521
|
valueOf() {
|
|
32292
32522
|
const bytes = this.bytes.slice(0);
|
|
@@ -34882,7 +35112,7 @@ function transformFromString3(str, encoding) {
|
|
|
34882
35112
|
}
|
|
34883
35113
|
|
|
34884
35114
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
34885
|
-
var Uint8ArrayBlobAdapter3 = class extends Uint8Array {
|
|
35115
|
+
var Uint8ArrayBlobAdapter3 = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
34886
35116
|
static fromString(source, encoding = "utf-8") {
|
|
34887
35117
|
switch (typeof source) {
|
|
34888
35118
|
case "string":
|
|
@@ -34892,7 +35122,7 @@ var Uint8ArrayBlobAdapter3 = class extends Uint8Array {
|
|
|
34892
35122
|
}
|
|
34893
35123
|
}
|
|
34894
35124
|
static mutate(source) {
|
|
34895
|
-
Object.setPrototypeOf(source,
|
|
35125
|
+
Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype);
|
|
34896
35126
|
return source;
|
|
34897
35127
|
}
|
|
34898
35128
|
transformToString(encoding = "utf-8") {
|
|
@@ -35488,10 +35718,10 @@ var stripLeadingZeroes3 = (value) => {
|
|
|
35488
35718
|
};
|
|
35489
35719
|
|
|
35490
35720
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
35491
|
-
var ServiceException4 = class extends Error {
|
|
35721
|
+
var ServiceException4 = class _ServiceException extends Error {
|
|
35492
35722
|
constructor(options) {
|
|
35493
35723
|
super(options.message);
|
|
35494
|
-
Object.setPrototypeOf(this,
|
|
35724
|
+
Object.setPrototypeOf(this, _ServiceException.prototype);
|
|
35495
35725
|
this.name = options.name;
|
|
35496
35726
|
this.$fault = options.$fault;
|
|
35497
35727
|
this.$metadata = options.$metadata;
|
|
@@ -36012,15 +36242,15 @@ var package_default11 = {
|
|
|
36012
36242
|
};
|
|
36013
36243
|
|
|
36014
36244
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
|
36015
|
-
var STSServiceException3 = class extends ServiceException4 {
|
|
36245
|
+
var STSServiceException3 = class _STSServiceException extends ServiceException4 {
|
|
36016
36246
|
constructor(options) {
|
|
36017
36247
|
super(options);
|
|
36018
|
-
Object.setPrototypeOf(this,
|
|
36248
|
+
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
|
36019
36249
|
}
|
|
36020
36250
|
};
|
|
36021
36251
|
|
|
36022
36252
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
|
36023
|
-
var ExpiredTokenException5 = class extends STSServiceException3 {
|
|
36253
|
+
var ExpiredTokenException5 = class _ExpiredTokenException3 extends STSServiceException3 {
|
|
36024
36254
|
constructor(opts) {
|
|
36025
36255
|
super({
|
|
36026
36256
|
name: "ExpiredTokenException",
|
|
@@ -36029,10 +36259,10 @@ var ExpiredTokenException5 = class extends STSServiceException3 {
|
|
|
36029
36259
|
});
|
|
36030
36260
|
this.name = "ExpiredTokenException";
|
|
36031
36261
|
this.$fault = "client";
|
|
36032
|
-
Object.setPrototypeOf(this,
|
|
36262
|
+
Object.setPrototypeOf(this, _ExpiredTokenException3.prototype);
|
|
36033
36263
|
}
|
|
36034
36264
|
};
|
|
36035
|
-
var MalformedPolicyDocumentException3 = class extends STSServiceException3 {
|
|
36265
|
+
var MalformedPolicyDocumentException3 = class _MalformedPolicyDocumentException extends STSServiceException3 {
|
|
36036
36266
|
constructor(opts) {
|
|
36037
36267
|
super({
|
|
36038
36268
|
name: "MalformedPolicyDocumentException",
|
|
@@ -36041,10 +36271,10 @@ var MalformedPolicyDocumentException3 = class extends STSServiceException3 {
|
|
|
36041
36271
|
});
|
|
36042
36272
|
this.name = "MalformedPolicyDocumentException";
|
|
36043
36273
|
this.$fault = "client";
|
|
36044
|
-
Object.setPrototypeOf(this,
|
|
36274
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
36045
36275
|
}
|
|
36046
36276
|
};
|
|
36047
|
-
var PackedPolicyTooLargeException3 = class extends STSServiceException3 {
|
|
36277
|
+
var PackedPolicyTooLargeException3 = class _PackedPolicyTooLargeException extends STSServiceException3 {
|
|
36048
36278
|
constructor(opts) {
|
|
36049
36279
|
super({
|
|
36050
36280
|
name: "PackedPolicyTooLargeException",
|
|
@@ -36053,10 +36283,10 @@ var PackedPolicyTooLargeException3 = class extends STSServiceException3 {
|
|
|
36053
36283
|
});
|
|
36054
36284
|
this.name = "PackedPolicyTooLargeException";
|
|
36055
36285
|
this.$fault = "client";
|
|
36056
|
-
Object.setPrototypeOf(this,
|
|
36286
|
+
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
36057
36287
|
}
|
|
36058
36288
|
};
|
|
36059
|
-
var RegionDisabledException3 = class extends STSServiceException3 {
|
|
36289
|
+
var RegionDisabledException3 = class _RegionDisabledException extends STSServiceException3 {
|
|
36060
36290
|
constructor(opts) {
|
|
36061
36291
|
super({
|
|
36062
36292
|
name: "RegionDisabledException",
|
|
@@ -36065,10 +36295,10 @@ var RegionDisabledException3 = class extends STSServiceException3 {
|
|
|
36065
36295
|
});
|
|
36066
36296
|
this.name = "RegionDisabledException";
|
|
36067
36297
|
this.$fault = "client";
|
|
36068
|
-
Object.setPrototypeOf(this,
|
|
36298
|
+
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
|
36069
36299
|
}
|
|
36070
36300
|
};
|
|
36071
|
-
var IDPRejectedClaimException3 = class extends STSServiceException3 {
|
|
36301
|
+
var IDPRejectedClaimException3 = class _IDPRejectedClaimException extends STSServiceException3 {
|
|
36072
36302
|
constructor(opts) {
|
|
36073
36303
|
super({
|
|
36074
36304
|
name: "IDPRejectedClaimException",
|
|
@@ -36077,10 +36307,10 @@ var IDPRejectedClaimException3 = class extends STSServiceException3 {
|
|
|
36077
36307
|
});
|
|
36078
36308
|
this.name = "IDPRejectedClaimException";
|
|
36079
36309
|
this.$fault = "client";
|
|
36080
|
-
Object.setPrototypeOf(this,
|
|
36310
|
+
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
|
36081
36311
|
}
|
|
36082
36312
|
};
|
|
36083
|
-
var InvalidIdentityTokenException3 = class extends STSServiceException3 {
|
|
36313
|
+
var InvalidIdentityTokenException3 = class _InvalidIdentityTokenException extends STSServiceException3 {
|
|
36084
36314
|
constructor(opts) {
|
|
36085
36315
|
super({
|
|
36086
36316
|
name: "InvalidIdentityTokenException",
|
|
@@ -36089,10 +36319,10 @@ var InvalidIdentityTokenException3 = class extends STSServiceException3 {
|
|
|
36089
36319
|
});
|
|
36090
36320
|
this.name = "InvalidIdentityTokenException";
|
|
36091
36321
|
this.$fault = "client";
|
|
36092
|
-
Object.setPrototypeOf(this,
|
|
36322
|
+
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
|
36093
36323
|
}
|
|
36094
36324
|
};
|
|
36095
|
-
var IDPCommunicationErrorException3 = class extends STSServiceException3 {
|
|
36325
|
+
var IDPCommunicationErrorException3 = class _IDPCommunicationErrorException extends STSServiceException3 {
|
|
36096
36326
|
constructor(opts) {
|
|
36097
36327
|
super({
|
|
36098
36328
|
name: "IDPCommunicationErrorException",
|
|
@@ -36101,7 +36331,7 @@ var IDPCommunicationErrorException3 = class extends STSServiceException3 {
|
|
|
36101
36331
|
});
|
|
36102
36332
|
this.name = "IDPCommunicationErrorException";
|
|
36103
36333
|
this.$fault = "client";
|
|
36104
|
-
Object.setPrototypeOf(this,
|
|
36334
|
+
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
|
36105
36335
|
}
|
|
36106
36336
|
};
|
|
36107
36337
|
var CredentialsFilterSensitiveLog3 = (obj) => ({
|
|
@@ -36669,7 +36899,7 @@ var loadQueryErrorCode4 = (output, data) => {
|
|
|
36669
36899
|
};
|
|
36670
36900
|
|
|
36671
36901
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
|
36672
|
-
var AssumeRoleCommand3 = class extends Command4 {
|
|
36902
|
+
var AssumeRoleCommand3 = class _AssumeRoleCommand extends Command4 {
|
|
36673
36903
|
static getEndpointParameterInstructions() {
|
|
36674
36904
|
return {
|
|
36675
36905
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -36685,7 +36915,7 @@ var AssumeRoleCommand3 = class extends Command4 {
|
|
|
36685
36915
|
}
|
|
36686
36916
|
resolveMiddleware(clientStack, configuration, options) {
|
|
36687
36917
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
36688
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
36918
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _AssumeRoleCommand.getEndpointParameterInstructions()));
|
|
36689
36919
|
this.middlewareStack.use(getAwsAuthPlugin4(configuration));
|
|
36690
36920
|
const stack = clientStack.concat(this.middlewareStack);
|
|
36691
36921
|
const { logger: logger4 } = configuration;
|
|
@@ -36714,7 +36944,7 @@ var AssumeRoleCommand3 = class extends Command4 {
|
|
|
36714
36944
|
};
|
|
36715
36945
|
|
|
36716
36946
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
|
36717
|
-
var AssumeRoleWithWebIdentityCommand3 = class extends Command4 {
|
|
36947
|
+
var AssumeRoleWithWebIdentityCommand3 = class _AssumeRoleWithWebIdentityCommand extends Command4 {
|
|
36718
36948
|
static getEndpointParameterInstructions() {
|
|
36719
36949
|
return {
|
|
36720
36950
|
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
@@ -36730,7 +36960,7 @@ var AssumeRoleWithWebIdentityCommand3 = class extends Command4 {
|
|
|
36730
36960
|
}
|
|
36731
36961
|
resolveMiddleware(clientStack, configuration, options) {
|
|
36732
36962
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
36733
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
36963
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
|
36734
36964
|
const stack = clientStack.concat(this.middlewareStack);
|
|
36735
36965
|
const { logger: logger4 } = configuration;
|
|
36736
36966
|
const clientName = "STSClient";
|
|
@@ -36986,12 +37216,12 @@ var getCmdsUri3 = async () => {
|
|
|
36986
37216
|
};
|
|
36987
37217
|
|
|
36988
37218
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
|
|
36989
|
-
var InstanceMetadataV1FallbackError2 = class extends CredentialsProviderError3 {
|
|
37219
|
+
var InstanceMetadataV1FallbackError2 = class _InstanceMetadataV1FallbackError extends CredentialsProviderError3 {
|
|
36990
37220
|
constructor(message, tryNextLink = true) {
|
|
36991
37221
|
super(message, tryNextLink);
|
|
36992
37222
|
this.tryNextLink = tryNextLink;
|
|
36993
37223
|
this.name = "InstanceMetadataV1FallbackError";
|
|
36994
|
-
Object.setPrototypeOf(this,
|
|
37224
|
+
Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype);
|
|
36995
37225
|
}
|
|
36996
37226
|
};
|
|
36997
37227
|
|
|
@@ -37757,15 +37987,15 @@ var SSOClient3 = class extends Client4 {
|
|
|
37757
37987
|
};
|
|
37758
37988
|
|
|
37759
37989
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
37760
|
-
var SSOServiceException3 = class extends ServiceException4 {
|
|
37990
|
+
var SSOServiceException3 = class _SSOServiceException extends ServiceException4 {
|
|
37761
37991
|
constructor(options) {
|
|
37762
37992
|
super(options);
|
|
37763
|
-
Object.setPrototypeOf(this,
|
|
37993
|
+
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
37764
37994
|
}
|
|
37765
37995
|
};
|
|
37766
37996
|
|
|
37767
37997
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js
|
|
37768
|
-
var InvalidRequestException5 = class extends SSOServiceException3 {
|
|
37998
|
+
var InvalidRequestException5 = class _InvalidRequestException3 extends SSOServiceException3 {
|
|
37769
37999
|
constructor(opts) {
|
|
37770
38000
|
super({
|
|
37771
38001
|
name: "InvalidRequestException",
|
|
@@ -37774,10 +38004,10 @@ var InvalidRequestException5 = class extends SSOServiceException3 {
|
|
|
37774
38004
|
});
|
|
37775
38005
|
this.name = "InvalidRequestException";
|
|
37776
38006
|
this.$fault = "client";
|
|
37777
|
-
Object.setPrototypeOf(this,
|
|
38007
|
+
Object.setPrototypeOf(this, _InvalidRequestException3.prototype);
|
|
37778
38008
|
}
|
|
37779
38009
|
};
|
|
37780
|
-
var ResourceNotFoundException5 = class extends SSOServiceException3 {
|
|
38010
|
+
var ResourceNotFoundException5 = class _ResourceNotFoundException extends SSOServiceException3 {
|
|
37781
38011
|
constructor(opts) {
|
|
37782
38012
|
super({
|
|
37783
38013
|
name: "ResourceNotFoundException",
|
|
@@ -37786,10 +38016,10 @@ var ResourceNotFoundException5 = class extends SSOServiceException3 {
|
|
|
37786
38016
|
});
|
|
37787
38017
|
this.name = "ResourceNotFoundException";
|
|
37788
38018
|
this.$fault = "client";
|
|
37789
|
-
Object.setPrototypeOf(this,
|
|
38019
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
37790
38020
|
}
|
|
37791
38021
|
};
|
|
37792
|
-
var TooManyRequestsException3 = class extends SSOServiceException3 {
|
|
38022
|
+
var TooManyRequestsException3 = class _TooManyRequestsException extends SSOServiceException3 {
|
|
37793
38023
|
constructor(opts) {
|
|
37794
38024
|
super({
|
|
37795
38025
|
name: "TooManyRequestsException",
|
|
@@ -37798,10 +38028,10 @@ var TooManyRequestsException3 = class extends SSOServiceException3 {
|
|
|
37798
38028
|
});
|
|
37799
38029
|
this.name = "TooManyRequestsException";
|
|
37800
38030
|
this.$fault = "client";
|
|
37801
|
-
Object.setPrototypeOf(this,
|
|
38031
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
37802
38032
|
}
|
|
37803
38033
|
};
|
|
37804
|
-
var UnauthorizedException3 = class extends SSOServiceException3 {
|
|
38034
|
+
var UnauthorizedException3 = class _UnauthorizedException extends SSOServiceException3 {
|
|
37805
38035
|
constructor(opts) {
|
|
37806
38036
|
super({
|
|
37807
38037
|
name: "UnauthorizedException",
|
|
@@ -37810,7 +38040,7 @@ var UnauthorizedException3 = class extends SSOServiceException3 {
|
|
|
37810
38040
|
});
|
|
37811
38041
|
this.name = "UnauthorizedException";
|
|
37812
38042
|
this.$fault = "client";
|
|
37813
|
-
Object.setPrototypeOf(this,
|
|
38043
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
37814
38044
|
}
|
|
37815
38045
|
};
|
|
37816
38046
|
var GetRoleCredentialsRequestFilterSensitiveLog3 = (obj) => ({
|
|
@@ -37995,7 +38225,7 @@ var loadRestJsonErrorCode7 = (output, data) => {
|
|
|
37995
38225
|
};
|
|
37996
38226
|
|
|
37997
38227
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
37998
|
-
var GetRoleCredentialsCommand3 = class extends Command4 {
|
|
38228
|
+
var GetRoleCredentialsCommand3 = class _GetRoleCredentialsCommand extends Command4 {
|
|
37999
38229
|
static getEndpointParameterInstructions() {
|
|
38000
38230
|
return {
|
|
38001
38231
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -38010,7 +38240,7 @@ var GetRoleCredentialsCommand3 = class extends Command4 {
|
|
|
38010
38240
|
}
|
|
38011
38241
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38012
38242
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
38013
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
38243
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions()));
|
|
38014
38244
|
const stack = clientStack.concat(this.middlewareStack);
|
|
38015
38245
|
const { logger: logger4 } = configuration;
|
|
38016
38246
|
const clientName = "SSOClient";
|
|
@@ -39461,7 +39691,7 @@ var resolveRuntimeExtensions7 = (runtimeConfig, extensions) => {
|
|
|
39461
39691
|
};
|
|
39462
39692
|
|
|
39463
39693
|
// ../../node_modules/@aws-sdk/client-translate/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
|
39464
|
-
var STSClient3 = class extends Client4 {
|
|
39694
|
+
var STSClient3 = class _STSClient extends Client4 {
|
|
39465
39695
|
constructor(...[configuration]) {
|
|
39466
39696
|
const _config_0 = getRuntimeConfig24(configuration || {});
|
|
39467
39697
|
const _config_1 = resolveClientEndpointParameters11(_config_0);
|
|
@@ -39469,7 +39699,7 @@ var STSClient3 = class extends Client4 {
|
|
|
39469
39699
|
const _config_3 = resolveEndpointConfig4(_config_2);
|
|
39470
39700
|
const _config_4 = resolveRetryConfig4(_config_3);
|
|
39471
39701
|
const _config_5 = resolveHostHeaderConfig4(_config_4);
|
|
39472
|
-
const _config_6 = resolveStsAuthConfig3(_config_5, { stsClientCtor:
|
|
39702
|
+
const _config_6 = resolveStsAuthConfig3(_config_5, { stsClientCtor: _STSClient });
|
|
39473
39703
|
const _config_7 = resolveUserAgentConfig4(_config_6);
|
|
39474
39704
|
const _config_8 = resolveRuntimeExtensions7(_config_7, configuration?.extensions || []);
|
|
39475
39705
|
super(_config_8);
|
|
@@ -39633,15 +39863,15 @@ var TranslateClient = class extends Client4 {
|
|
|
39633
39863
|
};
|
|
39634
39864
|
|
|
39635
39865
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/models/TranslateServiceException.js
|
|
39636
|
-
var TranslateServiceException = class extends ServiceException4 {
|
|
39866
|
+
var TranslateServiceException = class _TranslateServiceException extends ServiceException4 {
|
|
39637
39867
|
constructor(options) {
|
|
39638
39868
|
super(options);
|
|
39639
|
-
Object.setPrototypeOf(this,
|
|
39869
|
+
Object.setPrototypeOf(this, _TranslateServiceException.prototype);
|
|
39640
39870
|
}
|
|
39641
39871
|
};
|
|
39642
39872
|
|
|
39643
39873
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/models/models_0.js
|
|
39644
|
-
var ConcurrentModificationException = class extends TranslateServiceException {
|
|
39874
|
+
var ConcurrentModificationException = class _ConcurrentModificationException extends TranslateServiceException {
|
|
39645
39875
|
constructor(opts) {
|
|
39646
39876
|
super({
|
|
39647
39877
|
name: "ConcurrentModificationException",
|
|
@@ -39650,11 +39880,11 @@ var ConcurrentModificationException = class extends TranslateServiceException {
|
|
|
39650
39880
|
});
|
|
39651
39881
|
this.name = "ConcurrentModificationException";
|
|
39652
39882
|
this.$fault = "client";
|
|
39653
|
-
Object.setPrototypeOf(this,
|
|
39883
|
+
Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
|
|
39654
39884
|
this.Message = opts.Message;
|
|
39655
39885
|
}
|
|
39656
39886
|
};
|
|
39657
|
-
var ConflictException = class extends TranslateServiceException {
|
|
39887
|
+
var ConflictException = class _ConflictException extends TranslateServiceException {
|
|
39658
39888
|
constructor(opts) {
|
|
39659
39889
|
super({
|
|
39660
39890
|
name: "ConflictException",
|
|
@@ -39663,11 +39893,11 @@ var ConflictException = class extends TranslateServiceException {
|
|
|
39663
39893
|
});
|
|
39664
39894
|
this.name = "ConflictException";
|
|
39665
39895
|
this.$fault = "client";
|
|
39666
|
-
Object.setPrototypeOf(this,
|
|
39896
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
39667
39897
|
this.Message = opts.Message;
|
|
39668
39898
|
}
|
|
39669
39899
|
};
|
|
39670
|
-
var InternalServerException5 = class extends TranslateServiceException {
|
|
39900
|
+
var InternalServerException5 = class _InternalServerException3 extends TranslateServiceException {
|
|
39671
39901
|
constructor(opts) {
|
|
39672
39902
|
super({
|
|
39673
39903
|
name: "InternalServerException",
|
|
@@ -39676,11 +39906,11 @@ var InternalServerException5 = class extends TranslateServiceException {
|
|
|
39676
39906
|
});
|
|
39677
39907
|
this.name = "InternalServerException";
|
|
39678
39908
|
this.$fault = "server";
|
|
39679
|
-
Object.setPrototypeOf(this,
|
|
39909
|
+
Object.setPrototypeOf(this, _InternalServerException3.prototype);
|
|
39680
39910
|
this.Message = opts.Message;
|
|
39681
39911
|
}
|
|
39682
39912
|
};
|
|
39683
|
-
var InvalidParameterValueException = class extends TranslateServiceException {
|
|
39913
|
+
var InvalidParameterValueException = class _InvalidParameterValueException extends TranslateServiceException {
|
|
39684
39914
|
constructor(opts) {
|
|
39685
39915
|
super({
|
|
39686
39916
|
name: "InvalidParameterValueException",
|
|
@@ -39689,11 +39919,11 @@ var InvalidParameterValueException = class extends TranslateServiceException {
|
|
|
39689
39919
|
});
|
|
39690
39920
|
this.name = "InvalidParameterValueException";
|
|
39691
39921
|
this.$fault = "client";
|
|
39692
|
-
Object.setPrototypeOf(this,
|
|
39922
|
+
Object.setPrototypeOf(this, _InvalidParameterValueException.prototype);
|
|
39693
39923
|
this.Message = opts.Message;
|
|
39694
39924
|
}
|
|
39695
39925
|
};
|
|
39696
|
-
var InvalidRequestException7 = class extends TranslateServiceException {
|
|
39926
|
+
var InvalidRequestException7 = class _InvalidRequestException3 extends TranslateServiceException {
|
|
39697
39927
|
constructor(opts) {
|
|
39698
39928
|
super({
|
|
39699
39929
|
name: "InvalidRequestException",
|
|
@@ -39702,11 +39932,11 @@ var InvalidRequestException7 = class extends TranslateServiceException {
|
|
|
39702
39932
|
});
|
|
39703
39933
|
this.name = "InvalidRequestException";
|
|
39704
39934
|
this.$fault = "client";
|
|
39705
|
-
Object.setPrototypeOf(this,
|
|
39935
|
+
Object.setPrototypeOf(this, _InvalidRequestException3.prototype);
|
|
39706
39936
|
this.Message = opts.Message;
|
|
39707
39937
|
}
|
|
39708
39938
|
};
|
|
39709
|
-
var LimitExceededException2 = class extends TranslateServiceException {
|
|
39939
|
+
var LimitExceededException2 = class _LimitExceededException extends TranslateServiceException {
|
|
39710
39940
|
constructor(opts) {
|
|
39711
39941
|
super({
|
|
39712
39942
|
name: "LimitExceededException",
|
|
@@ -39715,11 +39945,11 @@ var LimitExceededException2 = class extends TranslateServiceException {
|
|
|
39715
39945
|
});
|
|
39716
39946
|
this.name = "LimitExceededException";
|
|
39717
39947
|
this.$fault = "client";
|
|
39718
|
-
Object.setPrototypeOf(this,
|
|
39948
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
39719
39949
|
this.Message = opts.Message;
|
|
39720
39950
|
}
|
|
39721
39951
|
};
|
|
39722
|
-
var TooManyRequestsException4 = class extends TranslateServiceException {
|
|
39952
|
+
var TooManyRequestsException4 = class _TooManyRequestsException extends TranslateServiceException {
|
|
39723
39953
|
constructor(opts) {
|
|
39724
39954
|
super({
|
|
39725
39955
|
name: "TooManyRequestsException",
|
|
@@ -39728,11 +39958,11 @@ var TooManyRequestsException4 = class extends TranslateServiceException {
|
|
|
39728
39958
|
});
|
|
39729
39959
|
this.name = "TooManyRequestsException";
|
|
39730
39960
|
this.$fault = "client";
|
|
39731
|
-
Object.setPrototypeOf(this,
|
|
39961
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
39732
39962
|
this.Message = opts.Message;
|
|
39733
39963
|
}
|
|
39734
39964
|
};
|
|
39735
|
-
var TooManyTagsException = class extends TranslateServiceException {
|
|
39965
|
+
var TooManyTagsException = class _TooManyTagsException extends TranslateServiceException {
|
|
39736
39966
|
constructor(opts) {
|
|
39737
39967
|
super({
|
|
39738
39968
|
name: "TooManyTagsException",
|
|
@@ -39741,11 +39971,11 @@ var TooManyTagsException = class extends TranslateServiceException {
|
|
|
39741
39971
|
});
|
|
39742
39972
|
this.name = "TooManyTagsException";
|
|
39743
39973
|
this.$fault = "client";
|
|
39744
|
-
Object.setPrototypeOf(this,
|
|
39974
|
+
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
39745
39975
|
this.ResourceArn = opts.ResourceArn;
|
|
39746
39976
|
}
|
|
39747
39977
|
};
|
|
39748
|
-
var ResourceNotFoundException6 = class extends TranslateServiceException {
|
|
39978
|
+
var ResourceNotFoundException6 = class _ResourceNotFoundException extends TranslateServiceException {
|
|
39749
39979
|
constructor(opts) {
|
|
39750
39980
|
super({
|
|
39751
39981
|
name: "ResourceNotFoundException",
|
|
@@ -39754,11 +39984,11 @@ var ResourceNotFoundException6 = class extends TranslateServiceException {
|
|
|
39754
39984
|
});
|
|
39755
39985
|
this.name = "ResourceNotFoundException";
|
|
39756
39986
|
this.$fault = "client";
|
|
39757
|
-
Object.setPrototypeOf(this,
|
|
39987
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
39758
39988
|
this.Message = opts.Message;
|
|
39759
39989
|
}
|
|
39760
39990
|
};
|
|
39761
|
-
var UnsupportedDisplayLanguageCodeException = class extends TranslateServiceException {
|
|
39991
|
+
var UnsupportedDisplayLanguageCodeException = class _UnsupportedDisplayLanguageCodeException extends TranslateServiceException {
|
|
39762
39992
|
constructor(opts) {
|
|
39763
39993
|
super({
|
|
39764
39994
|
name: "UnsupportedDisplayLanguageCodeException",
|
|
@@ -39767,12 +39997,12 @@ var UnsupportedDisplayLanguageCodeException = class extends TranslateServiceExce
|
|
|
39767
39997
|
});
|
|
39768
39998
|
this.name = "UnsupportedDisplayLanguageCodeException";
|
|
39769
39999
|
this.$fault = "client";
|
|
39770
|
-
Object.setPrototypeOf(this,
|
|
40000
|
+
Object.setPrototypeOf(this, _UnsupportedDisplayLanguageCodeException.prototype);
|
|
39771
40001
|
this.Message = opts.Message;
|
|
39772
40002
|
this.DisplayLanguageCode = opts.DisplayLanguageCode;
|
|
39773
40003
|
}
|
|
39774
40004
|
};
|
|
39775
|
-
var InvalidFilterException = class extends TranslateServiceException {
|
|
40005
|
+
var InvalidFilterException = class _InvalidFilterException extends TranslateServiceException {
|
|
39776
40006
|
constructor(opts) {
|
|
39777
40007
|
super({
|
|
39778
40008
|
name: "InvalidFilterException",
|
|
@@ -39781,11 +40011,11 @@ var InvalidFilterException = class extends TranslateServiceException {
|
|
|
39781
40011
|
});
|
|
39782
40012
|
this.name = "InvalidFilterException";
|
|
39783
40013
|
this.$fault = "client";
|
|
39784
|
-
Object.setPrototypeOf(this,
|
|
40014
|
+
Object.setPrototypeOf(this, _InvalidFilterException.prototype);
|
|
39785
40015
|
this.Message = opts.Message;
|
|
39786
40016
|
}
|
|
39787
40017
|
};
|
|
39788
|
-
var UnsupportedLanguagePairException = class extends TranslateServiceException {
|
|
40018
|
+
var UnsupportedLanguagePairException = class _UnsupportedLanguagePairException extends TranslateServiceException {
|
|
39789
40019
|
constructor(opts) {
|
|
39790
40020
|
super({
|
|
39791
40021
|
name: "UnsupportedLanguagePairException",
|
|
@@ -39794,13 +40024,13 @@ var UnsupportedLanguagePairException = class extends TranslateServiceException {
|
|
|
39794
40024
|
});
|
|
39795
40025
|
this.name = "UnsupportedLanguagePairException";
|
|
39796
40026
|
this.$fault = "client";
|
|
39797
|
-
Object.setPrototypeOf(this,
|
|
40027
|
+
Object.setPrototypeOf(this, _UnsupportedLanguagePairException.prototype);
|
|
39798
40028
|
this.Message = opts.Message;
|
|
39799
40029
|
this.SourceLanguageCode = opts.SourceLanguageCode;
|
|
39800
40030
|
this.TargetLanguageCode = opts.TargetLanguageCode;
|
|
39801
40031
|
}
|
|
39802
40032
|
};
|
|
39803
|
-
var ServiceUnavailableException = class extends TranslateServiceException {
|
|
40033
|
+
var ServiceUnavailableException = class _ServiceUnavailableException extends TranslateServiceException {
|
|
39804
40034
|
constructor(opts) {
|
|
39805
40035
|
super({
|
|
39806
40036
|
name: "ServiceUnavailableException",
|
|
@@ -39809,11 +40039,11 @@ var ServiceUnavailableException = class extends TranslateServiceException {
|
|
|
39809
40039
|
});
|
|
39810
40040
|
this.name = "ServiceUnavailableException";
|
|
39811
40041
|
this.$fault = "server";
|
|
39812
|
-
Object.setPrototypeOf(this,
|
|
40042
|
+
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
39813
40043
|
this.Message = opts.Message;
|
|
39814
40044
|
}
|
|
39815
40045
|
};
|
|
39816
|
-
var DetectedLanguageLowConfidenceException = class extends TranslateServiceException {
|
|
40046
|
+
var DetectedLanguageLowConfidenceException = class _DetectedLanguageLowConfidenceException extends TranslateServiceException {
|
|
39817
40047
|
constructor(opts) {
|
|
39818
40048
|
super({
|
|
39819
40049
|
name: "DetectedLanguageLowConfidenceException",
|
|
@@ -39822,12 +40052,12 @@ var DetectedLanguageLowConfidenceException = class extends TranslateServiceExcep
|
|
|
39822
40052
|
});
|
|
39823
40053
|
this.name = "DetectedLanguageLowConfidenceException";
|
|
39824
40054
|
this.$fault = "client";
|
|
39825
|
-
Object.setPrototypeOf(this,
|
|
40055
|
+
Object.setPrototypeOf(this, _DetectedLanguageLowConfidenceException.prototype);
|
|
39826
40056
|
this.Message = opts.Message;
|
|
39827
40057
|
this.DetectedLanguageCode = opts.DetectedLanguageCode;
|
|
39828
40058
|
}
|
|
39829
40059
|
};
|
|
39830
|
-
var TextSizeLimitExceededException = class extends TranslateServiceException {
|
|
40060
|
+
var TextSizeLimitExceededException = class _TextSizeLimitExceededException extends TranslateServiceException {
|
|
39831
40061
|
constructor(opts) {
|
|
39832
40062
|
super({
|
|
39833
40063
|
name: "TextSizeLimitExceededException",
|
|
@@ -39836,7 +40066,7 @@ var TextSizeLimitExceededException = class extends TranslateServiceException {
|
|
|
39836
40066
|
});
|
|
39837
40067
|
this.name = "TextSizeLimitExceededException";
|
|
39838
40068
|
this.$fault = "client";
|
|
39839
|
-
Object.setPrototypeOf(this,
|
|
40069
|
+
Object.setPrototypeOf(this, _TextSizeLimitExceededException.prototype);
|
|
39840
40070
|
this.Message = opts.Message;
|
|
39841
40071
|
}
|
|
39842
40072
|
};
|
|
@@ -41231,7 +41461,7 @@ var loadRestJsonErrorCode9 = (output, data) => {
|
|
|
41231
41461
|
};
|
|
41232
41462
|
|
|
41233
41463
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/CreateParallelDataCommand.js
|
|
41234
|
-
var CreateParallelDataCommand = class extends Command4 {
|
|
41464
|
+
var CreateParallelDataCommand = class _CreateParallelDataCommand extends Command4 {
|
|
41235
41465
|
static getEndpointParameterInstructions() {
|
|
41236
41466
|
return {
|
|
41237
41467
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41246,7 +41476,7 @@ var CreateParallelDataCommand = class extends Command4 {
|
|
|
41246
41476
|
}
|
|
41247
41477
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41248
41478
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41249
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41479
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _CreateParallelDataCommand.getEndpointParameterInstructions()));
|
|
41250
41480
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41251
41481
|
const { logger: logger4 } = configuration;
|
|
41252
41482
|
const clientName = "TranslateClient";
|
|
@@ -41274,7 +41504,7 @@ var CreateParallelDataCommand = class extends Command4 {
|
|
|
41274
41504
|
};
|
|
41275
41505
|
|
|
41276
41506
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/DeleteParallelDataCommand.js
|
|
41277
|
-
var DeleteParallelDataCommand = class extends Command4 {
|
|
41507
|
+
var DeleteParallelDataCommand = class _DeleteParallelDataCommand extends Command4 {
|
|
41278
41508
|
static getEndpointParameterInstructions() {
|
|
41279
41509
|
return {
|
|
41280
41510
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41289,7 +41519,7 @@ var DeleteParallelDataCommand = class extends Command4 {
|
|
|
41289
41519
|
}
|
|
41290
41520
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41291
41521
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41292
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41522
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _DeleteParallelDataCommand.getEndpointParameterInstructions()));
|
|
41293
41523
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41294
41524
|
const { logger: logger4 } = configuration;
|
|
41295
41525
|
const clientName = "TranslateClient";
|
|
@@ -41317,7 +41547,7 @@ var DeleteParallelDataCommand = class extends Command4 {
|
|
|
41317
41547
|
};
|
|
41318
41548
|
|
|
41319
41549
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/DeleteTerminologyCommand.js
|
|
41320
|
-
var DeleteTerminologyCommand = class extends Command4 {
|
|
41550
|
+
var DeleteTerminologyCommand = class _DeleteTerminologyCommand extends Command4 {
|
|
41321
41551
|
static getEndpointParameterInstructions() {
|
|
41322
41552
|
return {
|
|
41323
41553
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41332,7 +41562,7 @@ var DeleteTerminologyCommand = class extends Command4 {
|
|
|
41332
41562
|
}
|
|
41333
41563
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41334
41564
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41335
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41565
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _DeleteTerminologyCommand.getEndpointParameterInstructions()));
|
|
41336
41566
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41337
41567
|
const { logger: logger4 } = configuration;
|
|
41338
41568
|
const clientName = "TranslateClient";
|
|
@@ -41360,7 +41590,7 @@ var DeleteTerminologyCommand = class extends Command4 {
|
|
|
41360
41590
|
};
|
|
41361
41591
|
|
|
41362
41592
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/DescribeTextTranslationJobCommand.js
|
|
41363
|
-
var DescribeTextTranslationJobCommand = class extends Command4 {
|
|
41593
|
+
var DescribeTextTranslationJobCommand = class _DescribeTextTranslationJobCommand extends Command4 {
|
|
41364
41594
|
static getEndpointParameterInstructions() {
|
|
41365
41595
|
return {
|
|
41366
41596
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41375,7 +41605,7 @@ var DescribeTextTranslationJobCommand = class extends Command4 {
|
|
|
41375
41605
|
}
|
|
41376
41606
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41377
41607
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41378
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41608
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _DescribeTextTranslationJobCommand.getEndpointParameterInstructions()));
|
|
41379
41609
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41380
41610
|
const { logger: logger4 } = configuration;
|
|
41381
41611
|
const clientName = "TranslateClient";
|
|
@@ -41403,7 +41633,7 @@ var DescribeTextTranslationJobCommand = class extends Command4 {
|
|
|
41403
41633
|
};
|
|
41404
41634
|
|
|
41405
41635
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/GetParallelDataCommand.js
|
|
41406
|
-
var GetParallelDataCommand = class extends Command4 {
|
|
41636
|
+
var GetParallelDataCommand = class _GetParallelDataCommand extends Command4 {
|
|
41407
41637
|
static getEndpointParameterInstructions() {
|
|
41408
41638
|
return {
|
|
41409
41639
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41418,7 +41648,7 @@ var GetParallelDataCommand = class extends Command4 {
|
|
|
41418
41648
|
}
|
|
41419
41649
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41420
41650
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41421
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41651
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _GetParallelDataCommand.getEndpointParameterInstructions()));
|
|
41422
41652
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41423
41653
|
const { logger: logger4 } = configuration;
|
|
41424
41654
|
const clientName = "TranslateClient";
|
|
@@ -41446,7 +41676,7 @@ var GetParallelDataCommand = class extends Command4 {
|
|
|
41446
41676
|
};
|
|
41447
41677
|
|
|
41448
41678
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/GetTerminologyCommand.js
|
|
41449
|
-
var GetTerminologyCommand = class extends Command4 {
|
|
41679
|
+
var GetTerminologyCommand = class _GetTerminologyCommand extends Command4 {
|
|
41450
41680
|
static getEndpointParameterInstructions() {
|
|
41451
41681
|
return {
|
|
41452
41682
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41461,7 +41691,7 @@ var GetTerminologyCommand = class extends Command4 {
|
|
|
41461
41691
|
}
|
|
41462
41692
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41463
41693
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41464
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41694
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _GetTerminologyCommand.getEndpointParameterInstructions()));
|
|
41465
41695
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41466
41696
|
const { logger: logger4 } = configuration;
|
|
41467
41697
|
const clientName = "TranslateClient";
|
|
@@ -41489,7 +41719,7 @@ var GetTerminologyCommand = class extends Command4 {
|
|
|
41489
41719
|
};
|
|
41490
41720
|
|
|
41491
41721
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ImportTerminologyCommand.js
|
|
41492
|
-
var ImportTerminologyCommand = class extends Command4 {
|
|
41722
|
+
var ImportTerminologyCommand = class _ImportTerminologyCommand extends Command4 {
|
|
41493
41723
|
static getEndpointParameterInstructions() {
|
|
41494
41724
|
return {
|
|
41495
41725
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41504,7 +41734,7 @@ var ImportTerminologyCommand = class extends Command4 {
|
|
|
41504
41734
|
}
|
|
41505
41735
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41506
41736
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41507
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41737
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ImportTerminologyCommand.getEndpointParameterInstructions()));
|
|
41508
41738
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41509
41739
|
const { logger: logger4 } = configuration;
|
|
41510
41740
|
const clientName = "TranslateClient";
|
|
@@ -41532,7 +41762,7 @@ var ImportTerminologyCommand = class extends Command4 {
|
|
|
41532
41762
|
};
|
|
41533
41763
|
|
|
41534
41764
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ListLanguagesCommand.js
|
|
41535
|
-
var ListLanguagesCommand = class extends Command4 {
|
|
41765
|
+
var ListLanguagesCommand = class _ListLanguagesCommand extends Command4 {
|
|
41536
41766
|
static getEndpointParameterInstructions() {
|
|
41537
41767
|
return {
|
|
41538
41768
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41547,7 +41777,7 @@ var ListLanguagesCommand = class extends Command4 {
|
|
|
41547
41777
|
}
|
|
41548
41778
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41549
41779
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41550
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41780
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ListLanguagesCommand.getEndpointParameterInstructions()));
|
|
41551
41781
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41552
41782
|
const { logger: logger4 } = configuration;
|
|
41553
41783
|
const clientName = "TranslateClient";
|
|
@@ -41575,7 +41805,7 @@ var ListLanguagesCommand = class extends Command4 {
|
|
|
41575
41805
|
};
|
|
41576
41806
|
|
|
41577
41807
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ListParallelDataCommand.js
|
|
41578
|
-
var ListParallelDataCommand = class extends Command4 {
|
|
41808
|
+
var ListParallelDataCommand = class _ListParallelDataCommand extends Command4 {
|
|
41579
41809
|
static getEndpointParameterInstructions() {
|
|
41580
41810
|
return {
|
|
41581
41811
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41590,7 +41820,7 @@ var ListParallelDataCommand = class extends Command4 {
|
|
|
41590
41820
|
}
|
|
41591
41821
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41592
41822
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41593
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41823
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ListParallelDataCommand.getEndpointParameterInstructions()));
|
|
41594
41824
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41595
41825
|
const { logger: logger4 } = configuration;
|
|
41596
41826
|
const clientName = "TranslateClient";
|
|
@@ -41618,7 +41848,7 @@ var ListParallelDataCommand = class extends Command4 {
|
|
|
41618
41848
|
};
|
|
41619
41849
|
|
|
41620
41850
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ListTagsForResourceCommand.js
|
|
41621
|
-
var ListTagsForResourceCommand = class extends Command4 {
|
|
41851
|
+
var ListTagsForResourceCommand = class _ListTagsForResourceCommand extends Command4 {
|
|
41622
41852
|
static getEndpointParameterInstructions() {
|
|
41623
41853
|
return {
|
|
41624
41854
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41633,7 +41863,7 @@ var ListTagsForResourceCommand = class extends Command4 {
|
|
|
41633
41863
|
}
|
|
41634
41864
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41635
41865
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41636
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41866
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
41637
41867
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41638
41868
|
const { logger: logger4 } = configuration;
|
|
41639
41869
|
const clientName = "TranslateClient";
|
|
@@ -41661,7 +41891,7 @@ var ListTagsForResourceCommand = class extends Command4 {
|
|
|
41661
41891
|
};
|
|
41662
41892
|
|
|
41663
41893
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ListTerminologiesCommand.js
|
|
41664
|
-
var ListTerminologiesCommand = class extends Command4 {
|
|
41894
|
+
var ListTerminologiesCommand = class _ListTerminologiesCommand extends Command4 {
|
|
41665
41895
|
static getEndpointParameterInstructions() {
|
|
41666
41896
|
return {
|
|
41667
41897
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41676,7 +41906,7 @@ var ListTerminologiesCommand = class extends Command4 {
|
|
|
41676
41906
|
}
|
|
41677
41907
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41678
41908
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41679
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41909
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ListTerminologiesCommand.getEndpointParameterInstructions()));
|
|
41680
41910
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41681
41911
|
const { logger: logger4 } = configuration;
|
|
41682
41912
|
const clientName = "TranslateClient";
|
|
@@ -41704,7 +41934,7 @@ var ListTerminologiesCommand = class extends Command4 {
|
|
|
41704
41934
|
};
|
|
41705
41935
|
|
|
41706
41936
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/ListTextTranslationJobsCommand.js
|
|
41707
|
-
var ListTextTranslationJobsCommand = class extends Command4 {
|
|
41937
|
+
var ListTextTranslationJobsCommand = class _ListTextTranslationJobsCommand extends Command4 {
|
|
41708
41938
|
static getEndpointParameterInstructions() {
|
|
41709
41939
|
return {
|
|
41710
41940
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41719,7 +41949,7 @@ var ListTextTranslationJobsCommand = class extends Command4 {
|
|
|
41719
41949
|
}
|
|
41720
41950
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41721
41951
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41722
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41952
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _ListTextTranslationJobsCommand.getEndpointParameterInstructions()));
|
|
41723
41953
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41724
41954
|
const { logger: logger4 } = configuration;
|
|
41725
41955
|
const clientName = "TranslateClient";
|
|
@@ -41747,7 +41977,7 @@ var ListTextTranslationJobsCommand = class extends Command4 {
|
|
|
41747
41977
|
};
|
|
41748
41978
|
|
|
41749
41979
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/StartTextTranslationJobCommand.js
|
|
41750
|
-
var StartTextTranslationJobCommand = class extends Command4 {
|
|
41980
|
+
var StartTextTranslationJobCommand = class _StartTextTranslationJobCommand extends Command4 {
|
|
41751
41981
|
static getEndpointParameterInstructions() {
|
|
41752
41982
|
return {
|
|
41753
41983
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41762,7 +41992,7 @@ var StartTextTranslationJobCommand = class extends Command4 {
|
|
|
41762
41992
|
}
|
|
41763
41993
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41764
41994
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41765
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
41995
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _StartTextTranslationJobCommand.getEndpointParameterInstructions()));
|
|
41766
41996
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41767
41997
|
const { logger: logger4 } = configuration;
|
|
41768
41998
|
const clientName = "TranslateClient";
|
|
@@ -41790,7 +42020,7 @@ var StartTextTranslationJobCommand = class extends Command4 {
|
|
|
41790
42020
|
};
|
|
41791
42021
|
|
|
41792
42022
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/StopTextTranslationJobCommand.js
|
|
41793
|
-
var StopTextTranslationJobCommand = class extends Command4 {
|
|
42023
|
+
var StopTextTranslationJobCommand = class _StopTextTranslationJobCommand extends Command4 {
|
|
41794
42024
|
static getEndpointParameterInstructions() {
|
|
41795
42025
|
return {
|
|
41796
42026
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41805,7 +42035,7 @@ var StopTextTranslationJobCommand = class extends Command4 {
|
|
|
41805
42035
|
}
|
|
41806
42036
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41807
42037
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41808
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42038
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _StopTextTranslationJobCommand.getEndpointParameterInstructions()));
|
|
41809
42039
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41810
42040
|
const { logger: logger4 } = configuration;
|
|
41811
42041
|
const clientName = "TranslateClient";
|
|
@@ -41833,7 +42063,7 @@ var StopTextTranslationJobCommand = class extends Command4 {
|
|
|
41833
42063
|
};
|
|
41834
42064
|
|
|
41835
42065
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/TagResourceCommand.js
|
|
41836
|
-
var TagResourceCommand = class extends Command4 {
|
|
42066
|
+
var TagResourceCommand = class _TagResourceCommand extends Command4 {
|
|
41837
42067
|
static getEndpointParameterInstructions() {
|
|
41838
42068
|
return {
|
|
41839
42069
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41848,7 +42078,7 @@ var TagResourceCommand = class extends Command4 {
|
|
|
41848
42078
|
}
|
|
41849
42079
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41850
42080
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41851
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42081
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _TagResourceCommand.getEndpointParameterInstructions()));
|
|
41852
42082
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41853
42083
|
const { logger: logger4 } = configuration;
|
|
41854
42084
|
const clientName = "TranslateClient";
|
|
@@ -41876,7 +42106,7 @@ var TagResourceCommand = class extends Command4 {
|
|
|
41876
42106
|
};
|
|
41877
42107
|
|
|
41878
42108
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/TranslateDocumentCommand.js
|
|
41879
|
-
var TranslateDocumentCommand = class extends Command4 {
|
|
42109
|
+
var TranslateDocumentCommand = class _TranslateDocumentCommand extends Command4 {
|
|
41880
42110
|
static getEndpointParameterInstructions() {
|
|
41881
42111
|
return {
|
|
41882
42112
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41891,7 +42121,7 @@ var TranslateDocumentCommand = class extends Command4 {
|
|
|
41891
42121
|
}
|
|
41892
42122
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41893
42123
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41894
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42124
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _TranslateDocumentCommand.getEndpointParameterInstructions()));
|
|
41895
42125
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41896
42126
|
const { logger: logger4 } = configuration;
|
|
41897
42127
|
const clientName = "TranslateClient";
|
|
@@ -41919,7 +42149,7 @@ var TranslateDocumentCommand = class extends Command4 {
|
|
|
41919
42149
|
};
|
|
41920
42150
|
|
|
41921
42151
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/TranslateTextCommand.js
|
|
41922
|
-
var TranslateTextCommand = class extends Command4 {
|
|
42152
|
+
var TranslateTextCommand = class _TranslateTextCommand extends Command4 {
|
|
41923
42153
|
static getEndpointParameterInstructions() {
|
|
41924
42154
|
return {
|
|
41925
42155
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41934,7 +42164,7 @@ var TranslateTextCommand = class extends Command4 {
|
|
|
41934
42164
|
}
|
|
41935
42165
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41936
42166
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41937
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42167
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _TranslateTextCommand.getEndpointParameterInstructions()));
|
|
41938
42168
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41939
42169
|
const { logger: logger4 } = configuration;
|
|
41940
42170
|
const clientName = "TranslateClient";
|
|
@@ -41962,7 +42192,7 @@ var TranslateTextCommand = class extends Command4 {
|
|
|
41962
42192
|
};
|
|
41963
42193
|
|
|
41964
42194
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/UntagResourceCommand.js
|
|
41965
|
-
var UntagResourceCommand = class extends Command4 {
|
|
42195
|
+
var UntagResourceCommand = class _UntagResourceCommand extends Command4 {
|
|
41966
42196
|
static getEndpointParameterInstructions() {
|
|
41967
42197
|
return {
|
|
41968
42198
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -41977,7 +42207,7 @@ var UntagResourceCommand = class extends Command4 {
|
|
|
41977
42207
|
}
|
|
41978
42208
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41979
42209
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
41980
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42210
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _UntagResourceCommand.getEndpointParameterInstructions()));
|
|
41981
42211
|
const stack = clientStack.concat(this.middlewareStack);
|
|
41982
42212
|
const { logger: logger4 } = configuration;
|
|
41983
42213
|
const clientName = "TranslateClient";
|
|
@@ -42005,7 +42235,7 @@ var UntagResourceCommand = class extends Command4 {
|
|
|
42005
42235
|
};
|
|
42006
42236
|
|
|
42007
42237
|
// ../../node_modules/@aws-sdk/client-translate/dist-es/commands/UpdateParallelDataCommand.js
|
|
42008
|
-
var UpdateParallelDataCommand = class extends Command4 {
|
|
42238
|
+
var UpdateParallelDataCommand = class _UpdateParallelDataCommand extends Command4 {
|
|
42009
42239
|
static getEndpointParameterInstructions() {
|
|
42010
42240
|
return {
|
|
42011
42241
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -42020,7 +42250,7 @@ var UpdateParallelDataCommand = class extends Command4 {
|
|
|
42020
42250
|
}
|
|
42021
42251
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42022
42252
|
this.middlewareStack.use(getSerdePlugin4(configuration, this.serialize, this.deserialize));
|
|
42023
|
-
this.middlewareStack.use(getEndpointPlugin4(configuration,
|
|
42253
|
+
this.middlewareStack.use(getEndpointPlugin4(configuration, _UpdateParallelDataCommand.getEndpointParameterInstructions()));
|
|
42024
42254
|
const stack = clientStack.concat(this.middlewareStack);
|
|
42025
42255
|
const { logger: logger4 } = configuration;
|
|
42026
42256
|
const clientName = "TranslateClient";
|