@sisense/mcp-server 0.2.2 → 0.2.4
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/{ai-hspmgr2c.js → ai-qt2rw4p0.js} +999 -959
- package/dist/{index-29n08mw7.js → index-0rmh0qta.js} +5 -5
- package/dist/{index-er0yspcy.js → index-6vz3bc2n.js} +552 -385
- package/dist/{index-vx54d05h.js → index-7ztxzw1b.js} +9 -9
- package/dist/{index-tqba2rwh.js → index-86j7fyp7.js} +406 -245
- package/dist/{index-p1pxtmwn.js → index-bgbnagw5.js} +18 -20
- package/dist/{index-d6843g0v.js → index-jatbeegy.js} +9 -7
- package/dist/{index-dxfb3krz.js → index-jgdfekw7.js} +375 -539
- package/dist/{index-qdth51hx.js → index-k71wsmah.js} +8 -1
- package/dist/{index-atgbxy7h.js → index-mxkgxy04.js} +28981 -27209
- package/dist/{index-vrapm0b4.js → index-p5hr1cfd.js} +458 -331
- package/dist/{index-dcrjg3fk.js → index-z44fq2x1.js} +3 -2
- package/dist/sse-server-0d83pnkk.js +54 -0
- package/dist/{sse-server-brx9qtyd.js → sse-server-22mq7fhc.js} +880 -757
- package/dist/{sse-server-3e0efmg2.js → sse-server-d3yx2z0r.js} +1845 -1825
- package/dist/{sse-server-4jjec4fz.js → sse-server-gcjj2741.js} +2081 -1695
- package/dist/{sse-server-rr3dp62e.js → sse-server-kpkj0hbc.js} +22749 -22399
- package/dist/{sse-server-36t17nga.js → sse-server-qhqncg7f.js} +3555 -3657
- package/dist/{sse-server-txz5g5t0.js → sse-server-rrtgkg21.js} +414 -177
- package/dist/{sse-server-nwjjjz6x.js → sse-server-wb2h6nz7.js} +3 -52
- package/dist/{sse-server-qj4zxq0f.js → sse-server-zmcz2c17.js} +12 -24
- package/dist/sse-server.js +96 -52
- package/dist/view.html +609 -544
- package/dist/{widget-renderer-66ws3xtk.js → widget-renderer-wjrpnwpy.js} +12 -12
- package/package.json +4 -4
- package/dist/sse-server-4b60tg0c.js +0 -136
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./sse-server-4b60tg0c.js";
|
|
4
|
-
import {
|
|
5
|
-
require_dist_cjs as require_dist_cjs6,
|
|
2
|
+
require_dist_cjs as require_dist_cjs7,
|
|
6
3
|
require_dist_cjs10 as require_dist_cjs16,
|
|
7
4
|
require_dist_cjs11 as require_dist_cjs17,
|
|
8
|
-
require_dist_cjs12 as
|
|
5
|
+
require_dist_cjs12 as require_dist_cjs18,
|
|
9
6
|
require_dist_cjs13 as require_dist_cjs20,
|
|
10
7
|
require_dist_cjs14 as require_dist_cjs21,
|
|
11
8
|
require_dist_cjs15 as require_dist_cjs22,
|
|
@@ -13,34 +10,37 @@ import {
|
|
|
13
10
|
require_dist_cjs17 as require_dist_cjs24,
|
|
14
11
|
require_dist_cjs18 as require_dist_cjs25,
|
|
15
12
|
require_dist_cjs19 as require_dist_cjs26,
|
|
16
|
-
require_dist_cjs2 as
|
|
17
|
-
require_dist_cjs3 as
|
|
18
|
-
require_dist_cjs4 as
|
|
19
|
-
require_dist_cjs5 as
|
|
20
|
-
require_dist_cjs7 as
|
|
13
|
+
require_dist_cjs2 as require_dist_cjs9,
|
|
14
|
+
require_dist_cjs3 as require_dist_cjs10,
|
|
15
|
+
require_dist_cjs4 as require_dist_cjs11,
|
|
16
|
+
require_dist_cjs5 as require_dist_cjs12,
|
|
17
|
+
require_dist_cjs7 as require_dist_cjs13,
|
|
21
18
|
require_dist_cjs8 as require_dist_cjs14,
|
|
22
19
|
require_dist_cjs9 as require_dist_cjs15,
|
|
20
|
+
require_package,
|
|
23
21
|
require_protocols
|
|
24
|
-
} from "./sse-server-
|
|
22
|
+
} from "./sse-server-gcjj2741.js";
|
|
25
23
|
import {
|
|
26
|
-
require_dist_cjs as
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
import"./sse-server-qj4zxq0f.js";
|
|
24
|
+
require_dist_cjs as require_dist_cjs19
|
|
25
|
+
} from "./sse-server-wb2h6nz7.js";
|
|
26
|
+
import"./sse-server-zmcz2c17.js";
|
|
30
27
|
import {
|
|
31
28
|
require_dist_cjs as require_dist_cjs2,
|
|
32
29
|
require_dist_cjs1 as require_dist_cjs4,
|
|
33
30
|
require_dist_cjs3 as require_dist_cjs5,
|
|
34
|
-
require_dist_cjs7,
|
|
31
|
+
require_dist_cjs7 as require_dist_cjs8,
|
|
35
32
|
require_schema,
|
|
36
33
|
require_tslib
|
|
37
|
-
} from "./sse-server-
|
|
34
|
+
} from "./sse-server-rrtgkg21.js";
|
|
38
35
|
import {
|
|
39
36
|
require_dist_cjs
|
|
40
37
|
} from "./sse-server-epd916s3.js";
|
|
41
38
|
import {
|
|
42
39
|
require_dist_cjs2 as require_dist_cjs3
|
|
43
40
|
} from "./sse-server-5tmgacdx.js";
|
|
41
|
+
import {
|
|
42
|
+
require_dist_cjs as require_dist_cjs6
|
|
43
|
+
} from "./sse-server-0d83pnkk.js";
|
|
44
44
|
import"./sse-server-4g9za0qq.js";
|
|
45
45
|
import {
|
|
46
46
|
require_client
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
var require_httpAuthSchemeProvider = __commonJS((exports) => {
|
|
55
55
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
56
56
|
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = undefined;
|
|
57
|
-
var core_1 =
|
|
57
|
+
var core_1 = require_dist_cjs9();
|
|
58
58
|
var util_middleware_1 = require_dist_cjs2();
|
|
59
59
|
var STSClient_1 = require_STSClient();
|
|
60
60
|
var defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
@@ -165,7 +165,11 @@ var require_ruleset = __commonJS((exports) => {
|
|
|
165
165
|
var r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" };
|
|
166
166
|
var s = { [J]: "UseFIPS" };
|
|
167
167
|
var t = { [J]: "UseDualStack" };
|
|
168
|
-
var u = {
|
|
168
|
+
var u = {
|
|
169
|
+
url: "https://sts.amazonaws.com",
|
|
170
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
|
|
171
|
+
headers: {}
|
|
172
|
+
};
|
|
169
173
|
var v = {};
|
|
170
174
|
var w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h };
|
|
171
175
|
var x = { [H]: c, [I]: [s, true] };
|
|
@@ -176,7 +180,141 @@ var require_ruleset = __commonJS((exports) => {
|
|
|
176
180
|
var C = [{ [H]: "isSet", [I]: [o] }];
|
|
177
181
|
var D = [x];
|
|
178
182
|
var E = [y];
|
|
179
|
-
var _data = {
|
|
183
|
+
var _data = {
|
|
184
|
+
version: "1.0",
|
|
185
|
+
parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
|
|
186
|
+
rules: [
|
|
187
|
+
{
|
|
188
|
+
conditions: [
|
|
189
|
+
{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
|
|
190
|
+
{ [H]: "not", [I]: C },
|
|
191
|
+
p,
|
|
192
|
+
r,
|
|
193
|
+
{ [H]: c, [I]: [s, a] },
|
|
194
|
+
{ [H]: c, [I]: [t, a] }
|
|
195
|
+
],
|
|
196
|
+
rules: [
|
|
197
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
|
|
198
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
|
|
199
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
|
|
200
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
|
|
201
|
+
w,
|
|
202
|
+
{ conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
|
|
203
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
|
|
204
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
|
|
205
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
|
|
206
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
|
|
207
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
|
|
208
|
+
{ conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
|
|
209
|
+
{ conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
|
|
210
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
|
|
211
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
|
|
212
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
|
|
213
|
+
{
|
|
214
|
+
endpoint: {
|
|
215
|
+
url: i,
|
|
216
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
|
|
217
|
+
headers: v
|
|
218
|
+
},
|
|
219
|
+
[G]: h
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
[G]: j
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
conditions: C,
|
|
226
|
+
rules: [
|
|
227
|
+
{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
|
|
228
|
+
{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
|
|
229
|
+
{ endpoint: { url: o, properties: v, headers: v }, [G]: h }
|
|
230
|
+
],
|
|
231
|
+
[G]: j
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
conditions: [p],
|
|
235
|
+
rules: [
|
|
236
|
+
{
|
|
237
|
+
conditions: [r],
|
|
238
|
+
rules: [
|
|
239
|
+
{
|
|
240
|
+
conditions: [x, y],
|
|
241
|
+
rules: [
|
|
242
|
+
{
|
|
243
|
+
conditions: [{ [H]: c, [I]: [b, z] }, B],
|
|
244
|
+
rules: [
|
|
245
|
+
{
|
|
246
|
+
endpoint: {
|
|
247
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
248
|
+
properties: v,
|
|
249
|
+
headers: v
|
|
250
|
+
},
|
|
251
|
+
[G]: h
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
[G]: j
|
|
255
|
+
},
|
|
256
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }
|
|
257
|
+
],
|
|
258
|
+
[G]: j
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
conditions: D,
|
|
262
|
+
rules: [
|
|
263
|
+
{
|
|
264
|
+
conditions: [{ [H]: c, [I]: [z, b] }],
|
|
265
|
+
rules: [
|
|
266
|
+
{
|
|
267
|
+
conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
|
|
268
|
+
endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
|
|
269
|
+
[G]: h
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
endpoint: {
|
|
273
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
274
|
+
properties: v,
|
|
275
|
+
headers: v
|
|
276
|
+
},
|
|
277
|
+
[G]: h
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
[G]: j
|
|
281
|
+
},
|
|
282
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", [G]: k }
|
|
283
|
+
],
|
|
284
|
+
[G]: j
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
conditions: E,
|
|
288
|
+
rules: [
|
|
289
|
+
{
|
|
290
|
+
conditions: [B],
|
|
291
|
+
rules: [
|
|
292
|
+
{
|
|
293
|
+
endpoint: {
|
|
294
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
295
|
+
properties: v,
|
|
296
|
+
headers: v
|
|
297
|
+
},
|
|
298
|
+
[G]: h
|
|
299
|
+
}
|
|
300
|
+
],
|
|
301
|
+
[G]: j
|
|
302
|
+
},
|
|
303
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", [G]: k }
|
|
304
|
+
],
|
|
305
|
+
[G]: j
|
|
306
|
+
},
|
|
307
|
+
w,
|
|
308
|
+
{ endpoint: { url: i, properties: v, headers: v }, [G]: h }
|
|
309
|
+
],
|
|
310
|
+
[G]: j
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
[G]: j
|
|
314
|
+
},
|
|
315
|
+
{ error: "Invalid Configuration: Missing Region", [G]: k }
|
|
316
|
+
]
|
|
317
|
+
};
|
|
180
318
|
exports.ruleSet = _data;
|
|
181
319
|
});
|
|
182
320
|
|
|
@@ -185,7 +323,7 @@ var require_endpointResolver = __commonJS((exports) => {
|
|
|
185
323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
186
324
|
exports.defaultEndpointResolver = undefined;
|
|
187
325
|
var util_endpoints_1 = require_dist_cjs14();
|
|
188
|
-
var util_endpoints_2 =
|
|
326
|
+
var util_endpoints_2 = require_dist_cjs13();
|
|
189
327
|
var ruleset_1 = require_ruleset();
|
|
190
328
|
var cache = new util_endpoints_2.EndpointCache({
|
|
191
329
|
size: 50,
|
|
@@ -201,262 +339,31 @@ var require_endpointResolver = __commonJS((exports) => {
|
|
|
201
339
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
202
340
|
});
|
|
203
341
|
|
|
204
|
-
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/
|
|
205
|
-
var
|
|
206
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
207
|
-
exports.getRuntimeConfig = undefined;
|
|
208
|
-
var core_1 = require_dist_cjs8();
|
|
209
|
-
var protocols_1 = require_protocols();
|
|
210
|
-
var core_2 = require_dist_cjs6();
|
|
211
|
-
var smithy_client_1 = require_dist_cjs7();
|
|
212
|
-
var url_parser_1 = require_dist_cjs13();
|
|
213
|
-
var util_base64_1 = require_dist_cjs4();
|
|
214
|
-
var util_utf8_1 = require_dist_cjs3();
|
|
215
|
-
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
216
|
-
var endpointResolver_1 = require_endpointResolver();
|
|
217
|
-
var getRuntimeConfig = (config) => {
|
|
218
|
-
return {
|
|
219
|
-
apiVersion: "2011-06-15",
|
|
220
|
-
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
221
|
-
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
222
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
223
|
-
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
224
|
-
extensions: config?.extensions ?? [],
|
|
225
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,
|
|
226
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
227
|
-
{
|
|
228
|
-
schemeId: "aws.auth#sigv4",
|
|
229
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
230
|
-
signer: new core_1.AwsSdkSigV4Signer
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
schemeId: "smithy.api#noAuth",
|
|
234
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
235
|
-
signer: new core_2.NoAuthSigner
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
logger: config?.logger ?? new smithy_client_1.NoOpLogger,
|
|
239
|
-
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
240
|
-
protocolSettings: config?.protocolSettings ?? {
|
|
241
|
-
defaultNamespace: "com.amazonaws.sts",
|
|
242
|
-
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
243
|
-
version: "2011-06-15",
|
|
244
|
-
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
245
|
-
},
|
|
246
|
-
serviceId: config?.serviceId ?? "STS",
|
|
247
|
-
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
248
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
249
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
|
|
256
|
-
var require_runtimeConfig = __commonJS((exports) => {
|
|
257
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
258
|
-
exports.getRuntimeConfig = undefined;
|
|
259
|
-
var tslib_1 = require_tslib();
|
|
260
|
-
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
261
|
-
var core_1 = require_dist_cjs8();
|
|
262
|
-
var util_user_agent_node_1 = require_dist_cjs22();
|
|
263
|
-
var config_resolver_1 = require_dist_cjs16();
|
|
264
|
-
var core_2 = require_dist_cjs6();
|
|
265
|
-
var hash_node_1 = require_dist_cjs23();
|
|
266
|
-
var middleware_retry_1 = require_dist_cjs21();
|
|
267
|
-
var node_config_provider_1 = require_dist_cjs18();
|
|
268
|
-
var node_http_handler_1 = require_dist_cjs5();
|
|
269
|
-
var smithy_client_1 = require_dist_cjs7();
|
|
270
|
-
var util_body_length_node_1 = require_dist_cjs24();
|
|
271
|
-
var util_defaults_mode_node_1 = require_dist_cjs25();
|
|
272
|
-
var util_retry_1 = require_dist_cjs20();
|
|
273
|
-
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
274
|
-
var getRuntimeConfig = (config) => {
|
|
275
|
-
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
276
|
-
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
277
|
-
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
278
|
-
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
279
|
-
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
280
|
-
const loaderConfig = {
|
|
281
|
-
profile: config?.profile,
|
|
282
|
-
logger: clientSharedValues.logger
|
|
283
|
-
};
|
|
284
|
-
return {
|
|
285
|
-
...clientSharedValues,
|
|
286
|
-
...config,
|
|
287
|
-
runtime: "node",
|
|
288
|
-
defaultsMode,
|
|
289
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
290
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
291
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
292
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
293
|
-
{
|
|
294
|
-
schemeId: "aws.auth#sigv4",
|
|
295
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
296
|
-
signer: new core_1.AwsSdkSigV4Signer
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
schemeId: "smithy.api#noAuth",
|
|
300
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
301
|
-
signer: new core_2.NoAuthSigner
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
305
|
-
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
306
|
-
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
307
|
-
retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({
|
|
308
|
-
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
309
|
-
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
|
|
310
|
-
}, config),
|
|
311
|
-
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
312
|
-
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
313
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
314
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
315
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
322
|
-
var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
|
|
323
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
324
|
-
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = undefined;
|
|
325
|
-
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
326
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
327
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
328
|
-
let _credentials = runtimeConfig.credentials;
|
|
329
|
-
return {
|
|
330
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
331
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
332
|
-
if (index === -1) {
|
|
333
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
334
|
-
} else {
|
|
335
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
336
|
-
}
|
|
337
|
-
},
|
|
338
|
-
httpAuthSchemes() {
|
|
339
|
-
return _httpAuthSchemes;
|
|
340
|
-
},
|
|
341
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
342
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
343
|
-
},
|
|
344
|
-
httpAuthSchemeProvider() {
|
|
345
|
-
return _httpAuthSchemeProvider;
|
|
346
|
-
},
|
|
347
|
-
setCredentials(credentials) {
|
|
348
|
-
_credentials = credentials;
|
|
349
|
-
},
|
|
350
|
-
credentials() {
|
|
351
|
-
return _credentials;
|
|
352
|
-
}
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
356
|
-
var resolveHttpAuthRuntimeConfig = (config) => {
|
|
357
|
-
return {
|
|
358
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
359
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
360
|
-
credentials: config.credentials()
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
364
|
-
});
|
|
365
|
-
|
|
366
|
-
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
|
|
367
|
-
var require_runtimeExtensions = __commonJS((exports) => {
|
|
368
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
369
|
-
exports.resolveRuntimeExtensions = undefined;
|
|
370
|
-
var region_config_resolver_1 = require_dist_cjs26();
|
|
371
|
-
var protocol_http_1 = require_dist_cjs();
|
|
372
|
-
var smithy_client_1 = require_dist_cjs7();
|
|
373
|
-
var httpAuthExtensionConfiguration_1 = require_httpAuthExtensionConfiguration();
|
|
374
|
-
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
375
|
-
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
|
376
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
377
|
-
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
|
378
|
-
};
|
|
379
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
380
|
-
});
|
|
381
|
-
|
|
382
|
-
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
|
|
383
|
-
var require_STSClient = __commonJS((exports) => {
|
|
342
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js
|
|
343
|
+
var require_STSServiceException = __commonJS((exports) => {
|
|
384
344
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
385
|
-
exports.
|
|
386
|
-
var
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
var middleware_user_agent_1 = require_dist_cjs15();
|
|
390
|
-
var config_resolver_1 = require_dist_cjs16();
|
|
391
|
-
var core_1 = require_dist_cjs6();
|
|
392
|
-
var schema_1 = require_schema();
|
|
393
|
-
var middleware_content_length_1 = require_dist_cjs17();
|
|
394
|
-
var middleware_endpoint_1 = require_dist_cjs19();
|
|
395
|
-
var middleware_retry_1 = require_dist_cjs21();
|
|
396
|
-
var smithy_client_1 = require_dist_cjs7();
|
|
397
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function() {
|
|
398
|
-
return smithy_client_1.Client;
|
|
345
|
+
exports.STSServiceException = exports.__ServiceException = undefined;
|
|
346
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
347
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() {
|
|
348
|
+
return smithy_client_1.ServiceException;
|
|
399
349
|
} });
|
|
400
|
-
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
401
|
-
var EndpointParameters_1 = require_EndpointParameters();
|
|
402
|
-
var runtimeConfig_1 = require_runtimeConfig();
|
|
403
|
-
var runtimeExtensions_1 = require_runtimeExtensions();
|
|
404
|
-
|
|
405
|
-
class STSClient extends smithy_client_1.Client {
|
|
406
|
-
config;
|
|
407
|
-
constructor(...[configuration]) {
|
|
408
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
409
|
-
super(_config_0);
|
|
410
|
-
this.initConfig = _config_0;
|
|
411
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
412
|
-
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
413
|
-
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
414
|
-
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
415
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
416
|
-
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
417
|
-
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
418
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
419
|
-
this.config = _config_8;
|
|
420
|
-
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
421
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
422
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
423
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
424
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
425
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
426
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
427
|
-
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
428
|
-
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,
|
|
429
|
-
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
430
|
-
"aws.auth#sigv4": config.credentials
|
|
431
|
-
})
|
|
432
|
-
}));
|
|
433
|
-
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
434
|
-
}
|
|
435
|
-
destroy() {
|
|
436
|
-
super.destroy();
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
exports.STSClient = STSClient;
|
|
440
|
-
});
|
|
441
350
|
|
|
442
|
-
|
|
443
|
-
var require_sts = __commonJS((exports) => {
|
|
444
|
-
var STSClient = require_STSClient();
|
|
445
|
-
var smithyClient = require_dist_cjs7();
|
|
446
|
-
var middlewareEndpoint = require_dist_cjs19();
|
|
447
|
-
var EndpointParameters = require_EndpointParameters();
|
|
448
|
-
var schema = require_schema();
|
|
449
|
-
var client = require_client();
|
|
450
|
-
var regionConfigResolver = require_dist_cjs26();
|
|
451
|
-
|
|
452
|
-
class STSServiceException extends smithyClient.ServiceException {
|
|
351
|
+
class STSServiceException extends smithy_client_1.ServiceException {
|
|
453
352
|
constructor(options) {
|
|
454
353
|
super(options);
|
|
455
354
|
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
456
355
|
}
|
|
457
356
|
}
|
|
357
|
+
exports.STSServiceException = STSServiceException;
|
|
358
|
+
});
|
|
359
|
+
|
|
360
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js
|
|
361
|
+
var require_errors = __commonJS((exports) => {
|
|
362
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
363
|
+
exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = undefined;
|
|
364
|
+
var STSServiceException_1 = require_STSServiceException();
|
|
458
365
|
|
|
459
|
-
class ExpiredTokenException extends STSServiceException {
|
|
366
|
+
class ExpiredTokenException extends STSServiceException_1.STSServiceException {
|
|
460
367
|
name = "ExpiredTokenException";
|
|
461
368
|
$fault = "client";
|
|
462
369
|
constructor(opts) {
|
|
@@ -468,8 +375,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
468
375
|
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
469
376
|
}
|
|
470
377
|
}
|
|
378
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
471
379
|
|
|
472
|
-
class MalformedPolicyDocumentException extends STSServiceException {
|
|
380
|
+
class MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException {
|
|
473
381
|
name = "MalformedPolicyDocumentException";
|
|
474
382
|
$fault = "client";
|
|
475
383
|
constructor(opts) {
|
|
@@ -481,8 +389,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
481
389
|
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
482
390
|
}
|
|
483
391
|
}
|
|
392
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
484
393
|
|
|
485
|
-
class PackedPolicyTooLargeException extends STSServiceException {
|
|
394
|
+
class PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException {
|
|
486
395
|
name = "PackedPolicyTooLargeException";
|
|
487
396
|
$fault = "client";
|
|
488
397
|
constructor(opts) {
|
|
@@ -494,8 +403,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
494
403
|
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
495
404
|
}
|
|
496
405
|
}
|
|
406
|
+
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
|
|
497
407
|
|
|
498
|
-
class RegionDisabledException extends STSServiceException {
|
|
408
|
+
class RegionDisabledException extends STSServiceException_1.STSServiceException {
|
|
499
409
|
name = "RegionDisabledException";
|
|
500
410
|
$fault = "client";
|
|
501
411
|
constructor(opts) {
|
|
@@ -507,8 +417,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
507
417
|
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
508
418
|
}
|
|
509
419
|
}
|
|
420
|
+
exports.RegionDisabledException = RegionDisabledException;
|
|
510
421
|
|
|
511
|
-
class IDPRejectedClaimException extends STSServiceException {
|
|
422
|
+
class IDPRejectedClaimException extends STSServiceException_1.STSServiceException {
|
|
512
423
|
name = "IDPRejectedClaimException";
|
|
513
424
|
$fault = "client";
|
|
514
425
|
constructor(opts) {
|
|
@@ -520,8 +431,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
520
431
|
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
521
432
|
}
|
|
522
433
|
}
|
|
434
|
+
exports.IDPRejectedClaimException = IDPRejectedClaimException;
|
|
523
435
|
|
|
524
|
-
class InvalidIdentityTokenException extends STSServiceException {
|
|
436
|
+
class InvalidIdentityTokenException extends STSServiceException_1.STSServiceException {
|
|
525
437
|
name = "InvalidIdentityTokenException";
|
|
526
438
|
$fault = "client";
|
|
527
439
|
constructor(opts) {
|
|
@@ -533,8 +445,9 @@ var require_sts = __commonJS((exports) => {
|
|
|
533
445
|
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
534
446
|
}
|
|
535
447
|
}
|
|
448
|
+
exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
536
449
|
|
|
537
|
-
class IDPCommunicationErrorException extends STSServiceException {
|
|
450
|
+
class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException {
|
|
538
451
|
name = "IDPCommunicationErrorException";
|
|
539
452
|
$fault = "client";
|
|
540
453
|
constructor(opts) {
|
|
@@ -546,6 +459,13 @@ var require_sts = __commonJS((exports) => {
|
|
|
546
459
|
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
547
460
|
}
|
|
548
461
|
}
|
|
462
|
+
exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
|
|
466
|
+
var require_schemas_0 = __commonJS((exports) => {
|
|
467
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
468
|
+
exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = undefined;
|
|
549
469
|
var _A = "Arn";
|
|
550
470
|
var _AKI = "AccessKeyId";
|
|
551
471
|
var _AR = "AssumeRole";
|
|
@@ -605,59 +525,23 @@ var require_sts = __commonJS((exports) => {
|
|
|
605
525
|
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
606
526
|
var _tLT = "tagListType";
|
|
607
527
|
var n0 = "com.amazonaws.sts";
|
|
608
|
-
var
|
|
609
|
-
var
|
|
610
|
-
var
|
|
611
|
-
var
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType]
|
|
618
|
-
];
|
|
619
|
-
var AssumeRoleResponse$ = [
|
|
620
|
-
3,
|
|
621
|
-
n0,
|
|
622
|
-
_ARRs,
|
|
623
|
-
0,
|
|
624
|
-
[_C, _ARU, _PPS, _SI],
|
|
625
|
-
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
626
|
-
];
|
|
627
|
-
var AssumeRoleWithWebIdentityRequest$ = [
|
|
628
|
-
3,
|
|
629
|
-
n0,
|
|
630
|
-
_ARWWIR,
|
|
631
|
-
0,
|
|
632
|
-
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
633
|
-
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1]
|
|
634
|
-
];
|
|
635
|
-
var AssumeRoleWithWebIdentityResponse$ = [
|
|
636
|
-
3,
|
|
637
|
-
n0,
|
|
638
|
-
_ARWWIRs,
|
|
639
|
-
0,
|
|
640
|
-
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
641
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
642
|
-
];
|
|
643
|
-
var Credentials$ = [
|
|
644
|
-
3,
|
|
645
|
-
n0,
|
|
646
|
-
_C,
|
|
647
|
-
0,
|
|
648
|
-
[_AKI, _SAK, _ST, _E],
|
|
649
|
-
[0, [() => accessKeySecretType, 0], 0, 4]
|
|
650
|
-
];
|
|
651
|
-
var ExpiredTokenException$ = [
|
|
652
|
-
-3,
|
|
528
|
+
var schema_1 = require_schema();
|
|
529
|
+
var errors_1 = require_errors();
|
|
530
|
+
var STSServiceException_1 = require_STSServiceException();
|
|
531
|
+
var _s_registry = schema_1.TypeRegistry.for(_s);
|
|
532
|
+
exports.STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
533
|
+
_s_registry.registerError(exports.STSServiceException$, STSServiceException_1.STSServiceException);
|
|
534
|
+
var n0_registry = schema_1.TypeRegistry.for(n0);
|
|
535
|
+
exports.ExpiredTokenException$ = [
|
|
536
|
+
-3,
|
|
653
537
|
n0,
|
|
654
538
|
_ETE,
|
|
655
539
|
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
656
540
|
[_m],
|
|
657
541
|
[0]
|
|
658
542
|
];
|
|
659
|
-
|
|
660
|
-
|
|
543
|
+
n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
|
|
544
|
+
exports.IDPCommunicationErrorException$ = [
|
|
661
545
|
-3,
|
|
662
546
|
n0,
|
|
663
547
|
_IDPCEE,
|
|
@@ -665,8 +549,8 @@ var require_sts = __commonJS((exports) => {
|
|
|
665
549
|
[_m],
|
|
666
550
|
[0]
|
|
667
551
|
];
|
|
668
|
-
|
|
669
|
-
|
|
552
|
+
n0_registry.registerError(exports.IDPCommunicationErrorException$, errors_1.IDPCommunicationErrorException);
|
|
553
|
+
exports.IDPRejectedClaimException$ = [
|
|
670
554
|
-3,
|
|
671
555
|
n0,
|
|
672
556
|
_IDPRCE,
|
|
@@ -674,8 +558,8 @@ var require_sts = __commonJS((exports) => {
|
|
|
674
558
|
[_m],
|
|
675
559
|
[0]
|
|
676
560
|
];
|
|
677
|
-
|
|
678
|
-
|
|
561
|
+
n0_registry.registerError(exports.IDPRejectedClaimException$, errors_1.IDPRejectedClaimException);
|
|
562
|
+
exports.InvalidIdentityTokenException$ = [
|
|
679
563
|
-3,
|
|
680
564
|
n0,
|
|
681
565
|
_IITE,
|
|
@@ -683,8 +567,8 @@ var require_sts = __commonJS((exports) => {
|
|
|
683
567
|
[_m],
|
|
684
568
|
[0]
|
|
685
569
|
];
|
|
686
|
-
|
|
687
|
-
|
|
570
|
+
n0_registry.registerError(exports.InvalidIdentityTokenException$, errors_1.InvalidIdentityTokenException);
|
|
571
|
+
exports.MalformedPolicyDocumentException$ = [
|
|
688
572
|
-3,
|
|
689
573
|
n0,
|
|
690
574
|
_MPDE,
|
|
@@ -692,8 +576,8 @@ var require_sts = __commonJS((exports) => {
|
|
|
692
576
|
[_m],
|
|
693
577
|
[0]
|
|
694
578
|
];
|
|
695
|
-
|
|
696
|
-
|
|
579
|
+
n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException);
|
|
580
|
+
exports.PackedPolicyTooLargeException$ = [
|
|
697
581
|
-3,
|
|
698
582
|
n0,
|
|
699
583
|
_PPTLE,
|
|
@@ -701,10 +585,8 @@ var require_sts = __commonJS((exports) => {
|
|
|
701
585
|
[_m],
|
|
702
586
|
[0]
|
|
703
587
|
];
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
var ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
707
|
-
var RegionDisabledException$ = [
|
|
588
|
+
n0_registry.registerError(exports.PackedPolicyTooLargeException$, errors_1.PackedPolicyTooLargeException);
|
|
589
|
+
exports.RegionDisabledException$ = [
|
|
708
590
|
-3,
|
|
709
591
|
n0,
|
|
710
592
|
_RDE,
|
|
@@ -712,31 +594,332 @@ var require_sts = __commonJS((exports) => {
|
|
|
712
594
|
[_m],
|
|
713
595
|
[0]
|
|
714
596
|
];
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
597
|
+
n0_registry.registerError(exports.RegionDisabledException$, errors_1.RegionDisabledException);
|
|
598
|
+
exports.errorTypeRegistries = [_s_registry, n0_registry];
|
|
599
|
+
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
600
|
+
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
601
|
+
exports.AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2];
|
|
602
|
+
exports.AssumeRoleRequest$ = [
|
|
603
|
+
3,
|
|
604
|
+
n0,
|
|
605
|
+
_ARR,
|
|
606
|
+
0,
|
|
607
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
608
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
609
|
+
2
|
|
610
|
+
];
|
|
611
|
+
exports.AssumeRoleResponse$ = [
|
|
612
|
+
3,
|
|
613
|
+
n0,
|
|
614
|
+
_ARRs,
|
|
615
|
+
0,
|
|
616
|
+
[_C, _ARU, _PPS, _SI],
|
|
617
|
+
[[() => exports.Credentials$, 0], () => exports.AssumedRoleUser$, 1, 0]
|
|
618
|
+
];
|
|
619
|
+
exports.AssumeRoleWithWebIdentityRequest$ = [
|
|
620
|
+
3,
|
|
621
|
+
n0,
|
|
622
|
+
_ARWWIR,
|
|
623
|
+
0,
|
|
624
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
625
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
626
|
+
3
|
|
627
|
+
];
|
|
628
|
+
exports.AssumeRoleWithWebIdentityResponse$ = [
|
|
629
|
+
3,
|
|
630
|
+
n0,
|
|
631
|
+
_ARWWIRs,
|
|
632
|
+
0,
|
|
633
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
634
|
+
[[() => exports.Credentials$, 0], 0, () => exports.AssumedRoleUser$, 1, 0, 0, 0]
|
|
635
|
+
];
|
|
636
|
+
exports.Credentials$ = [
|
|
637
|
+
3,
|
|
638
|
+
n0,
|
|
639
|
+
_C,
|
|
640
|
+
0,
|
|
641
|
+
[_AKI, _SAK, _ST, _E],
|
|
642
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
643
|
+
4
|
|
644
|
+
];
|
|
645
|
+
exports.PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
|
|
646
|
+
exports.ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
647
|
+
exports.Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];
|
|
648
|
+
var policyDescriptorListType = [1, n0, _pDLT, 0, () => exports.PolicyDescriptorType$];
|
|
649
|
+
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => exports.ProvidedContext$];
|
|
650
|
+
var tagKeyListType = 64 | 0;
|
|
651
|
+
var tagListType = [1, n0, _tLT, 0, () => exports.Tag$];
|
|
652
|
+
exports.AssumeRole$ = [9, n0, _AR, 0, () => exports.AssumeRoleRequest$, () => exports.AssumeRoleResponse$];
|
|
653
|
+
exports.AssumeRoleWithWebIdentity$ = [
|
|
724
654
|
9,
|
|
725
655
|
n0,
|
|
726
656
|
_ARWWI,
|
|
727
657
|
0,
|
|
728
|
-
() => AssumeRoleWithWebIdentityRequest$,
|
|
729
|
-
() => AssumeRoleWithWebIdentityResponse$
|
|
658
|
+
() => exports.AssumeRoleWithWebIdentityRequest$,
|
|
659
|
+
() => exports.AssumeRoleWithWebIdentityResponse$
|
|
730
660
|
];
|
|
661
|
+
});
|
|
662
|
+
|
|
663
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
|
|
664
|
+
var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
665
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
666
|
+
exports.getRuntimeConfig = undefined;
|
|
667
|
+
var core_1 = require_dist_cjs9();
|
|
668
|
+
var protocols_1 = require_protocols();
|
|
669
|
+
var core_2 = require_dist_cjs7();
|
|
670
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
671
|
+
var url_parser_1 = require_dist_cjs6();
|
|
672
|
+
var util_base64_1 = require_dist_cjs4();
|
|
673
|
+
var util_utf8_1 = require_dist_cjs3();
|
|
674
|
+
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
675
|
+
var endpointResolver_1 = require_endpointResolver();
|
|
676
|
+
var schemas_0_1 = require_schemas_0();
|
|
677
|
+
var getRuntimeConfig = (config) => {
|
|
678
|
+
return {
|
|
679
|
+
apiVersion: "2011-06-15",
|
|
680
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
681
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
682
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
683
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
684
|
+
extensions: config?.extensions ?? [],
|
|
685
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,
|
|
686
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
687
|
+
{
|
|
688
|
+
schemeId: "aws.auth#sigv4",
|
|
689
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
690
|
+
signer: new core_1.AwsSdkSigV4Signer
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
schemeId: "smithy.api#noAuth",
|
|
694
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
695
|
+
signer: new core_2.NoAuthSigner
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger,
|
|
699
|
+
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
700
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
701
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
702
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
703
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
704
|
+
version: "2011-06-15",
|
|
705
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
706
|
+
},
|
|
707
|
+
serviceId: config?.serviceId ?? "STS",
|
|
708
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
709
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
710
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
714
|
+
});
|
|
715
|
+
|
|
716
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
|
|
717
|
+
var require_runtimeConfig = __commonJS((exports) => {
|
|
718
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
719
|
+
exports.getRuntimeConfig = undefined;
|
|
720
|
+
var tslib_1 = require_tslib();
|
|
721
|
+
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
722
|
+
var core_1 = require_dist_cjs9();
|
|
723
|
+
var util_user_agent_node_1 = require_dist_cjs22();
|
|
724
|
+
var config_resolver_1 = require_dist_cjs17();
|
|
725
|
+
var core_2 = require_dist_cjs7();
|
|
726
|
+
var hash_node_1 = require_dist_cjs23();
|
|
727
|
+
var middleware_retry_1 = require_dist_cjs21();
|
|
728
|
+
var node_config_provider_1 = require_dist_cjs19();
|
|
729
|
+
var node_http_handler_1 = require_dist_cjs5();
|
|
730
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
731
|
+
var util_body_length_node_1 = require_dist_cjs24();
|
|
732
|
+
var util_defaults_mode_node_1 = require_dist_cjs25();
|
|
733
|
+
var util_retry_1 = require_dist_cjs15();
|
|
734
|
+
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
735
|
+
var getRuntimeConfig = (config) => {
|
|
736
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
737
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
738
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
739
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
740
|
+
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
741
|
+
const loaderConfig = {
|
|
742
|
+
profile: config?.profile,
|
|
743
|
+
logger: clientSharedValues.logger
|
|
744
|
+
};
|
|
745
|
+
return {
|
|
746
|
+
...clientSharedValues,
|
|
747
|
+
...config,
|
|
748
|
+
runtime: "node",
|
|
749
|
+
defaultsMode,
|
|
750
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
751
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
752
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
753
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
754
|
+
{
|
|
755
|
+
schemeId: "aws.auth#sigv4",
|
|
756
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
757
|
+
signer: new core_1.AwsSdkSigV4Signer
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
schemeId: "smithy.api#noAuth",
|
|
761
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
762
|
+
signer: new core_2.NoAuthSigner
|
|
763
|
+
}
|
|
764
|
+
],
|
|
765
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
766
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
767
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
768
|
+
retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({
|
|
769
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
770
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
|
|
771
|
+
}, config),
|
|
772
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
773
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
774
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
775
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
776
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
780
|
+
});
|
|
781
|
+
|
|
782
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
783
|
+
var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
|
|
784
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
785
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = undefined;
|
|
786
|
+
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
787
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
788
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
789
|
+
let _credentials = runtimeConfig.credentials;
|
|
790
|
+
return {
|
|
791
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
792
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
793
|
+
if (index === -1) {
|
|
794
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
795
|
+
} else {
|
|
796
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
httpAuthSchemes() {
|
|
800
|
+
return _httpAuthSchemes;
|
|
801
|
+
},
|
|
802
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
803
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
804
|
+
},
|
|
805
|
+
httpAuthSchemeProvider() {
|
|
806
|
+
return _httpAuthSchemeProvider;
|
|
807
|
+
},
|
|
808
|
+
setCredentials(credentials) {
|
|
809
|
+
_credentials = credentials;
|
|
810
|
+
},
|
|
811
|
+
credentials() {
|
|
812
|
+
return _credentials;
|
|
813
|
+
}
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
817
|
+
var resolveHttpAuthRuntimeConfig = (config) => {
|
|
818
|
+
return {
|
|
819
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
820
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
821
|
+
credentials: config.credentials()
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
825
|
+
});
|
|
826
|
+
|
|
827
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
|
|
828
|
+
var require_runtimeExtensions = __commonJS((exports) => {
|
|
829
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
830
|
+
exports.resolveRuntimeExtensions = undefined;
|
|
831
|
+
var region_config_resolver_1 = require_dist_cjs26();
|
|
832
|
+
var protocol_http_1 = require_dist_cjs();
|
|
833
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
834
|
+
var httpAuthExtensionConfiguration_1 = require_httpAuthExtensionConfiguration();
|
|
835
|
+
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
836
|
+
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
|
837
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
838
|
+
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
|
839
|
+
};
|
|
840
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
841
|
+
});
|
|
842
|
+
|
|
843
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
|
|
844
|
+
var require_STSClient = __commonJS((exports) => {
|
|
845
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
846
|
+
exports.STSClient = exports.__Client = undefined;
|
|
847
|
+
var middleware_host_header_1 = require_dist_cjs10();
|
|
848
|
+
var middleware_logger_1 = require_dist_cjs11();
|
|
849
|
+
var middleware_recursion_detection_1 = require_dist_cjs12();
|
|
850
|
+
var middleware_user_agent_1 = require_dist_cjs16();
|
|
851
|
+
var config_resolver_1 = require_dist_cjs17();
|
|
852
|
+
var core_1 = require_dist_cjs7();
|
|
853
|
+
var schema_1 = require_schema();
|
|
854
|
+
var middleware_content_length_1 = require_dist_cjs18();
|
|
855
|
+
var middleware_endpoint_1 = require_dist_cjs20();
|
|
856
|
+
var middleware_retry_1 = require_dist_cjs21();
|
|
857
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
858
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function() {
|
|
859
|
+
return smithy_client_1.Client;
|
|
860
|
+
} });
|
|
861
|
+
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
862
|
+
var EndpointParameters_1 = require_EndpointParameters();
|
|
863
|
+
var runtimeConfig_1 = require_runtimeConfig();
|
|
864
|
+
var runtimeExtensions_1 = require_runtimeExtensions();
|
|
865
|
+
|
|
866
|
+
class STSClient extends smithy_client_1.Client {
|
|
867
|
+
config;
|
|
868
|
+
constructor(...[configuration]) {
|
|
869
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
870
|
+
super(_config_0);
|
|
871
|
+
this.initConfig = _config_0;
|
|
872
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
873
|
+
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
874
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
875
|
+
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
876
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
877
|
+
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
878
|
+
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
879
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
880
|
+
this.config = _config_8;
|
|
881
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
882
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
883
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
884
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
885
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
886
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
887
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
888
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
889
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,
|
|
890
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
891
|
+
"aws.auth#sigv4": config.credentials
|
|
892
|
+
})
|
|
893
|
+
}));
|
|
894
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
895
|
+
}
|
|
896
|
+
destroy() {
|
|
897
|
+
super.destroy();
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
exports.STSClient = STSClient;
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
// node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
904
|
+
var require_sts = __commonJS((exports) => {
|
|
905
|
+
var STSClient = require_STSClient();
|
|
906
|
+
var smithyClient = require_dist_cjs8();
|
|
907
|
+
var middlewareEndpoint = require_dist_cjs20();
|
|
908
|
+
var EndpointParameters = require_EndpointParameters();
|
|
909
|
+
var schemas_0 = require_schemas_0();
|
|
910
|
+
var errors = require_errors();
|
|
911
|
+
var client = require_client();
|
|
912
|
+
var regionConfigResolver = require_dist_cjs26();
|
|
913
|
+
var STSServiceException = require_STSServiceException();
|
|
731
914
|
|
|
732
915
|
class AssumeRoleCommand extends smithyClient.Command.classBuilder().ep(EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
|
733
916
|
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
734
|
-
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {
|
|
917
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(schemas_0.AssumeRole$).build() {
|
|
735
918
|
}
|
|
736
919
|
|
|
737
920
|
class AssumeRoleWithWebIdentityCommand extends smithyClient.Command.classBuilder().ep(EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
|
738
921
|
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
739
|
-
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {
|
|
922
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(schemas_0.AssumeRoleWithWebIdentity$).build() {
|
|
740
923
|
}
|
|
741
924
|
var commands = {
|
|
742
925
|
AssumeRoleCommand,
|
|
@@ -864,53 +1047,37 @@ var require_sts = __commonJS((exports) => {
|
|
|
864
1047
|
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),
|
|
865
1048
|
...input
|
|
866
1049
|
});
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
get: function() {
|
|
870
|
-
return smithyClient.Command;
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
exports.AssumeRole$ = AssumeRole$;
|
|
1050
|
+
exports.$Command = smithyClient.Command;
|
|
1051
|
+
exports.STSServiceException = STSServiceException.STSServiceException;
|
|
874
1052
|
exports.AssumeRoleCommand = AssumeRoleCommand;
|
|
875
|
-
exports.AssumeRoleRequest$ = AssumeRoleRequest$;
|
|
876
|
-
exports.AssumeRoleResponse$ = AssumeRoleResponse$;
|
|
877
|
-
exports.AssumeRoleWithWebIdentity$ = AssumeRoleWithWebIdentity$;
|
|
878
1053
|
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
|
|
879
|
-
exports.AssumeRoleWithWebIdentityRequest$ = AssumeRoleWithWebIdentityRequest$;
|
|
880
|
-
exports.AssumeRoleWithWebIdentityResponse$ = AssumeRoleWithWebIdentityResponse$;
|
|
881
|
-
exports.AssumedRoleUser$ = AssumedRoleUser$;
|
|
882
|
-
exports.Credentials$ = Credentials$;
|
|
883
|
-
exports.ExpiredTokenException = ExpiredTokenException;
|
|
884
|
-
exports.ExpiredTokenException$ = ExpiredTokenException$;
|
|
885
|
-
exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
886
|
-
exports.IDPCommunicationErrorException$ = IDPCommunicationErrorException$;
|
|
887
|
-
exports.IDPRejectedClaimException = IDPRejectedClaimException;
|
|
888
|
-
exports.IDPRejectedClaimException$ = IDPRejectedClaimException$;
|
|
889
|
-
exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
890
|
-
exports.InvalidIdentityTokenException$ = InvalidIdentityTokenException$;
|
|
891
|
-
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
892
|
-
exports.MalformedPolicyDocumentException$ = MalformedPolicyDocumentException$;
|
|
893
|
-
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
|
|
894
|
-
exports.PackedPolicyTooLargeException$ = PackedPolicyTooLargeException$;
|
|
895
|
-
exports.PolicyDescriptorType$ = PolicyDescriptorType$;
|
|
896
|
-
exports.ProvidedContext$ = ProvidedContext$;
|
|
897
|
-
exports.RegionDisabledException = RegionDisabledException;
|
|
898
|
-
exports.RegionDisabledException$ = RegionDisabledException$;
|
|
899
1054
|
exports.STS = STS;
|
|
900
|
-
exports.STSServiceException = STSServiceException;
|
|
901
|
-
exports.STSServiceException$ = STSServiceException$;
|
|
902
|
-
exports.Tag$ = Tag$;
|
|
903
1055
|
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
904
1056
|
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
905
1057
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
1058
|
+
Object.prototype.hasOwnProperty.call(STSClient, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1059
|
+
enumerable: true,
|
|
1060
|
+
value: STSClient["__proto__"]
|
|
1061
|
+
});
|
|
906
1062
|
Object.keys(STSClient).forEach(function(k) {
|
|
907
1063
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
1064
|
+
exports[k] = STSClient[k];
|
|
1065
|
+
});
|
|
1066
|
+
Object.prototype.hasOwnProperty.call(schemas_0, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1067
|
+
enumerable: true,
|
|
1068
|
+
value: schemas_0["__proto__"]
|
|
1069
|
+
});
|
|
1070
|
+
Object.keys(schemas_0).forEach(function(k) {
|
|
1071
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
1072
|
+
exports[k] = schemas_0[k];
|
|
1073
|
+
});
|
|
1074
|
+
Object.prototype.hasOwnProperty.call(errors, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1075
|
+
enumerable: true,
|
|
1076
|
+
value: errors["__proto__"]
|
|
1077
|
+
});
|
|
1078
|
+
Object.keys(errors).forEach(function(k) {
|
|
1079
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
1080
|
+
exports[k] = errors[k];
|
|
914
1081
|
});
|
|
915
1082
|
});
|
|
916
1083
|
export default require_sts();
|