@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
|
@@ -11,7 +11,7 @@ var __require = /* @__PURE__ */ ((x2) => typeof require !== "undefined" ? requir
|
|
|
11
11
|
}) : x2)(function(x2) {
|
|
12
12
|
if (typeof require !== "undefined")
|
|
13
13
|
return require.apply(this, arguments);
|
|
14
|
-
throw
|
|
14
|
+
throw Error('Dynamic require of "' + x2 + '" is not supported');
|
|
15
15
|
});
|
|
16
16
|
var __esm = (fn, res) => function __init() {
|
|
17
17
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
@@ -415,6 +415,7 @@ var require_validator = __commonJS({
|
|
|
415
415
|
// ../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
|
|
416
416
|
var require_OptionsBuilder = __commonJS({
|
|
417
417
|
"../../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"(exports) {
|
|
418
|
+
"use strict";
|
|
418
419
|
var defaultOptions = {
|
|
419
420
|
preserveOrder: false,
|
|
420
421
|
attributeNamePrefix: "@_",
|
|
@@ -489,6 +490,7 @@ var require_xmlNode = __commonJS({
|
|
|
489
490
|
// ../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
|
|
490
491
|
var require_DocTypeReader = __commonJS({
|
|
491
492
|
"../../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"(exports, module2) {
|
|
493
|
+
"use strict";
|
|
492
494
|
function readDocType(xmlData, i4) {
|
|
493
495
|
const entities = {};
|
|
494
496
|
if (xmlData[i4 + 3] === "O" && xmlData[i4 + 4] === "C" && xmlData[i4 + 5] === "T" && xmlData[i4 + 6] === "Y" && xmlData[i4 + 7] === "P" && xmlData[i4 + 8] === "E") {
|
|
@@ -563,6 +565,7 @@ var require_DocTypeReader = __commonJS({
|
|
|
563
565
|
// ../../node_modules/strnum/strnum.js
|
|
564
566
|
var require_strnum = __commonJS({
|
|
565
567
|
"../../node_modules/strnum/strnum.js"(exports, module2) {
|
|
568
|
+
"use strict";
|
|
566
569
|
var hexRegex = /^[-+]?0x[a-fA-F0-9]+$/;
|
|
567
570
|
var numRegex = /^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;
|
|
568
571
|
if (!Number.parseInt && window.parseInt) {
|
|
@@ -1213,6 +1216,7 @@ var require_node2json = __commonJS({
|
|
|
1213
1216
|
// ../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
|
|
1214
1217
|
var require_XMLParser = __commonJS({
|
|
1215
1218
|
"../../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"(exports, module2) {
|
|
1219
|
+
"use strict";
|
|
1216
1220
|
var { buildOptions } = require_OptionsBuilder();
|
|
1217
1221
|
var OrderedObjParser = require_OrderedObjParser();
|
|
1218
1222
|
var { prettify } = require_node2json();
|
|
@@ -1274,6 +1278,7 @@ var require_XMLParser = __commonJS({
|
|
|
1274
1278
|
// ../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
|
|
1275
1279
|
var require_orderedJs2Xml = __commonJS({
|
|
1276
1280
|
"../../node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"(exports, module2) {
|
|
1281
|
+
"use strict";
|
|
1277
1282
|
var EOL = "\n";
|
|
1278
1283
|
function toXml(jArray, options) {
|
|
1279
1284
|
return arrToStr(jArray, options, "", 0);
|
|
@@ -1627,12 +1632,12 @@ var require_fxp = __commonJS({
|
|
|
1627
1632
|
});
|
|
1628
1633
|
|
|
1629
1634
|
// ../../node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js
|
|
1630
|
-
var ProviderError = class extends Error {
|
|
1635
|
+
var ProviderError = class _ProviderError extends Error {
|
|
1631
1636
|
constructor(message, tryNextLink = true) {
|
|
1632
1637
|
super(message);
|
|
1633
1638
|
this.tryNextLink = tryNextLink;
|
|
1634
1639
|
this.name = "ProviderError";
|
|
1635
|
-
Object.setPrototypeOf(this,
|
|
1640
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
1636
1641
|
}
|
|
1637
1642
|
static from(error, tryNextLink = true) {
|
|
1638
1643
|
return Object.assign(new this(error.message, tryNextLink), error);
|
|
@@ -1640,22 +1645,22 @@ var ProviderError = class extends Error {
|
|
|
1640
1645
|
};
|
|
1641
1646
|
|
|
1642
1647
|
// ../../node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js
|
|
1643
|
-
var CredentialsProviderError = class extends ProviderError {
|
|
1648
|
+
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
1644
1649
|
constructor(message, tryNextLink = true) {
|
|
1645
1650
|
super(message, tryNextLink);
|
|
1646
1651
|
this.tryNextLink = tryNextLink;
|
|
1647
1652
|
this.name = "CredentialsProviderError";
|
|
1648
|
-
Object.setPrototypeOf(this,
|
|
1653
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
1649
1654
|
}
|
|
1650
1655
|
};
|
|
1651
1656
|
|
|
1652
1657
|
// ../../node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js
|
|
1653
|
-
var TokenProviderError = class extends ProviderError {
|
|
1658
|
+
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
1654
1659
|
constructor(message, tryNextLink = true) {
|
|
1655
1660
|
super(message, tryNextLink);
|
|
1656
1661
|
this.tryNextLink = tryNextLink;
|
|
1657
1662
|
this.name = "TokenProviderError";
|
|
1658
|
-
Object.setPrototypeOf(this,
|
|
1663
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
1659
1664
|
}
|
|
1660
1665
|
};
|
|
1661
1666
|
|
|
@@ -2468,7 +2473,7 @@ var FieldPosition;
|
|
|
2468
2473
|
})(FieldPosition || (FieldPosition = {}));
|
|
2469
2474
|
|
|
2470
2475
|
// ../../node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js
|
|
2471
|
-
var HttpRequest = class {
|
|
2476
|
+
var HttpRequest = class _HttpRequest {
|
|
2472
2477
|
constructor(options) {
|
|
2473
2478
|
this.method = options.method || "GET";
|
|
2474
2479
|
this.hostname = options.hostname || "localhost";
|
|
@@ -2486,7 +2491,7 @@ var HttpRequest = class {
|
|
|
2486
2491
|
return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object";
|
|
2487
2492
|
}
|
|
2488
2493
|
clone() {
|
|
2489
|
-
const cloned = new
|
|
2494
|
+
const cloned = new _HttpRequest({
|
|
2490
2495
|
...this,
|
|
2491
2496
|
headers: { ...this.headers }
|
|
2492
2497
|
});
|
|
@@ -3085,10 +3090,10 @@ var stripLeadingZeroes = (value) => {
|
|
|
3085
3090
|
};
|
|
3086
3091
|
|
|
3087
3092
|
// ../../node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js
|
|
3088
|
-
var ServiceException = class extends Error {
|
|
3093
|
+
var ServiceException = class _ServiceException extends Error {
|
|
3089
3094
|
constructor(options) {
|
|
3090
3095
|
super(options.message);
|
|
3091
|
-
Object.setPrototypeOf(this,
|
|
3096
|
+
Object.setPrototypeOf(this, _ServiceException.prototype);
|
|
3092
3097
|
this.name = options.name;
|
|
3093
3098
|
this.$fault = options.$fault;
|
|
3094
3099
|
this.$metadata = options.$metadata;
|
|
@@ -3260,15 +3265,15 @@ var mapWithFilter = (target, filter, instructions) => {
|
|
|
3260
3265
|
};
|
|
3261
3266
|
|
|
3262
3267
|
// ../../node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
|
|
3263
|
-
var STSServiceException = class extends ServiceException {
|
|
3268
|
+
var STSServiceException = class _STSServiceException extends ServiceException {
|
|
3264
3269
|
constructor(options) {
|
|
3265
3270
|
super(options);
|
|
3266
|
-
Object.setPrototypeOf(this,
|
|
3271
|
+
Object.setPrototypeOf(this, _STSServiceException.prototype);
|
|
3267
3272
|
}
|
|
3268
3273
|
};
|
|
3269
3274
|
|
|
3270
3275
|
// ../../node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
|
|
3271
|
-
var ExpiredTokenException = class extends STSServiceException {
|
|
3276
|
+
var ExpiredTokenException = class _ExpiredTokenException extends STSServiceException {
|
|
3272
3277
|
constructor(opts) {
|
|
3273
3278
|
super({
|
|
3274
3279
|
name: "ExpiredTokenException",
|
|
@@ -3277,10 +3282,10 @@ var ExpiredTokenException = class extends STSServiceException {
|
|
|
3277
3282
|
});
|
|
3278
3283
|
this.name = "ExpiredTokenException";
|
|
3279
3284
|
this.$fault = "client";
|
|
3280
|
-
Object.setPrototypeOf(this,
|
|
3285
|
+
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
3281
3286
|
}
|
|
3282
3287
|
};
|
|
3283
|
-
var MalformedPolicyDocumentException = class extends STSServiceException {
|
|
3288
|
+
var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException {
|
|
3284
3289
|
constructor(opts) {
|
|
3285
3290
|
super({
|
|
3286
3291
|
name: "MalformedPolicyDocumentException",
|
|
@@ -3289,10 +3294,10 @@ var MalformedPolicyDocumentException = class extends STSServiceException {
|
|
|
3289
3294
|
});
|
|
3290
3295
|
this.name = "MalformedPolicyDocumentException";
|
|
3291
3296
|
this.$fault = "client";
|
|
3292
|
-
Object.setPrototypeOf(this,
|
|
3297
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
3293
3298
|
}
|
|
3294
3299
|
};
|
|
3295
|
-
var PackedPolicyTooLargeException = class extends STSServiceException {
|
|
3300
|
+
var PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException {
|
|
3296
3301
|
constructor(opts) {
|
|
3297
3302
|
super({
|
|
3298
3303
|
name: "PackedPolicyTooLargeException",
|
|
@@ -3301,10 +3306,10 @@ var PackedPolicyTooLargeException = class extends STSServiceException {
|
|
|
3301
3306
|
});
|
|
3302
3307
|
this.name = "PackedPolicyTooLargeException";
|
|
3303
3308
|
this.$fault = "client";
|
|
3304
|
-
Object.setPrototypeOf(this,
|
|
3309
|
+
Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype);
|
|
3305
3310
|
}
|
|
3306
3311
|
};
|
|
3307
|
-
var RegionDisabledException = class extends STSServiceException {
|
|
3312
|
+
var RegionDisabledException = class _RegionDisabledException extends STSServiceException {
|
|
3308
3313
|
constructor(opts) {
|
|
3309
3314
|
super({
|
|
3310
3315
|
name: "RegionDisabledException",
|
|
@@ -3313,10 +3318,10 @@ var RegionDisabledException = class extends STSServiceException {
|
|
|
3313
3318
|
});
|
|
3314
3319
|
this.name = "RegionDisabledException";
|
|
3315
3320
|
this.$fault = "client";
|
|
3316
|
-
Object.setPrototypeOf(this,
|
|
3321
|
+
Object.setPrototypeOf(this, _RegionDisabledException.prototype);
|
|
3317
3322
|
}
|
|
3318
3323
|
};
|
|
3319
|
-
var IDPRejectedClaimException = class extends STSServiceException {
|
|
3324
|
+
var IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException {
|
|
3320
3325
|
constructor(opts) {
|
|
3321
3326
|
super({
|
|
3322
3327
|
name: "IDPRejectedClaimException",
|
|
@@ -3325,10 +3330,10 @@ var IDPRejectedClaimException = class extends STSServiceException {
|
|
|
3325
3330
|
});
|
|
3326
3331
|
this.name = "IDPRejectedClaimException";
|
|
3327
3332
|
this.$fault = "client";
|
|
3328
|
-
Object.setPrototypeOf(this,
|
|
3333
|
+
Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype);
|
|
3329
3334
|
}
|
|
3330
3335
|
};
|
|
3331
|
-
var InvalidIdentityTokenException = class extends STSServiceException {
|
|
3336
|
+
var InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException {
|
|
3332
3337
|
constructor(opts) {
|
|
3333
3338
|
super({
|
|
3334
3339
|
name: "InvalidIdentityTokenException",
|
|
@@ -3337,10 +3342,10 @@ var InvalidIdentityTokenException = class extends STSServiceException {
|
|
|
3337
3342
|
});
|
|
3338
3343
|
this.name = "InvalidIdentityTokenException";
|
|
3339
3344
|
this.$fault = "client";
|
|
3340
|
-
Object.setPrototypeOf(this,
|
|
3345
|
+
Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype);
|
|
3341
3346
|
}
|
|
3342
3347
|
};
|
|
3343
|
-
var IDPCommunicationErrorException = class extends STSServiceException {
|
|
3348
|
+
var IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException {
|
|
3344
3349
|
constructor(opts) {
|
|
3345
3350
|
super({
|
|
3346
3351
|
name: "IDPCommunicationErrorException",
|
|
@@ -3349,7 +3354,7 @@ var IDPCommunicationErrorException = class extends STSServiceException {
|
|
|
3349
3354
|
});
|
|
3350
3355
|
this.name = "IDPCommunicationErrorException";
|
|
3351
3356
|
this.$fault = "client";
|
|
3352
|
-
Object.setPrototypeOf(this,
|
|
3357
|
+
Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype);
|
|
3353
3358
|
}
|
|
3354
3359
|
};
|
|
3355
3360
|
var AssumeRoleRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -3921,7 +3926,7 @@ var loadQueryErrorCode = (output, data) => {
|
|
|
3921
3926
|
};
|
|
3922
3927
|
|
|
3923
3928
|
// ../../node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
|
|
3924
|
-
var AssumeRoleCommand = class extends Command {
|
|
3929
|
+
var AssumeRoleCommand = class _AssumeRoleCommand extends Command {
|
|
3925
3930
|
constructor(input) {
|
|
3926
3931
|
super();
|
|
3927
3932
|
this.input = input;
|
|
@@ -3937,7 +3942,7 @@ var AssumeRoleCommand = class extends Command {
|
|
|
3937
3942
|
}
|
|
3938
3943
|
resolveMiddleware(clientStack, configuration, options) {
|
|
3939
3944
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
3940
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
3945
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _AssumeRoleCommand.getEndpointParameterInstructions()));
|
|
3941
3946
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
3942
3947
|
const stack = clientStack.concat(this.middlewareStack);
|
|
3943
3948
|
const { logger: logger2 } = configuration;
|
|
@@ -6564,15 +6569,15 @@ var SSOClient = class extends Client {
|
|
|
6564
6569
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
6565
6570
|
|
|
6566
6571
|
// ../../node_modules/@aws-sdk/client-sso/dist-es/models/SSOServiceException.js
|
|
6567
|
-
var SSOServiceException = class extends ServiceException {
|
|
6572
|
+
var SSOServiceException = class _SSOServiceException extends ServiceException {
|
|
6568
6573
|
constructor(options) {
|
|
6569
6574
|
super(options);
|
|
6570
|
-
Object.setPrototypeOf(this,
|
|
6575
|
+
Object.setPrototypeOf(this, _SSOServiceException.prototype);
|
|
6571
6576
|
}
|
|
6572
6577
|
};
|
|
6573
6578
|
|
|
6574
6579
|
// ../../node_modules/@aws-sdk/client-sso/dist-es/models/models_0.js
|
|
6575
|
-
var InvalidRequestException = class extends SSOServiceException {
|
|
6580
|
+
var InvalidRequestException = class _InvalidRequestException extends SSOServiceException {
|
|
6576
6581
|
constructor(opts) {
|
|
6577
6582
|
super({
|
|
6578
6583
|
name: "InvalidRequestException",
|
|
@@ -6581,10 +6586,10 @@ var InvalidRequestException = class extends SSOServiceException {
|
|
|
6581
6586
|
});
|
|
6582
6587
|
this.name = "InvalidRequestException";
|
|
6583
6588
|
this.$fault = "client";
|
|
6584
|
-
Object.setPrototypeOf(this,
|
|
6589
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
6585
6590
|
}
|
|
6586
6591
|
};
|
|
6587
|
-
var ResourceNotFoundException = class extends SSOServiceException {
|
|
6592
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException {
|
|
6588
6593
|
constructor(opts) {
|
|
6589
6594
|
super({
|
|
6590
6595
|
name: "ResourceNotFoundException",
|
|
@@ -6593,10 +6598,10 @@ var ResourceNotFoundException = class extends SSOServiceException {
|
|
|
6593
6598
|
});
|
|
6594
6599
|
this.name = "ResourceNotFoundException";
|
|
6595
6600
|
this.$fault = "client";
|
|
6596
|
-
Object.setPrototypeOf(this,
|
|
6601
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
6597
6602
|
}
|
|
6598
6603
|
};
|
|
6599
|
-
var TooManyRequestsException = class extends SSOServiceException {
|
|
6604
|
+
var TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException {
|
|
6600
6605
|
constructor(opts) {
|
|
6601
6606
|
super({
|
|
6602
6607
|
name: "TooManyRequestsException",
|
|
@@ -6605,10 +6610,10 @@ var TooManyRequestsException = class extends SSOServiceException {
|
|
|
6605
6610
|
});
|
|
6606
6611
|
this.name = "TooManyRequestsException";
|
|
6607
6612
|
this.$fault = "client";
|
|
6608
|
-
Object.setPrototypeOf(this,
|
|
6613
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
6609
6614
|
}
|
|
6610
6615
|
};
|
|
6611
|
-
var UnauthorizedException = class extends SSOServiceException {
|
|
6616
|
+
var UnauthorizedException = class _UnauthorizedException extends SSOServiceException {
|
|
6612
6617
|
constructor(opts) {
|
|
6613
6618
|
super({
|
|
6614
6619
|
name: "UnauthorizedException",
|
|
@@ -6617,7 +6622,7 @@ var UnauthorizedException = class extends SSOServiceException {
|
|
|
6617
6622
|
});
|
|
6618
6623
|
this.name = "UnauthorizedException";
|
|
6619
6624
|
this.$fault = "client";
|
|
6620
|
-
Object.setPrototypeOf(this,
|
|
6625
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
6621
6626
|
}
|
|
6622
6627
|
};
|
|
6623
6628
|
var GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -6812,7 +6817,7 @@ var loadRestJsonErrorCode = (output, data) => {
|
|
|
6812
6817
|
};
|
|
6813
6818
|
|
|
6814
6819
|
// ../../node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js
|
|
6815
|
-
var GetRoleCredentialsCommand = class extends Command {
|
|
6820
|
+
var GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends Command {
|
|
6816
6821
|
constructor(input) {
|
|
6817
6822
|
super();
|
|
6818
6823
|
this.input = input;
|
|
@@ -6827,7 +6832,7 @@ var GetRoleCredentialsCommand = class extends Command {
|
|
|
6827
6832
|
}
|
|
6828
6833
|
resolveMiddleware(clientStack, configuration, options) {
|
|
6829
6834
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
6830
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
6835
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _GetRoleCredentialsCommand.getEndpointParameterInstructions()));
|
|
6831
6836
|
const stack = clientStack.concat(this.middlewareStack);
|
|
6832
6837
|
const { logger: logger2 } = configuration;
|
|
6833
6838
|
const clientName = "SSOClient";
|
|
@@ -6855,15 +6860,15 @@ var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
|
|
|
6855
6860
|
var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
6856
6861
|
|
|
6857
6862
|
// ../../node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js
|
|
6858
|
-
var SSOOIDCServiceException = class extends ServiceException {
|
|
6863
|
+
var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
|
|
6859
6864
|
constructor(options) {
|
|
6860
6865
|
super(options);
|
|
6861
|
-
Object.setPrototypeOf(this,
|
|
6866
|
+
Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
|
|
6862
6867
|
}
|
|
6863
6868
|
};
|
|
6864
6869
|
|
|
6865
6870
|
// ../../node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js
|
|
6866
|
-
var AccessDeniedException = class extends SSOOIDCServiceException {
|
|
6871
|
+
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
6867
6872
|
constructor(opts) {
|
|
6868
6873
|
super({
|
|
6869
6874
|
name: "AccessDeniedException",
|
|
@@ -6872,12 +6877,12 @@ var AccessDeniedException = class extends SSOOIDCServiceException {
|
|
|
6872
6877
|
});
|
|
6873
6878
|
this.name = "AccessDeniedException";
|
|
6874
6879
|
this.$fault = "client";
|
|
6875
|
-
Object.setPrototypeOf(this,
|
|
6880
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
6876
6881
|
this.error = opts.error;
|
|
6877
6882
|
this.error_description = opts.error_description;
|
|
6878
6883
|
}
|
|
6879
6884
|
};
|
|
6880
|
-
var AuthorizationPendingException = class extends SSOOIDCServiceException {
|
|
6885
|
+
var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
|
|
6881
6886
|
constructor(opts) {
|
|
6882
6887
|
super({
|
|
6883
6888
|
name: "AuthorizationPendingException",
|
|
@@ -6886,12 +6891,12 @@ var AuthorizationPendingException = class extends SSOOIDCServiceException {
|
|
|
6886
6891
|
});
|
|
6887
6892
|
this.name = "AuthorizationPendingException";
|
|
6888
6893
|
this.$fault = "client";
|
|
6889
|
-
Object.setPrototypeOf(this,
|
|
6894
|
+
Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
|
|
6890
6895
|
this.error = opts.error;
|
|
6891
6896
|
this.error_description = opts.error_description;
|
|
6892
6897
|
}
|
|
6893
6898
|
};
|
|
6894
|
-
var ExpiredTokenException2 = class extends SSOOIDCServiceException {
|
|
6899
|
+
var ExpiredTokenException2 = class _ExpiredTokenException extends SSOOIDCServiceException {
|
|
6895
6900
|
constructor(opts) {
|
|
6896
6901
|
super({
|
|
6897
6902
|
name: "ExpiredTokenException",
|
|
@@ -6900,12 +6905,12 @@ var ExpiredTokenException2 = class extends SSOOIDCServiceException {
|
|
|
6900
6905
|
});
|
|
6901
6906
|
this.name = "ExpiredTokenException";
|
|
6902
6907
|
this.$fault = "client";
|
|
6903
|
-
Object.setPrototypeOf(this,
|
|
6908
|
+
Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
|
|
6904
6909
|
this.error = opts.error;
|
|
6905
6910
|
this.error_description = opts.error_description;
|
|
6906
6911
|
}
|
|
6907
6912
|
};
|
|
6908
|
-
var InternalServerException = class extends SSOOIDCServiceException {
|
|
6913
|
+
var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
|
|
6909
6914
|
constructor(opts) {
|
|
6910
6915
|
super({
|
|
6911
6916
|
name: "InternalServerException",
|
|
@@ -6914,12 +6919,12 @@ var InternalServerException = class extends SSOOIDCServiceException {
|
|
|
6914
6919
|
});
|
|
6915
6920
|
this.name = "InternalServerException";
|
|
6916
6921
|
this.$fault = "server";
|
|
6917
|
-
Object.setPrototypeOf(this,
|
|
6922
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
6918
6923
|
this.error = opts.error;
|
|
6919
6924
|
this.error_description = opts.error_description;
|
|
6920
6925
|
}
|
|
6921
6926
|
};
|
|
6922
|
-
var InvalidClientException = class extends SSOOIDCServiceException {
|
|
6927
|
+
var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
|
|
6923
6928
|
constructor(opts) {
|
|
6924
6929
|
super({
|
|
6925
6930
|
name: "InvalidClientException",
|
|
@@ -6928,12 +6933,12 @@ var InvalidClientException = class extends SSOOIDCServiceException {
|
|
|
6928
6933
|
});
|
|
6929
6934
|
this.name = "InvalidClientException";
|
|
6930
6935
|
this.$fault = "client";
|
|
6931
|
-
Object.setPrototypeOf(this,
|
|
6936
|
+
Object.setPrototypeOf(this, _InvalidClientException.prototype);
|
|
6932
6937
|
this.error = opts.error;
|
|
6933
6938
|
this.error_description = opts.error_description;
|
|
6934
6939
|
}
|
|
6935
6940
|
};
|
|
6936
|
-
var InvalidGrantException = class extends SSOOIDCServiceException {
|
|
6941
|
+
var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
|
|
6937
6942
|
constructor(opts) {
|
|
6938
6943
|
super({
|
|
6939
6944
|
name: "InvalidGrantException",
|
|
@@ -6942,12 +6947,12 @@ var InvalidGrantException = class extends SSOOIDCServiceException {
|
|
|
6942
6947
|
});
|
|
6943
6948
|
this.name = "InvalidGrantException";
|
|
6944
6949
|
this.$fault = "client";
|
|
6945
|
-
Object.setPrototypeOf(this,
|
|
6950
|
+
Object.setPrototypeOf(this, _InvalidGrantException.prototype);
|
|
6946
6951
|
this.error = opts.error;
|
|
6947
6952
|
this.error_description = opts.error_description;
|
|
6948
6953
|
}
|
|
6949
6954
|
};
|
|
6950
|
-
var InvalidRequestException2 = class extends SSOOIDCServiceException {
|
|
6955
|
+
var InvalidRequestException2 = class _InvalidRequestException extends SSOOIDCServiceException {
|
|
6951
6956
|
constructor(opts) {
|
|
6952
6957
|
super({
|
|
6953
6958
|
name: "InvalidRequestException",
|
|
@@ -6956,12 +6961,12 @@ var InvalidRequestException2 = class extends SSOOIDCServiceException {
|
|
|
6956
6961
|
});
|
|
6957
6962
|
this.name = "InvalidRequestException";
|
|
6958
6963
|
this.$fault = "client";
|
|
6959
|
-
Object.setPrototypeOf(this,
|
|
6964
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
6960
6965
|
this.error = opts.error;
|
|
6961
6966
|
this.error_description = opts.error_description;
|
|
6962
6967
|
}
|
|
6963
6968
|
};
|
|
6964
|
-
var InvalidScopeException = class extends SSOOIDCServiceException {
|
|
6969
|
+
var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
|
|
6965
6970
|
constructor(opts) {
|
|
6966
6971
|
super({
|
|
6967
6972
|
name: "InvalidScopeException",
|
|
@@ -6970,12 +6975,12 @@ var InvalidScopeException = class extends SSOOIDCServiceException {
|
|
|
6970
6975
|
});
|
|
6971
6976
|
this.name = "InvalidScopeException";
|
|
6972
6977
|
this.$fault = "client";
|
|
6973
|
-
Object.setPrototypeOf(this,
|
|
6978
|
+
Object.setPrototypeOf(this, _InvalidScopeException.prototype);
|
|
6974
6979
|
this.error = opts.error;
|
|
6975
6980
|
this.error_description = opts.error_description;
|
|
6976
6981
|
}
|
|
6977
6982
|
};
|
|
6978
|
-
var SlowDownException = class extends SSOOIDCServiceException {
|
|
6983
|
+
var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
|
|
6979
6984
|
constructor(opts) {
|
|
6980
6985
|
super({
|
|
6981
6986
|
name: "SlowDownException",
|
|
@@ -6984,12 +6989,12 @@ var SlowDownException = class extends SSOOIDCServiceException {
|
|
|
6984
6989
|
});
|
|
6985
6990
|
this.name = "SlowDownException";
|
|
6986
6991
|
this.$fault = "client";
|
|
6987
|
-
Object.setPrototypeOf(this,
|
|
6992
|
+
Object.setPrototypeOf(this, _SlowDownException.prototype);
|
|
6988
6993
|
this.error = opts.error;
|
|
6989
6994
|
this.error_description = opts.error_description;
|
|
6990
6995
|
}
|
|
6991
6996
|
};
|
|
6992
|
-
var UnauthorizedClientException = class extends SSOOIDCServiceException {
|
|
6997
|
+
var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
|
|
6993
6998
|
constructor(opts) {
|
|
6994
6999
|
super({
|
|
6995
7000
|
name: "UnauthorizedClientException",
|
|
@@ -6998,12 +7003,12 @@ var UnauthorizedClientException = class extends SSOOIDCServiceException {
|
|
|
6998
7003
|
});
|
|
6999
7004
|
this.name = "UnauthorizedClientException";
|
|
7000
7005
|
this.$fault = "client";
|
|
7001
|
-
Object.setPrototypeOf(this,
|
|
7006
|
+
Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
|
|
7002
7007
|
this.error = opts.error;
|
|
7003
7008
|
this.error_description = opts.error_description;
|
|
7004
7009
|
}
|
|
7005
7010
|
};
|
|
7006
|
-
var UnsupportedGrantTypeException = class extends SSOOIDCServiceException {
|
|
7011
|
+
var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
|
|
7007
7012
|
constructor(opts) {
|
|
7008
7013
|
super({
|
|
7009
7014
|
name: "UnsupportedGrantTypeException",
|
|
@@ -7012,7 +7017,7 @@ var UnsupportedGrantTypeException = class extends SSOOIDCServiceException {
|
|
|
7012
7017
|
});
|
|
7013
7018
|
this.name = "UnsupportedGrantTypeException";
|
|
7014
7019
|
this.$fault = "client";
|
|
7015
|
-
Object.setPrototypeOf(this,
|
|
7020
|
+
Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
|
|
7016
7021
|
this.error = opts.error;
|
|
7017
7022
|
this.error_description = opts.error_description;
|
|
7018
7023
|
}
|
|
@@ -7353,7 +7358,7 @@ var loadRestJsonErrorCode2 = (output, data) => {
|
|
|
7353
7358
|
};
|
|
7354
7359
|
|
|
7355
7360
|
// ../../node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js
|
|
7356
|
-
var CreateTokenCommand = class extends Command {
|
|
7361
|
+
var CreateTokenCommand = class _CreateTokenCommand extends Command {
|
|
7357
7362
|
constructor(input) {
|
|
7358
7363
|
super();
|
|
7359
7364
|
this.input = input;
|
|
@@ -7368,7 +7373,7 @@ var CreateTokenCommand = class extends Command {
|
|
|
7368
7373
|
}
|
|
7369
7374
|
resolveMiddleware(clientStack, configuration, options) {
|
|
7370
7375
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
7371
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
7376
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _CreateTokenCommand.getEndpointParameterInstructions()));
|
|
7372
7377
|
const stack = clientStack.concat(this.middlewareStack);
|
|
7373
7378
|
const { logger: logger2 } = configuration;
|
|
7374
7379
|
const clientName = "SSOOIDCClient";
|
|
@@ -8116,7 +8121,7 @@ var package_default3 = {
|
|
|
8116
8121
|
};
|
|
8117
8122
|
|
|
8118
8123
|
// ../../node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
|
|
8119
|
-
var AssumeRoleWithWebIdentityCommand = class extends Command {
|
|
8124
|
+
var AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends Command {
|
|
8120
8125
|
constructor(input) {
|
|
8121
8126
|
super();
|
|
8122
8127
|
this.input = input;
|
|
@@ -8132,7 +8137,7 @@ var AssumeRoleWithWebIdentityCommand = class extends Command {
|
|
|
8132
8137
|
}
|
|
8133
8138
|
resolveMiddleware(clientStack, configuration, options) {
|
|
8134
8139
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
8135
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
8140
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions()));
|
|
8136
8141
|
const stack = clientStack.concat(this.middlewareStack);
|
|
8137
8142
|
const { logger: logger2 } = configuration;
|
|
8138
8143
|
const clientName = "STSClient";
|
|
@@ -8318,7 +8323,7 @@ var getRuntimeConfig6 = (config) => {
|
|
|
8318
8323
|
};
|
|
8319
8324
|
|
|
8320
8325
|
// ../../node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
|
|
8321
|
-
var STSClient = class extends Client {
|
|
8326
|
+
var STSClient = class _STSClient extends Client {
|
|
8322
8327
|
constructor(configuration) {
|
|
8323
8328
|
const _config_0 = getRuntimeConfig6(configuration);
|
|
8324
8329
|
const _config_1 = resolveClientEndpointParameters3(_config_0);
|
|
@@ -8326,7 +8331,7 @@ var STSClient = class extends Client {
|
|
|
8326
8331
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
8327
8332
|
const _config_4 = resolveRetryConfig(_config_3);
|
|
8328
8333
|
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
8329
|
-
const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor:
|
|
8334
|
+
const _config_6 = resolveStsAuthConfig(_config_5, { stsClientCtor: _STSClient });
|
|
8330
8335
|
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
8331
8336
|
super(_config_7);
|
|
8332
8337
|
this.config = _config_7;
|
|
@@ -8371,6 +8376,7 @@ export {
|
|
|
8371
8376
|
__export,
|
|
8372
8377
|
__toESM,
|
|
8373
8378
|
__toCommonJS,
|
|
8379
|
+
v4_default,
|
|
8374
8380
|
NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
8375
8381
|
NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
8376
8382
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -8387,7 +8393,6 @@ export {
|
|
|
8387
8393
|
getLoggerPlugin,
|
|
8388
8394
|
getRecursionDetectionPlugin,
|
|
8389
8395
|
DEFAULT_RETRY_MODE,
|
|
8390
|
-
v4_default,
|
|
8391
8396
|
NODE_MAX_ATTEMPT_CONFIG_OPTIONS,
|
|
8392
8397
|
resolveRetryConfig,
|
|
8393
8398
|
NODE_RETRY_MODE_CONFIG_OPTIONS,
|