gitframes 1.2.35
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/LICENCE +202 -0
- package/README.md +77 -0
- package/dist/audio/index.d.mts +2 -0
- package/dist/audio/index.mjs +6 -0
- package/dist/audio-C0YslYEG.d.mts +32 -0
- package/dist/audio-C0YslYEG.d.mts.map +1 -0
- package/dist/audio-C4kiPbrV.mjs +1866 -0
- package/dist/audio-C4kiPbrV.mjs.map +1 -0
- package/dist/audio-CiXUMGyk.mjs +578 -0
- package/dist/audio-CiXUMGyk.mjs.map +1 -0
- package/dist/chunk-GMkBE123.mjs +47 -0
- package/dist/client-Dyypr8tt.mjs +66 -0
- package/dist/client-Dyypr8tt.mjs.map +1 -0
- package/dist/dist-C37594c6.mjs +27195 -0
- package/dist/dist-C37594c6.mjs.map +1 -0
- package/dist/dist-CMF9eNLB.mjs +4062 -0
- package/dist/dist-CMF9eNLB.mjs.map +1 -0
- package/dist/dist-cjs--KIl7Gqy.mjs +6 -0
- package/dist/dist-cjs-B-_4TVjP.mjs +66 -0
- package/dist/dist-cjs-B-_4TVjP.mjs.map +1 -0
- package/dist/dist-cjs-B3TIyZ3K.mjs +437 -0
- package/dist/dist-cjs-B3TIyZ3K.mjs.map +1 -0
- package/dist/dist-cjs-Bsz2eGzl.mjs +9069 -0
- package/dist/dist-cjs-Bsz2eGzl.mjs.map +1 -0
- package/dist/dist-cjs-BuJ2FXob.mjs +181 -0
- package/dist/dist-cjs-BuJ2FXob.mjs.map +1 -0
- package/dist/dist-cjs-C-FMsqmo.mjs +1091 -0
- package/dist/dist-cjs-C-FMsqmo.mjs.map +1 -0
- package/dist/dist-cjs-C4b9TCXd.mjs +48 -0
- package/dist/dist-cjs-C4b9TCXd.mjs.map +1 -0
- package/dist/dist-cjs-C817PNLc.mjs +51 -0
- package/dist/dist-cjs-C817PNLc.mjs.map +1 -0
- package/dist/dist-cjs-CBnnS4k8.mjs +43 -0
- package/dist/dist-cjs-CBnnS4k8.mjs.map +1 -0
- package/dist/dist-cjs-CWbeD0Mu.mjs +64 -0
- package/dist/dist-cjs-CWbeD0Mu.mjs.map +1 -0
- package/dist/dist-cjs-ChXEJ1ro.mjs +85 -0
- package/dist/dist-cjs-ChXEJ1ro.mjs.map +1 -0
- package/dist/dist-cjs-CslF8Dju.mjs +153 -0
- package/dist/dist-cjs-CslF8Dju.mjs.map +1 -0
- package/dist/dist-cjs-D52jYyEm.mjs +98 -0
- package/dist/dist-cjs-D52jYyEm.mjs.map +1 -0
- package/dist/dist-cjs-DhWYgNfa.mjs +209 -0
- package/dist/dist-cjs-DhWYgNfa.mjs.map +1 -0
- package/dist/dist-cjs-DssYqayv.mjs +5015 -0
- package/dist/dist-cjs-DssYqayv.mjs.map +1 -0
- package/dist/dist-cjs-Du6DnSjo.mjs +137 -0
- package/dist/dist-cjs-Du6DnSjo.mjs.map +1 -0
- package/dist/dist-cjs-b-oBQaxe.mjs +323 -0
- package/dist/dist-cjs-b-oBQaxe.mjs.map +1 -0
- package/dist/effects/index.d.mts +2 -0
- package/dist/effects/index.mjs +4 -0
- package/dist/effects-4t4qk-BR.mjs +21130 -0
- package/dist/effects-4t4qk-BR.mjs.map +1 -0
- package/dist/event-streams-B0YUBtyM.mjs +204 -0
- package/dist/event-streams-B0YUBtyM.mjs.map +1 -0
- package/dist/fonts/index.d.mts +2 -0
- package/dist/fonts/index.mjs +3 -0
- package/dist/fonts-Dn18r_ST.mjs +188 -0
- package/dist/fonts-Dn18r_ST.mjs.map +1 -0
- package/dist/index-B1557AUi.d.mts +928 -0
- package/dist/index-B1557AUi.d.mts.map +1 -0
- package/dist/index-DSaMXGoA.d.mts +65 -0
- package/dist/index-DSaMXGoA.d.mts.map +1 -0
- package/dist/index-FICUHo4P.d.mts +69 -0
- package/dist/index-FICUHo4P.d.mts.map +1 -0
- package/dist/index-YZsTjqut.d.mts +147 -0
- package/dist/index-YZsTjqut.d.mts.map +1 -0
- package/dist/index.d.mts +736 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +7135 -0
- package/dist/index.mjs.map +1 -0
- package/dist/package-5RsA21g-.mjs +6 -0
- package/dist/package-5RsA21g-.mjs.map +1 -0
- package/dist/react/index.d.mts +3 -0
- package/dist/react/index.mjs +4 -0
- package/dist/renderer/index.d.mts +2 -0
- package/dist/renderer/index.mjs +6 -0
- package/dist/renderer-DVi31fSv.mjs +23274 -0
- package/dist/renderer-DVi31fSv.mjs.map +1 -0
- package/dist/renderers-CLJQRPVU-CMZnHNK0.mjs +49 -0
- package/dist/renderers-CLJQRPVU-CMZnHNK0.mjs.map +1 -0
- package/dist/signals/index.d.mts +9 -0
- package/dist/signals/index.mjs +8 -0
- package/dist/signals-BB_kdndF.mjs +227 -0
- package/dist/signals-BB_kdndF.mjs.map +1 -0
- package/dist/signin-CVUAIuED.mjs +865 -0
- package/dist/signin-CVUAIuED.mjs.map +1 -0
- package/dist/sso-oidc-D1GnNQYW.mjs +1051 -0
- package/dist/sso-oidc-D1GnNQYW.mjs.map +1 -0
- package/dist/sts-Bz-e3kNW.mjs +6 -0
- package/dist/sts-I4KhuCBs.mjs +1395 -0
- package/dist/sts-I4KhuCBs.mjs.map +1 -0
- package/package.json +174 -0
|
@@ -0,0 +1,1395 @@
|
|
|
1
|
+
import { n as __esmMin, r as __exportAll } from "./chunk-GMkBE123.mjs";
|
|
2
|
+
import { t as require_dist_cjs } from "./dist-cjs-CslF8Dju.mjs";
|
|
3
|
+
import { a as setCredentialFeature, n as init_client, o as emitWarningIfUnsupportedVersion$1 } from "./client-Dyypr8tt.mjs";
|
|
4
|
+
import { A as NoAuthSigner, E as resolveAwsSdkSigV4Config, F as AwsSdkSigV4Signer, M as getHttpSigningPlugin, N as getHttpAuthSchemeEndpointRuleSetPlugin, P as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, S as AwsQueryProtocol, _ as require_dist_cjs$11, a as require_dist_cjs$3, b as init_protocols, c as require_dist_cjs$15, d as require_dist_cjs$9, f as require_dist_cjs$1, g as require_dist_cjs$12, h as require_dist_cjs$13, i as require_dist_cjs$5, j as DefaultIdentityProviderConfig, k as init_dist_es$1, l as require_dist_cjs$4, n as require_dist_cjs$8, o as require_dist_cjs$6, p as require_dist_cjs$2, r as require_dist_cjs$7, s as require_dist_cjs$16, t as require_dist_cjs$10, u as require_dist_cjs$14, y as init_dist_es } from "./dist-cjs-Bsz2eGzl.mjs";
|
|
5
|
+
import { E as TypeRegistry, I as require_dist_cjs$20, O as getSchemaSerdePlugin, R as require_dist_cjs$19, t as require_dist_cjs$18, w as init_schema, z as require_dist_cjs$17 } from "./dist-cjs-DssYqayv.mjs";
|
|
6
|
+
import { t as require_dist_cjs$21 } from "./dist-cjs-C817PNLc.mjs";
|
|
7
|
+
import { t as require_dist_cjs$22 } from "./dist-cjs-CBnnS4k8.mjs";
|
|
8
|
+
import { t as require_dist_cjs$23 } from "./dist-cjs-CWbeD0Mu.mjs";
|
|
9
|
+
import { t as version } from "./package-5RsA21g-.mjs";
|
|
10
|
+
|
|
11
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
12
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "aws.auth#sigv4",
|
|
15
|
+
signingProperties: {
|
|
16
|
+
name: "sts",
|
|
17
|
+
region: authParameters.region
|
|
18
|
+
},
|
|
19
|
+
propertiesExtractor: (config, context) => ({ signingProperties: {
|
|
20
|
+
config,
|
|
21
|
+
context
|
|
22
|
+
} })
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
26
|
+
return { schemeId: "smithy.api#noAuth" };
|
|
27
|
+
}
|
|
28
|
+
var import_dist_cjs$35, defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig, resolveHttpAuthSchemeConfig;
|
|
29
|
+
var init_httpAuthSchemeProvider = __esmMin((() => {
|
|
30
|
+
init_dist_es();
|
|
31
|
+
import_dist_cjs$35 = require_dist_cjs$17();
|
|
32
|
+
init_STSClient();
|
|
33
|
+
defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
34
|
+
return {
|
|
35
|
+
operation: (0, import_dist_cjs$35.getSmithyContext)(context).operation,
|
|
36
|
+
region: await (0, import_dist_cjs$35.normalizeProvider)(config.region)() || (() => {
|
|
37
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
38
|
+
})()
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
case "AssumeRoleWithWebIdentity":
|
|
45
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
46
|
+
break;
|
|
47
|
+
default: options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
48
|
+
}
|
|
49
|
+
return options;
|
|
50
|
+
};
|
|
51
|
+
resolveStsAuthConfig = (input) => Object.assign(input, { stsClientCtor: STSClient });
|
|
52
|
+
resolveHttpAuthSchemeConfig = (config) => {
|
|
53
|
+
const config_1 = resolveAwsSdkSigV4Config(resolveStsAuthConfig(config));
|
|
54
|
+
return Object.assign(config_1, { authSchemePreference: (0, import_dist_cjs$35.normalizeProvider)(config.authSchemePreference ?? []) });
|
|
55
|
+
};
|
|
56
|
+
}));
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js
|
|
60
|
+
var resolveClientEndpointParameters, commonParams;
|
|
61
|
+
var init_EndpointParameters = __esmMin((() => {
|
|
62
|
+
resolveClientEndpointParameters = (options) => {
|
|
63
|
+
return Object.assign(options, {
|
|
64
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
65
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
66
|
+
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
|
67
|
+
defaultSigningName: "sts"
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
commonParams = {
|
|
71
|
+
UseGlobalEndpoint: {
|
|
72
|
+
type: "builtInParams",
|
|
73
|
+
name: "useGlobalEndpoint"
|
|
74
|
+
},
|
|
75
|
+
UseFIPS: {
|
|
76
|
+
type: "builtInParams",
|
|
77
|
+
name: "useFipsEndpoint"
|
|
78
|
+
},
|
|
79
|
+
Endpoint: {
|
|
80
|
+
type: "builtInParams",
|
|
81
|
+
name: "endpoint"
|
|
82
|
+
},
|
|
83
|
+
Region: {
|
|
84
|
+
type: "builtInParams",
|
|
85
|
+
name: "region"
|
|
86
|
+
},
|
|
87
|
+
UseDualStack: {
|
|
88
|
+
type: "builtInParams",
|
|
89
|
+
name: "useDualstackEndpoint"
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}));
|
|
93
|
+
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js
|
|
96
|
+
var F, G, H, I, J, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, _data, ruleSet;
|
|
97
|
+
var init_ruleset = __esmMin((() => {
|
|
98
|
+
F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
99
|
+
a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = {
|
|
100
|
+
[F]: false,
|
|
101
|
+
[G]: "string"
|
|
102
|
+
}, n = {
|
|
103
|
+
[F]: true,
|
|
104
|
+
default: false,
|
|
105
|
+
[G]: "boolean"
|
|
106
|
+
}, o = { [J]: "Endpoint" }, p = {
|
|
107
|
+
[H]: "isSet",
|
|
108
|
+
[I]: [{ [J]: "Region" }]
|
|
109
|
+
}, q = { [J]: "Region" }, r = {
|
|
110
|
+
[H]: "aws.partition",
|
|
111
|
+
[I]: [q],
|
|
112
|
+
assign: "PartitionResult"
|
|
113
|
+
}, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
|
|
114
|
+
url: "https://sts.amazonaws.com",
|
|
115
|
+
properties: { authSchemes: [{
|
|
116
|
+
name: e,
|
|
117
|
+
signingName: f,
|
|
118
|
+
signingRegion: g
|
|
119
|
+
}] },
|
|
120
|
+
headers: {}
|
|
121
|
+
}, v = {}, w = {
|
|
122
|
+
conditions: [{
|
|
123
|
+
[H]: d,
|
|
124
|
+
[I]: [q, "aws-global"]
|
|
125
|
+
}],
|
|
126
|
+
[h]: u,
|
|
127
|
+
[G]: h
|
|
128
|
+
}, x = {
|
|
129
|
+
[H]: c,
|
|
130
|
+
[I]: [s, true]
|
|
131
|
+
}, y = {
|
|
132
|
+
[H]: c,
|
|
133
|
+
[I]: [t, true]
|
|
134
|
+
}, z = {
|
|
135
|
+
[H]: l,
|
|
136
|
+
[I]: [{ [J]: "PartitionResult" }, "supportsFIPS"]
|
|
137
|
+
}, A = { [J]: "PartitionResult" }, B = {
|
|
138
|
+
[H]: c,
|
|
139
|
+
[I]: [true, {
|
|
140
|
+
[H]: l,
|
|
141
|
+
[I]: [A, "supportsDualStack"]
|
|
142
|
+
}]
|
|
143
|
+
}, C = [{
|
|
144
|
+
[H]: "isSet",
|
|
145
|
+
[I]: [o]
|
|
146
|
+
}], D = [x], E = [y];
|
|
147
|
+
_data = {
|
|
148
|
+
version: "1.0",
|
|
149
|
+
parameters: {
|
|
150
|
+
Region: m,
|
|
151
|
+
UseDualStack: n,
|
|
152
|
+
UseFIPS: n,
|
|
153
|
+
Endpoint: m,
|
|
154
|
+
UseGlobalEndpoint: n
|
|
155
|
+
},
|
|
156
|
+
rules: [
|
|
157
|
+
{
|
|
158
|
+
conditions: [
|
|
159
|
+
{
|
|
160
|
+
[H]: c,
|
|
161
|
+
[I]: [{ [J]: "UseGlobalEndpoint" }, b]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
[H]: "not",
|
|
165
|
+
[I]: C
|
|
166
|
+
},
|
|
167
|
+
p,
|
|
168
|
+
r,
|
|
169
|
+
{
|
|
170
|
+
[H]: c,
|
|
171
|
+
[I]: [s, a]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
[H]: c,
|
|
175
|
+
[I]: [t, a]
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
rules: [
|
|
179
|
+
{
|
|
180
|
+
conditions: [{
|
|
181
|
+
[H]: d,
|
|
182
|
+
[I]: [q, "ap-northeast-1"]
|
|
183
|
+
}],
|
|
184
|
+
endpoint: u,
|
|
185
|
+
[G]: h
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
conditions: [{
|
|
189
|
+
[H]: d,
|
|
190
|
+
[I]: [q, "ap-south-1"]
|
|
191
|
+
}],
|
|
192
|
+
endpoint: u,
|
|
193
|
+
[G]: h
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
conditions: [{
|
|
197
|
+
[H]: d,
|
|
198
|
+
[I]: [q, "ap-southeast-1"]
|
|
199
|
+
}],
|
|
200
|
+
endpoint: u,
|
|
201
|
+
[G]: h
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
conditions: [{
|
|
205
|
+
[H]: d,
|
|
206
|
+
[I]: [q, "ap-southeast-2"]
|
|
207
|
+
}],
|
|
208
|
+
endpoint: u,
|
|
209
|
+
[G]: h
|
|
210
|
+
},
|
|
211
|
+
w,
|
|
212
|
+
{
|
|
213
|
+
conditions: [{
|
|
214
|
+
[H]: d,
|
|
215
|
+
[I]: [q, "ca-central-1"]
|
|
216
|
+
}],
|
|
217
|
+
endpoint: u,
|
|
218
|
+
[G]: h
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
conditions: [{
|
|
222
|
+
[H]: d,
|
|
223
|
+
[I]: [q, "eu-central-1"]
|
|
224
|
+
}],
|
|
225
|
+
endpoint: u,
|
|
226
|
+
[G]: h
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
conditions: [{
|
|
230
|
+
[H]: d,
|
|
231
|
+
[I]: [q, "eu-north-1"]
|
|
232
|
+
}],
|
|
233
|
+
endpoint: u,
|
|
234
|
+
[G]: h
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
conditions: [{
|
|
238
|
+
[H]: d,
|
|
239
|
+
[I]: [q, "eu-west-1"]
|
|
240
|
+
}],
|
|
241
|
+
endpoint: u,
|
|
242
|
+
[G]: h
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [{
|
|
246
|
+
[H]: d,
|
|
247
|
+
[I]: [q, "eu-west-2"]
|
|
248
|
+
}],
|
|
249
|
+
endpoint: u,
|
|
250
|
+
[G]: h
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
conditions: [{
|
|
254
|
+
[H]: d,
|
|
255
|
+
[I]: [q, "eu-west-3"]
|
|
256
|
+
}],
|
|
257
|
+
endpoint: u,
|
|
258
|
+
[G]: h
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
conditions: [{
|
|
262
|
+
[H]: d,
|
|
263
|
+
[I]: [q, "sa-east-1"]
|
|
264
|
+
}],
|
|
265
|
+
endpoint: u,
|
|
266
|
+
[G]: h
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
conditions: [{
|
|
270
|
+
[H]: d,
|
|
271
|
+
[I]: [q, g]
|
|
272
|
+
}],
|
|
273
|
+
endpoint: u,
|
|
274
|
+
[G]: h
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
conditions: [{
|
|
278
|
+
[H]: d,
|
|
279
|
+
[I]: [q, "us-east-2"]
|
|
280
|
+
}],
|
|
281
|
+
endpoint: u,
|
|
282
|
+
[G]: h
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
conditions: [{
|
|
286
|
+
[H]: d,
|
|
287
|
+
[I]: [q, "us-west-1"]
|
|
288
|
+
}],
|
|
289
|
+
endpoint: u,
|
|
290
|
+
[G]: h
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
conditions: [{
|
|
294
|
+
[H]: d,
|
|
295
|
+
[I]: [q, "us-west-2"]
|
|
296
|
+
}],
|
|
297
|
+
endpoint: u,
|
|
298
|
+
[G]: h
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
endpoint: {
|
|
302
|
+
url: i,
|
|
303
|
+
properties: { authSchemes: [{
|
|
304
|
+
name: e,
|
|
305
|
+
signingName: f,
|
|
306
|
+
signingRegion: "{Region}"
|
|
307
|
+
}] },
|
|
308
|
+
headers: v
|
|
309
|
+
},
|
|
310
|
+
[G]: h
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
[G]: j
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
conditions: C,
|
|
317
|
+
rules: [
|
|
318
|
+
{
|
|
319
|
+
conditions: D,
|
|
320
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
321
|
+
[G]: k
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
conditions: E,
|
|
325
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
326
|
+
[G]: k
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
endpoint: {
|
|
330
|
+
url: o,
|
|
331
|
+
properties: v,
|
|
332
|
+
headers: v
|
|
333
|
+
},
|
|
334
|
+
[G]: h
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
[G]: j
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
conditions: [p],
|
|
341
|
+
rules: [{
|
|
342
|
+
conditions: [r],
|
|
343
|
+
rules: [
|
|
344
|
+
{
|
|
345
|
+
conditions: [x, y],
|
|
346
|
+
rules: [{
|
|
347
|
+
conditions: [{
|
|
348
|
+
[H]: c,
|
|
349
|
+
[I]: [b, z]
|
|
350
|
+
}, B],
|
|
351
|
+
rules: [{
|
|
352
|
+
endpoint: {
|
|
353
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
354
|
+
properties: v,
|
|
355
|
+
headers: v
|
|
356
|
+
},
|
|
357
|
+
[G]: h
|
|
358
|
+
}],
|
|
359
|
+
[G]: j
|
|
360
|
+
}, {
|
|
361
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
362
|
+
[G]: k
|
|
363
|
+
}],
|
|
364
|
+
[G]: j
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
conditions: D,
|
|
368
|
+
rules: [{
|
|
369
|
+
conditions: [{
|
|
370
|
+
[H]: c,
|
|
371
|
+
[I]: [z, b]
|
|
372
|
+
}],
|
|
373
|
+
rules: [{
|
|
374
|
+
conditions: [{
|
|
375
|
+
[H]: d,
|
|
376
|
+
[I]: [{
|
|
377
|
+
[H]: l,
|
|
378
|
+
[I]: [A, "name"]
|
|
379
|
+
}, "aws-us-gov"]
|
|
380
|
+
}],
|
|
381
|
+
endpoint: {
|
|
382
|
+
url: "https://sts.{Region}.amazonaws.com",
|
|
383
|
+
properties: v,
|
|
384
|
+
headers: v
|
|
385
|
+
},
|
|
386
|
+
[G]: h
|
|
387
|
+
}, {
|
|
388
|
+
endpoint: {
|
|
389
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
390
|
+
properties: v,
|
|
391
|
+
headers: v
|
|
392
|
+
},
|
|
393
|
+
[G]: h
|
|
394
|
+
}],
|
|
395
|
+
[G]: j
|
|
396
|
+
}, {
|
|
397
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
398
|
+
[G]: k
|
|
399
|
+
}],
|
|
400
|
+
[G]: j
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
conditions: E,
|
|
404
|
+
rules: [{
|
|
405
|
+
conditions: [B],
|
|
406
|
+
rules: [{
|
|
407
|
+
endpoint: {
|
|
408
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
409
|
+
properties: v,
|
|
410
|
+
headers: v
|
|
411
|
+
},
|
|
412
|
+
[G]: h
|
|
413
|
+
}],
|
|
414
|
+
[G]: j
|
|
415
|
+
}, {
|
|
416
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
417
|
+
[G]: k
|
|
418
|
+
}],
|
|
419
|
+
[G]: j
|
|
420
|
+
},
|
|
421
|
+
w,
|
|
422
|
+
{
|
|
423
|
+
endpoint: {
|
|
424
|
+
url: i,
|
|
425
|
+
properties: v,
|
|
426
|
+
headers: v
|
|
427
|
+
},
|
|
428
|
+
[G]: h
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
[G]: j
|
|
432
|
+
}],
|
|
433
|
+
[G]: j
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
error: "Invalid Configuration: Missing Region",
|
|
437
|
+
[G]: k
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
};
|
|
441
|
+
ruleSet = _data;
|
|
442
|
+
}));
|
|
443
|
+
|
|
444
|
+
//#endregion
|
|
445
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js
|
|
446
|
+
var import_dist_cjs$33, import_dist_cjs$34, cache, defaultEndpointResolver;
|
|
447
|
+
var init_endpointResolver = __esmMin((() => {
|
|
448
|
+
import_dist_cjs$33 = require_dist_cjs$1();
|
|
449
|
+
import_dist_cjs$34 = require_dist_cjs$2();
|
|
450
|
+
init_ruleset();
|
|
451
|
+
cache = new import_dist_cjs$34.EndpointCache({
|
|
452
|
+
size: 50,
|
|
453
|
+
params: [
|
|
454
|
+
"Endpoint",
|
|
455
|
+
"Region",
|
|
456
|
+
"UseDualStack",
|
|
457
|
+
"UseFIPS",
|
|
458
|
+
"UseGlobalEndpoint"
|
|
459
|
+
]
|
|
460
|
+
});
|
|
461
|
+
defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
462
|
+
return cache.get(endpointParams, () => (0, import_dist_cjs$34.resolveEndpoint)(ruleSet, {
|
|
463
|
+
endpointParams,
|
|
464
|
+
logger: context.logger
|
|
465
|
+
}));
|
|
466
|
+
};
|
|
467
|
+
import_dist_cjs$34.customEndpointFunctions.aws = import_dist_cjs$33.awsEndpointFunctions;
|
|
468
|
+
}));
|
|
469
|
+
|
|
470
|
+
//#endregion
|
|
471
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js
|
|
472
|
+
var import_dist_cjs$32, STSServiceException;
|
|
473
|
+
var init_STSServiceException = __esmMin((() => {
|
|
474
|
+
import_dist_cjs$32 = require_dist_cjs$18();
|
|
475
|
+
STSServiceException = class STSServiceException extends import_dist_cjs$32.ServiceException {
|
|
476
|
+
constructor(options) {
|
|
477
|
+
super(options);
|
|
478
|
+
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
479
|
+
}
|
|
480
|
+
};
|
|
481
|
+
}));
|
|
482
|
+
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js
|
|
485
|
+
var ExpiredTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, IDPCommunicationErrorException;
|
|
486
|
+
var init_errors = __esmMin((() => {
|
|
487
|
+
init_STSServiceException();
|
|
488
|
+
ExpiredTokenException = class ExpiredTokenException extends STSServiceException {
|
|
489
|
+
name = "ExpiredTokenException";
|
|
490
|
+
$fault = "client";
|
|
491
|
+
constructor(opts) {
|
|
492
|
+
super({
|
|
493
|
+
name: "ExpiredTokenException",
|
|
494
|
+
$fault: "client",
|
|
495
|
+
...opts
|
|
496
|
+
});
|
|
497
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
MalformedPolicyDocumentException = class MalformedPolicyDocumentException extends STSServiceException {
|
|
501
|
+
name = "MalformedPolicyDocumentException";
|
|
502
|
+
$fault = "client";
|
|
503
|
+
constructor(opts) {
|
|
504
|
+
super({
|
|
505
|
+
name: "MalformedPolicyDocumentException",
|
|
506
|
+
$fault: "client",
|
|
507
|
+
...opts
|
|
508
|
+
});
|
|
509
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
PackedPolicyTooLargeException = class PackedPolicyTooLargeException extends STSServiceException {
|
|
513
|
+
name = "PackedPolicyTooLargeException";
|
|
514
|
+
$fault = "client";
|
|
515
|
+
constructor(opts) {
|
|
516
|
+
super({
|
|
517
|
+
name: "PackedPolicyTooLargeException",
|
|
518
|
+
$fault: "client",
|
|
519
|
+
...opts
|
|
520
|
+
});
|
|
521
|
+
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
RegionDisabledException = class RegionDisabledException extends STSServiceException {
|
|
525
|
+
name = "RegionDisabledException";
|
|
526
|
+
$fault = "client";
|
|
527
|
+
constructor(opts) {
|
|
528
|
+
super({
|
|
529
|
+
name: "RegionDisabledException",
|
|
530
|
+
$fault: "client",
|
|
531
|
+
...opts
|
|
532
|
+
});
|
|
533
|
+
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
IDPRejectedClaimException = class IDPRejectedClaimException extends STSServiceException {
|
|
537
|
+
name = "IDPRejectedClaimException";
|
|
538
|
+
$fault = "client";
|
|
539
|
+
constructor(opts) {
|
|
540
|
+
super({
|
|
541
|
+
name: "IDPRejectedClaimException",
|
|
542
|
+
$fault: "client",
|
|
543
|
+
...opts
|
|
544
|
+
});
|
|
545
|
+
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
546
|
+
}
|
|
547
|
+
};
|
|
548
|
+
InvalidIdentityTokenException = class InvalidIdentityTokenException extends STSServiceException {
|
|
549
|
+
name = "InvalidIdentityTokenException";
|
|
550
|
+
$fault = "client";
|
|
551
|
+
constructor(opts) {
|
|
552
|
+
super({
|
|
553
|
+
name: "InvalidIdentityTokenException",
|
|
554
|
+
$fault: "client",
|
|
555
|
+
...opts
|
|
556
|
+
});
|
|
557
|
+
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
558
|
+
}
|
|
559
|
+
};
|
|
560
|
+
IDPCommunicationErrorException = class IDPCommunicationErrorException extends STSServiceException {
|
|
561
|
+
name = "IDPCommunicationErrorException";
|
|
562
|
+
$fault = "client";
|
|
563
|
+
constructor(opts) {
|
|
564
|
+
super({
|
|
565
|
+
name: "IDPCommunicationErrorException",
|
|
566
|
+
$fault: "client",
|
|
567
|
+
...opts
|
|
568
|
+
});
|
|
569
|
+
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
}));
|
|
573
|
+
|
|
574
|
+
//#endregion
|
|
575
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js
|
|
576
|
+
var _A, _AKI, _AR, _ARI, _ARR, _ARRs, _ARU, _ARWWI, _ARWWIR, _ARWWIRs, _Au, _C, _CA, _DS, _E, _EI, _ETE, _IDPCEE, _IDPRCE, _IITE, _K, _MPDE, _P, _PA, _PAr, _PC, _PCLT, _PCr, _PDT, _PI, _PPS, _PPTLE, _Pr, _RA, _RDE, _RSN, _SAK, _SFWIT, _SI, _SN, _ST, _T, _TC, _TTK, _Ta, _V, _WIT, _a, _aKST, _aQE, _c, _cTT, _e, _hE, _m, _pDLT, _s, _tLT, n0, _s_registry, STSServiceException$, n0_registry, ExpiredTokenException$, IDPCommunicationErrorException$, IDPRejectedClaimException$, InvalidIdentityTokenException$, MalformedPolicyDocumentException$, PackedPolicyTooLargeException$, RegionDisabledException$, errorTypeRegistries, accessKeySecretType, clientTokenType, AssumedRoleUser$, AssumeRoleRequest$, AssumeRoleResponse$, AssumeRoleWithWebIdentityRequest$, AssumeRoleWithWebIdentityResponse$, Credentials$, PolicyDescriptorType$, ProvidedContext$, Tag$, policyDescriptorListType, ProvidedContextsListType, tagListType, AssumeRole$, AssumeRoleWithWebIdentity$;
|
|
577
|
+
var init_schemas_0 = __esmMin((() => {
|
|
578
|
+
init_schema();
|
|
579
|
+
init_errors();
|
|
580
|
+
init_STSServiceException();
|
|
581
|
+
_A = "Arn";
|
|
582
|
+
_AKI = "AccessKeyId";
|
|
583
|
+
_AR = "AssumeRole";
|
|
584
|
+
_ARI = "AssumedRoleId";
|
|
585
|
+
_ARR = "AssumeRoleRequest";
|
|
586
|
+
_ARRs = "AssumeRoleResponse";
|
|
587
|
+
_ARU = "AssumedRoleUser";
|
|
588
|
+
_ARWWI = "AssumeRoleWithWebIdentity";
|
|
589
|
+
_ARWWIR = "AssumeRoleWithWebIdentityRequest";
|
|
590
|
+
_ARWWIRs = "AssumeRoleWithWebIdentityResponse";
|
|
591
|
+
_Au = "Audience";
|
|
592
|
+
_C = "Credentials";
|
|
593
|
+
_CA = "ContextAssertion";
|
|
594
|
+
_DS = "DurationSeconds";
|
|
595
|
+
_E = "Expiration";
|
|
596
|
+
_EI = "ExternalId";
|
|
597
|
+
_ETE = "ExpiredTokenException";
|
|
598
|
+
_IDPCEE = "IDPCommunicationErrorException";
|
|
599
|
+
_IDPRCE = "IDPRejectedClaimException";
|
|
600
|
+
_IITE = "InvalidIdentityTokenException";
|
|
601
|
+
_K = "Key";
|
|
602
|
+
_MPDE = "MalformedPolicyDocumentException";
|
|
603
|
+
_P = "Policy";
|
|
604
|
+
_PA = "PolicyArns";
|
|
605
|
+
_PAr = "ProviderArn";
|
|
606
|
+
_PC = "ProvidedContexts";
|
|
607
|
+
_PCLT = "ProvidedContextsListType";
|
|
608
|
+
_PCr = "ProvidedContext";
|
|
609
|
+
_PDT = "PolicyDescriptorType";
|
|
610
|
+
_PI = "ProviderId";
|
|
611
|
+
_PPS = "PackedPolicySize";
|
|
612
|
+
_PPTLE = "PackedPolicyTooLargeException";
|
|
613
|
+
_Pr = "Provider";
|
|
614
|
+
_RA = "RoleArn";
|
|
615
|
+
_RDE = "RegionDisabledException";
|
|
616
|
+
_RSN = "RoleSessionName";
|
|
617
|
+
_SAK = "SecretAccessKey";
|
|
618
|
+
_SFWIT = "SubjectFromWebIdentityToken";
|
|
619
|
+
_SI = "SourceIdentity";
|
|
620
|
+
_SN = "SerialNumber";
|
|
621
|
+
_ST = "SessionToken";
|
|
622
|
+
_T = "Tags";
|
|
623
|
+
_TC = "TokenCode";
|
|
624
|
+
_TTK = "TransitiveTagKeys";
|
|
625
|
+
_Ta = "Tag";
|
|
626
|
+
_V = "Value";
|
|
627
|
+
_WIT = "WebIdentityToken";
|
|
628
|
+
_a = "arn";
|
|
629
|
+
_aKST = "accessKeySecretType";
|
|
630
|
+
_aQE = "awsQueryError";
|
|
631
|
+
_c = "client";
|
|
632
|
+
_cTT = "clientTokenType";
|
|
633
|
+
_e = "error";
|
|
634
|
+
_hE = "httpError";
|
|
635
|
+
_m = "message";
|
|
636
|
+
_pDLT = "policyDescriptorListType";
|
|
637
|
+
_s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
638
|
+
_tLT = "tagListType";
|
|
639
|
+
n0 = "com.amazonaws.sts";
|
|
640
|
+
_s_registry = TypeRegistry.for(_s);
|
|
641
|
+
STSServiceException$ = [
|
|
642
|
+
-3,
|
|
643
|
+
_s,
|
|
644
|
+
"STSServiceException",
|
|
645
|
+
0,
|
|
646
|
+
[],
|
|
647
|
+
[]
|
|
648
|
+
];
|
|
649
|
+
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
650
|
+
n0_registry = TypeRegistry.for(n0);
|
|
651
|
+
ExpiredTokenException$ = [
|
|
652
|
+
-3,
|
|
653
|
+
n0,
|
|
654
|
+
_ETE,
|
|
655
|
+
{
|
|
656
|
+
[_aQE]: [`ExpiredTokenException`, 400],
|
|
657
|
+
[_e]: _c,
|
|
658
|
+
[_hE]: 400
|
|
659
|
+
},
|
|
660
|
+
[_m],
|
|
661
|
+
[0]
|
|
662
|
+
];
|
|
663
|
+
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
664
|
+
IDPCommunicationErrorException$ = [
|
|
665
|
+
-3,
|
|
666
|
+
n0,
|
|
667
|
+
_IDPCEE,
|
|
668
|
+
{
|
|
669
|
+
[_aQE]: [`IDPCommunicationError`, 400],
|
|
670
|
+
[_e]: _c,
|
|
671
|
+
[_hE]: 400
|
|
672
|
+
},
|
|
673
|
+
[_m],
|
|
674
|
+
[0]
|
|
675
|
+
];
|
|
676
|
+
n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
677
|
+
IDPRejectedClaimException$ = [
|
|
678
|
+
-3,
|
|
679
|
+
n0,
|
|
680
|
+
_IDPRCE,
|
|
681
|
+
{
|
|
682
|
+
[_aQE]: [`IDPRejectedClaim`, 403],
|
|
683
|
+
[_e]: _c,
|
|
684
|
+
[_hE]: 403
|
|
685
|
+
},
|
|
686
|
+
[_m],
|
|
687
|
+
[0]
|
|
688
|
+
];
|
|
689
|
+
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
690
|
+
InvalidIdentityTokenException$ = [
|
|
691
|
+
-3,
|
|
692
|
+
n0,
|
|
693
|
+
_IITE,
|
|
694
|
+
{
|
|
695
|
+
[_aQE]: [`InvalidIdentityToken`, 400],
|
|
696
|
+
[_e]: _c,
|
|
697
|
+
[_hE]: 400
|
|
698
|
+
},
|
|
699
|
+
[_m],
|
|
700
|
+
[0]
|
|
701
|
+
];
|
|
702
|
+
n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
703
|
+
MalformedPolicyDocumentException$ = [
|
|
704
|
+
-3,
|
|
705
|
+
n0,
|
|
706
|
+
_MPDE,
|
|
707
|
+
{
|
|
708
|
+
[_aQE]: [`MalformedPolicyDocument`, 400],
|
|
709
|
+
[_e]: _c,
|
|
710
|
+
[_hE]: 400
|
|
711
|
+
},
|
|
712
|
+
[_m],
|
|
713
|
+
[0]
|
|
714
|
+
];
|
|
715
|
+
n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
716
|
+
PackedPolicyTooLargeException$ = [
|
|
717
|
+
-3,
|
|
718
|
+
n0,
|
|
719
|
+
_PPTLE,
|
|
720
|
+
{
|
|
721
|
+
[_aQE]: [`PackedPolicyTooLarge`, 400],
|
|
722
|
+
[_e]: _c,
|
|
723
|
+
[_hE]: 400
|
|
724
|
+
},
|
|
725
|
+
[_m],
|
|
726
|
+
[0]
|
|
727
|
+
];
|
|
728
|
+
n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
729
|
+
RegionDisabledException$ = [
|
|
730
|
+
-3,
|
|
731
|
+
n0,
|
|
732
|
+
_RDE,
|
|
733
|
+
{
|
|
734
|
+
[_aQE]: [`RegionDisabledException`, 403],
|
|
735
|
+
[_e]: _c,
|
|
736
|
+
[_hE]: 403
|
|
737
|
+
},
|
|
738
|
+
[_m],
|
|
739
|
+
[0]
|
|
740
|
+
];
|
|
741
|
+
n0_registry.registerError(RegionDisabledException$, RegionDisabledException);
|
|
742
|
+
errorTypeRegistries = [_s_registry, n0_registry];
|
|
743
|
+
accessKeySecretType = [
|
|
744
|
+
0,
|
|
745
|
+
n0,
|
|
746
|
+
_aKST,
|
|
747
|
+
8,
|
|
748
|
+
0
|
|
749
|
+
];
|
|
750
|
+
clientTokenType = [
|
|
751
|
+
0,
|
|
752
|
+
n0,
|
|
753
|
+
_cTT,
|
|
754
|
+
8,
|
|
755
|
+
0
|
|
756
|
+
];
|
|
757
|
+
AssumedRoleUser$ = [
|
|
758
|
+
3,
|
|
759
|
+
n0,
|
|
760
|
+
_ARU,
|
|
761
|
+
0,
|
|
762
|
+
[_ARI, _A],
|
|
763
|
+
[0, 0],
|
|
764
|
+
2
|
|
765
|
+
];
|
|
766
|
+
AssumeRoleRequest$ = [
|
|
767
|
+
3,
|
|
768
|
+
n0,
|
|
769
|
+
_ARR,
|
|
770
|
+
0,
|
|
771
|
+
[
|
|
772
|
+
_RA,
|
|
773
|
+
_RSN,
|
|
774
|
+
_PA,
|
|
775
|
+
_P,
|
|
776
|
+
_DS,
|
|
777
|
+
_T,
|
|
778
|
+
_TTK,
|
|
779
|
+
_EI,
|
|
780
|
+
_SN,
|
|
781
|
+
_TC,
|
|
782
|
+
_SI,
|
|
783
|
+
_PC
|
|
784
|
+
],
|
|
785
|
+
[
|
|
786
|
+
0,
|
|
787
|
+
0,
|
|
788
|
+
() => policyDescriptorListType,
|
|
789
|
+
0,
|
|
790
|
+
1,
|
|
791
|
+
() => tagListType,
|
|
792
|
+
64,
|
|
793
|
+
0,
|
|
794
|
+
0,
|
|
795
|
+
0,
|
|
796
|
+
0,
|
|
797
|
+
() => ProvidedContextsListType
|
|
798
|
+
],
|
|
799
|
+
2
|
|
800
|
+
];
|
|
801
|
+
AssumeRoleResponse$ = [
|
|
802
|
+
3,
|
|
803
|
+
n0,
|
|
804
|
+
_ARRs,
|
|
805
|
+
0,
|
|
806
|
+
[
|
|
807
|
+
_C,
|
|
808
|
+
_ARU,
|
|
809
|
+
_PPS,
|
|
810
|
+
_SI
|
|
811
|
+
],
|
|
812
|
+
[
|
|
813
|
+
[() => Credentials$, 0],
|
|
814
|
+
() => AssumedRoleUser$,
|
|
815
|
+
1,
|
|
816
|
+
0
|
|
817
|
+
]
|
|
818
|
+
];
|
|
819
|
+
AssumeRoleWithWebIdentityRequest$ = [
|
|
820
|
+
3,
|
|
821
|
+
n0,
|
|
822
|
+
_ARWWIR,
|
|
823
|
+
0,
|
|
824
|
+
[
|
|
825
|
+
_RA,
|
|
826
|
+
_RSN,
|
|
827
|
+
_WIT,
|
|
828
|
+
_PI,
|
|
829
|
+
_PA,
|
|
830
|
+
_P,
|
|
831
|
+
_DS
|
|
832
|
+
],
|
|
833
|
+
[
|
|
834
|
+
0,
|
|
835
|
+
0,
|
|
836
|
+
[() => clientTokenType, 0],
|
|
837
|
+
0,
|
|
838
|
+
() => policyDescriptorListType,
|
|
839
|
+
0,
|
|
840
|
+
1
|
|
841
|
+
],
|
|
842
|
+
3
|
|
843
|
+
];
|
|
844
|
+
AssumeRoleWithWebIdentityResponse$ = [
|
|
845
|
+
3,
|
|
846
|
+
n0,
|
|
847
|
+
_ARWWIRs,
|
|
848
|
+
0,
|
|
849
|
+
[
|
|
850
|
+
_C,
|
|
851
|
+
_SFWIT,
|
|
852
|
+
_ARU,
|
|
853
|
+
_PPS,
|
|
854
|
+
_Pr,
|
|
855
|
+
_Au,
|
|
856
|
+
_SI
|
|
857
|
+
],
|
|
858
|
+
[
|
|
859
|
+
[() => Credentials$, 0],
|
|
860
|
+
0,
|
|
861
|
+
() => AssumedRoleUser$,
|
|
862
|
+
1,
|
|
863
|
+
0,
|
|
864
|
+
0,
|
|
865
|
+
0
|
|
866
|
+
]
|
|
867
|
+
];
|
|
868
|
+
Credentials$ = [
|
|
869
|
+
3,
|
|
870
|
+
n0,
|
|
871
|
+
_C,
|
|
872
|
+
0,
|
|
873
|
+
[
|
|
874
|
+
_AKI,
|
|
875
|
+
_SAK,
|
|
876
|
+
_ST,
|
|
877
|
+
_E
|
|
878
|
+
],
|
|
879
|
+
[
|
|
880
|
+
0,
|
|
881
|
+
[() => accessKeySecretType, 0],
|
|
882
|
+
0,
|
|
883
|
+
4
|
|
884
|
+
],
|
|
885
|
+
4
|
|
886
|
+
];
|
|
887
|
+
PolicyDescriptorType$ = [
|
|
888
|
+
3,
|
|
889
|
+
n0,
|
|
890
|
+
_PDT,
|
|
891
|
+
0,
|
|
892
|
+
[_a],
|
|
893
|
+
[0]
|
|
894
|
+
];
|
|
895
|
+
ProvidedContext$ = [
|
|
896
|
+
3,
|
|
897
|
+
n0,
|
|
898
|
+
_PCr,
|
|
899
|
+
0,
|
|
900
|
+
[_PAr, _CA],
|
|
901
|
+
[0, 0]
|
|
902
|
+
];
|
|
903
|
+
Tag$ = [
|
|
904
|
+
3,
|
|
905
|
+
n0,
|
|
906
|
+
_Ta,
|
|
907
|
+
0,
|
|
908
|
+
[_K, _V],
|
|
909
|
+
[0, 0],
|
|
910
|
+
2
|
|
911
|
+
];
|
|
912
|
+
policyDescriptorListType = [
|
|
913
|
+
1,
|
|
914
|
+
n0,
|
|
915
|
+
_pDLT,
|
|
916
|
+
0,
|
|
917
|
+
() => PolicyDescriptorType$
|
|
918
|
+
];
|
|
919
|
+
ProvidedContextsListType = [
|
|
920
|
+
1,
|
|
921
|
+
n0,
|
|
922
|
+
_PCLT,
|
|
923
|
+
0,
|
|
924
|
+
() => ProvidedContext$
|
|
925
|
+
];
|
|
926
|
+
tagListType = [
|
|
927
|
+
1,
|
|
928
|
+
n0,
|
|
929
|
+
_tLT,
|
|
930
|
+
0,
|
|
931
|
+
() => Tag$
|
|
932
|
+
];
|
|
933
|
+
AssumeRole$ = [
|
|
934
|
+
9,
|
|
935
|
+
n0,
|
|
936
|
+
_AR,
|
|
937
|
+
0,
|
|
938
|
+
() => AssumeRoleRequest$,
|
|
939
|
+
() => AssumeRoleResponse$
|
|
940
|
+
];
|
|
941
|
+
AssumeRoleWithWebIdentity$ = [
|
|
942
|
+
9,
|
|
943
|
+
n0,
|
|
944
|
+
_ARWWI,
|
|
945
|
+
0,
|
|
946
|
+
() => AssumeRoleWithWebIdentityRequest$,
|
|
947
|
+
() => AssumeRoleWithWebIdentityResponse$
|
|
948
|
+
];
|
|
949
|
+
}));
|
|
950
|
+
|
|
951
|
+
//#endregion
|
|
952
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js
|
|
953
|
+
var import_dist_cjs$28, import_dist_cjs$29, import_dist_cjs$30, import_dist_cjs$31, getRuntimeConfig$1;
|
|
954
|
+
var init_runtimeConfig_shared = __esmMin((() => {
|
|
955
|
+
init_dist_es();
|
|
956
|
+
init_protocols();
|
|
957
|
+
init_dist_es$1();
|
|
958
|
+
import_dist_cjs$28 = require_dist_cjs$18();
|
|
959
|
+
import_dist_cjs$29 = require_dist_cjs$22();
|
|
960
|
+
import_dist_cjs$30 = require_dist_cjs$19();
|
|
961
|
+
import_dist_cjs$31 = require_dist_cjs$21();
|
|
962
|
+
init_httpAuthSchemeProvider();
|
|
963
|
+
init_endpointResolver();
|
|
964
|
+
init_schemas_0();
|
|
965
|
+
getRuntimeConfig$1 = (config) => {
|
|
966
|
+
return {
|
|
967
|
+
apiVersion: "2011-06-15",
|
|
968
|
+
base64Decoder: config?.base64Decoder ?? import_dist_cjs$30.fromBase64,
|
|
969
|
+
base64Encoder: config?.base64Encoder ?? import_dist_cjs$30.toBase64,
|
|
970
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
971
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
972
|
+
extensions: config?.extensions ?? [],
|
|
973
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSTSHttpAuthSchemeProvider,
|
|
974
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [{
|
|
975
|
+
schemeId: "aws.auth#sigv4",
|
|
976
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
977
|
+
signer: new AwsSdkSigV4Signer()
|
|
978
|
+
}, {
|
|
979
|
+
schemeId: "smithy.api#noAuth",
|
|
980
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
981
|
+
signer: new NoAuthSigner()
|
|
982
|
+
}],
|
|
983
|
+
logger: config?.logger ?? new import_dist_cjs$28.NoOpLogger(),
|
|
984
|
+
protocol: config?.protocol ?? AwsQueryProtocol,
|
|
985
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
986
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
987
|
+
errorTypeRegistries,
|
|
988
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
989
|
+
version: "2011-06-15",
|
|
990
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
991
|
+
},
|
|
992
|
+
serviceId: config?.serviceId ?? "STS",
|
|
993
|
+
urlParser: config?.urlParser ?? import_dist_cjs$29.parseUrl,
|
|
994
|
+
utf8Decoder: config?.utf8Decoder ?? import_dist_cjs$31.fromUtf8,
|
|
995
|
+
utf8Encoder: config?.utf8Encoder ?? import_dist_cjs$31.toUtf8
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
}));
|
|
999
|
+
|
|
1000
|
+
//#endregion
|
|
1001
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js
|
|
1002
|
+
var import_dist_cjs$18, import_dist_cjs$19, import_dist_cjs$20, import_dist_cjs$21, import_dist_cjs$22, import_dist_cjs$23, import_dist_cjs$24, import_dist_cjs$25, import_dist_cjs$26, import_dist_cjs$27, getRuntimeConfig;
|
|
1003
|
+
var init_runtimeConfig = __esmMin((() => {
|
|
1004
|
+
init_dist_es();
|
|
1005
|
+
import_dist_cjs$18 = require_dist_cjs$3();
|
|
1006
|
+
import_dist_cjs$19 = require_dist_cjs$4();
|
|
1007
|
+
init_dist_es$1();
|
|
1008
|
+
import_dist_cjs$20 = require_dist_cjs$5();
|
|
1009
|
+
import_dist_cjs$21 = require_dist_cjs$6();
|
|
1010
|
+
import_dist_cjs$22 = require_dist_cjs$23();
|
|
1011
|
+
import_dist_cjs$23 = require_dist_cjs$20();
|
|
1012
|
+
import_dist_cjs$24 = require_dist_cjs$18();
|
|
1013
|
+
import_dist_cjs$25 = require_dist_cjs$7();
|
|
1014
|
+
import_dist_cjs$26 = require_dist_cjs$8();
|
|
1015
|
+
import_dist_cjs$27 = require_dist_cjs$9();
|
|
1016
|
+
init_runtimeConfig_shared();
|
|
1017
|
+
getRuntimeConfig = (config) => {
|
|
1018
|
+
(0, import_dist_cjs$24.emitWarningIfUnsupportedVersion)(process.version);
|
|
1019
|
+
const defaultsMode = (0, import_dist_cjs$26.resolveDefaultsModeConfig)(config);
|
|
1020
|
+
const defaultConfigProvider = () => defaultsMode().then(import_dist_cjs$24.loadConfigsForDefaultMode);
|
|
1021
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1022
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1023
|
+
const loaderConfig = {
|
|
1024
|
+
profile: config?.profile,
|
|
1025
|
+
logger: clientSharedValues.logger
|
|
1026
|
+
};
|
|
1027
|
+
return {
|
|
1028
|
+
...clientSharedValues,
|
|
1029
|
+
...config,
|
|
1030
|
+
runtime: "node",
|
|
1031
|
+
defaultsMode,
|
|
1032
|
+
authSchemePreference: config?.authSchemePreference ?? (0, import_dist_cjs$22.loadConfig)(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1033
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? import_dist_cjs$25.calculateBodyLength,
|
|
1034
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, import_dist_cjs$18.createDefaultUserAgentProvider)({
|
|
1035
|
+
serviceId: clientSharedValues.serviceId,
|
|
1036
|
+
clientVersion: version
|
|
1037
|
+
}),
|
|
1038
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [{
|
|
1039
|
+
schemeId: "aws.auth#sigv4",
|
|
1040
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
1041
|
+
signer: new AwsSdkSigV4Signer()
|
|
1042
|
+
}, {
|
|
1043
|
+
schemeId: "smithy.api#noAuth",
|
|
1044
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
1045
|
+
signer: new NoAuthSigner()
|
|
1046
|
+
}],
|
|
1047
|
+
maxAttempts: config?.maxAttempts ?? (0, import_dist_cjs$22.loadConfig)(import_dist_cjs$21.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1048
|
+
region: config?.region ?? (0, import_dist_cjs$22.loadConfig)(import_dist_cjs$19.NODE_REGION_CONFIG_OPTIONS, {
|
|
1049
|
+
...import_dist_cjs$19.NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
1050
|
+
...loaderConfig
|
|
1051
|
+
}),
|
|
1052
|
+
requestHandler: import_dist_cjs$23.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1053
|
+
retryMode: config?.retryMode ?? (0, import_dist_cjs$22.loadConfig)({
|
|
1054
|
+
...import_dist_cjs$21.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1055
|
+
default: async () => (await defaultConfigProvider()).retryMode || import_dist_cjs$27.DEFAULT_RETRY_MODE
|
|
1056
|
+
}, config),
|
|
1057
|
+
sha256: config?.sha256 ?? import_dist_cjs$20.Hash.bind(null, "sha256"),
|
|
1058
|
+
streamCollector: config?.streamCollector ?? import_dist_cjs$23.streamCollector,
|
|
1059
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, import_dist_cjs$22.loadConfig)(import_dist_cjs$19.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1060
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, import_dist_cjs$22.loadConfig)(import_dist_cjs$19.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1061
|
+
userAgentAppId: config?.userAgentAppId ?? (0, import_dist_cjs$22.loadConfig)(import_dist_cjs$18.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
}));
|
|
1065
|
+
|
|
1066
|
+
//#endregion
|
|
1067
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
1068
|
+
var getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig;
|
|
1069
|
+
var init_httpAuthExtensionConfiguration = __esmMin((() => {
|
|
1070
|
+
getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
1071
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
1072
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
1073
|
+
let _credentials = runtimeConfig.credentials;
|
|
1074
|
+
return {
|
|
1075
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
1076
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
1077
|
+
if (index === -1) _httpAuthSchemes.push(httpAuthScheme);
|
|
1078
|
+
else _httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
1079
|
+
},
|
|
1080
|
+
httpAuthSchemes() {
|
|
1081
|
+
return _httpAuthSchemes;
|
|
1082
|
+
},
|
|
1083
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
1084
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
1085
|
+
},
|
|
1086
|
+
httpAuthSchemeProvider() {
|
|
1087
|
+
return _httpAuthSchemeProvider;
|
|
1088
|
+
},
|
|
1089
|
+
setCredentials(credentials) {
|
|
1090
|
+
_credentials = credentials;
|
|
1091
|
+
},
|
|
1092
|
+
credentials() {
|
|
1093
|
+
return _credentials;
|
|
1094
|
+
}
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
resolveHttpAuthRuntimeConfig = (config) => {
|
|
1098
|
+
return {
|
|
1099
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
1100
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
1101
|
+
credentials: config.credentials()
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
}));
|
|
1105
|
+
|
|
1106
|
+
//#endregion
|
|
1107
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js
|
|
1108
|
+
var import_dist_cjs$15, import_dist_cjs$16, import_dist_cjs$17, resolveRuntimeExtensions;
|
|
1109
|
+
var init_runtimeExtensions = __esmMin((() => {
|
|
1110
|
+
import_dist_cjs$15 = require_dist_cjs$10();
|
|
1111
|
+
import_dist_cjs$16 = require_dist_cjs();
|
|
1112
|
+
import_dist_cjs$17 = require_dist_cjs$18();
|
|
1113
|
+
init_httpAuthExtensionConfiguration();
|
|
1114
|
+
resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
1115
|
+
const extensionConfiguration = Object.assign((0, import_dist_cjs$15.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_dist_cjs$17.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_dist_cjs$16.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
1116
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
1117
|
+
return Object.assign(runtimeConfig, (0, import_dist_cjs$15.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_dist_cjs$17.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_dist_cjs$16.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
1118
|
+
};
|
|
1119
|
+
}));
|
|
1120
|
+
|
|
1121
|
+
//#endregion
|
|
1122
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js
|
|
1123
|
+
var import_dist_cjs$6, import_dist_cjs$7, import_dist_cjs$8, import_dist_cjs$9, import_dist_cjs$10, import_dist_cjs$11, import_dist_cjs$12, import_dist_cjs$13, import_dist_cjs$14, STSClient;
|
|
1124
|
+
var init_STSClient = __esmMin((() => {
|
|
1125
|
+
import_dist_cjs$6 = require_dist_cjs$11();
|
|
1126
|
+
import_dist_cjs$7 = require_dist_cjs$12();
|
|
1127
|
+
import_dist_cjs$8 = require_dist_cjs$13();
|
|
1128
|
+
import_dist_cjs$9 = require_dist_cjs$14();
|
|
1129
|
+
import_dist_cjs$10 = require_dist_cjs$4();
|
|
1130
|
+
init_dist_es$1();
|
|
1131
|
+
init_schema();
|
|
1132
|
+
import_dist_cjs$11 = require_dist_cjs$15();
|
|
1133
|
+
import_dist_cjs$12 = require_dist_cjs$16();
|
|
1134
|
+
import_dist_cjs$13 = require_dist_cjs$6();
|
|
1135
|
+
import_dist_cjs$14 = require_dist_cjs$18();
|
|
1136
|
+
init_httpAuthSchemeProvider();
|
|
1137
|
+
init_EndpointParameters();
|
|
1138
|
+
init_runtimeConfig();
|
|
1139
|
+
init_runtimeExtensions();
|
|
1140
|
+
STSClient = class extends import_dist_cjs$14.Client {
|
|
1141
|
+
config;
|
|
1142
|
+
constructor(...[configuration]) {
|
|
1143
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
1144
|
+
super(_config_0);
|
|
1145
|
+
this.initConfig = _config_0;
|
|
1146
|
+
this.config = resolveRuntimeExtensions(resolveHttpAuthSchemeConfig((0, import_dist_cjs$12.resolveEndpointConfig)((0, import_dist_cjs$6.resolveHostHeaderConfig)((0, import_dist_cjs$10.resolveRegionConfig)((0, import_dist_cjs$13.resolveRetryConfig)((0, import_dist_cjs$9.resolveUserAgentConfig)(resolveClientEndpointParameters(_config_0))))))), configuration?.extensions || []);
|
|
1147
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
1148
|
+
this.middlewareStack.use((0, import_dist_cjs$9.getUserAgentPlugin)(this.config));
|
|
1149
|
+
this.middlewareStack.use((0, import_dist_cjs$13.getRetryPlugin)(this.config));
|
|
1150
|
+
this.middlewareStack.use((0, import_dist_cjs$11.getContentLengthPlugin)(this.config));
|
|
1151
|
+
this.middlewareStack.use((0, import_dist_cjs$6.getHostHeaderPlugin)(this.config));
|
|
1152
|
+
this.middlewareStack.use((0, import_dist_cjs$7.getLoggerPlugin)(this.config));
|
|
1153
|
+
this.middlewareStack.use((0, import_dist_cjs$8.getRecursionDetectionPlugin)(this.config));
|
|
1154
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
1155
|
+
httpAuthSchemeParametersProvider: defaultSTSHttpAuthSchemeParametersProvider,
|
|
1156
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials })
|
|
1157
|
+
}));
|
|
1158
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
1159
|
+
}
|
|
1160
|
+
destroy() {
|
|
1161
|
+
super.destroy();
|
|
1162
|
+
}
|
|
1163
|
+
};
|
|
1164
|
+
}));
|
|
1165
|
+
|
|
1166
|
+
//#endregion
|
|
1167
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js
|
|
1168
|
+
var import_dist_cjs$4, import_dist_cjs$5, AssumeRoleCommand;
|
|
1169
|
+
var init_AssumeRoleCommand = __esmMin((() => {
|
|
1170
|
+
import_dist_cjs$4 = require_dist_cjs$16();
|
|
1171
|
+
import_dist_cjs$5 = require_dist_cjs$18();
|
|
1172
|
+
init_EndpointParameters();
|
|
1173
|
+
init_schemas_0();
|
|
1174
|
+
AssumeRoleCommand = class extends import_dist_cjs$5.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o$1) {
|
|
1175
|
+
return [(0, import_dist_cjs$4.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
1176
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(AssumeRole$).build() {};
|
|
1177
|
+
}));
|
|
1178
|
+
|
|
1179
|
+
//#endregion
|
|
1180
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js
|
|
1181
|
+
var import_dist_cjs$2, import_dist_cjs$3, AssumeRoleWithWebIdentityCommand;
|
|
1182
|
+
var init_AssumeRoleWithWebIdentityCommand = __esmMin((() => {
|
|
1183
|
+
import_dist_cjs$2 = require_dist_cjs$16();
|
|
1184
|
+
import_dist_cjs$3 = require_dist_cjs$18();
|
|
1185
|
+
init_EndpointParameters();
|
|
1186
|
+
init_schemas_0();
|
|
1187
|
+
AssumeRoleWithWebIdentityCommand = class extends import_dist_cjs$3.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o$1) {
|
|
1188
|
+
return [(0, import_dist_cjs$2.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
1189
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(AssumeRoleWithWebIdentity$).build() {};
|
|
1190
|
+
}));
|
|
1191
|
+
|
|
1192
|
+
//#endregion
|
|
1193
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js
|
|
1194
|
+
var import_dist_cjs$1, commands, STS;
|
|
1195
|
+
var init_STS = __esmMin((() => {
|
|
1196
|
+
import_dist_cjs$1 = require_dist_cjs$18();
|
|
1197
|
+
init_AssumeRoleCommand();
|
|
1198
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1199
|
+
init_STSClient();
|
|
1200
|
+
commands = {
|
|
1201
|
+
AssumeRoleCommand,
|
|
1202
|
+
AssumeRoleWithWebIdentityCommand
|
|
1203
|
+
};
|
|
1204
|
+
STS = class extends STSClient {};
|
|
1205
|
+
(0, import_dist_cjs$1.createAggregatedClient)(commands, STS);
|
|
1206
|
+
}));
|
|
1207
|
+
|
|
1208
|
+
//#endregion
|
|
1209
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/index.js
|
|
1210
|
+
var init_commands = __esmMin((() => {
|
|
1211
|
+
init_AssumeRoleCommand();
|
|
1212
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1213
|
+
}));
|
|
1214
|
+
|
|
1215
|
+
//#endregion
|
|
1216
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/models_0.js
|
|
1217
|
+
var init_models_0 = __esmMin((() => {}));
|
|
1218
|
+
|
|
1219
|
+
//#endregion
|
|
1220
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js
|
|
1221
|
+
var import_dist_cjs, getAccountIdFromAssumedRoleUser, resolveRegion, getDefaultRoleAssumer$1, getDefaultRoleAssumerWithWebIdentity$1, isH2;
|
|
1222
|
+
var init_defaultStsRoleAssumers = __esmMin((() => {
|
|
1223
|
+
init_client();
|
|
1224
|
+
import_dist_cjs = require_dist_cjs$10();
|
|
1225
|
+
init_AssumeRoleCommand();
|
|
1226
|
+
init_AssumeRoleWithWebIdentityCommand();
|
|
1227
|
+
getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
1228
|
+
if (typeof assumedRoleUser?.Arn === "string") {
|
|
1229
|
+
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
1230
|
+
if (arnComponents.length > 4 && arnComponents[4] !== "") return arnComponents[4];
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
1234
|
+
const region = typeof _region === "function" ? await _region() : _region;
|
|
1235
|
+
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
1236
|
+
let stsDefaultRegion = "";
|
|
1237
|
+
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await (0, import_dist_cjs.stsRegionDefaultResolver)(loaderConfig)());
|
|
1238
|
+
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
1239
|
+
return resolvedRegion;
|
|
1240
|
+
};
|
|
1241
|
+
getDefaultRoleAssumer$1 = (stsOptions, STSClient$1) => {
|
|
1242
|
+
let stsClient;
|
|
1243
|
+
let closureSourceCreds;
|
|
1244
|
+
return async (sourceCreds, params) => {
|
|
1245
|
+
closureSourceCreds = sourceCreds;
|
|
1246
|
+
if (!stsClient) {
|
|
1247
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
1248
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
1249
|
+
logger,
|
|
1250
|
+
profile
|
|
1251
|
+
});
|
|
1252
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1253
|
+
stsClient = new STSClient$1({
|
|
1254
|
+
...stsOptions,
|
|
1255
|
+
userAgentAppId,
|
|
1256
|
+
profile,
|
|
1257
|
+
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
1258
|
+
region: resolvedRegion,
|
|
1259
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
1260
|
+
logger
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
|
|
1264
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
|
1265
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
1266
|
+
const credentials = {
|
|
1267
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
1268
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
1269
|
+
sessionToken: Credentials.SessionToken,
|
|
1270
|
+
expiration: Credentials.Expiration,
|
|
1271
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
1272
|
+
...accountId && { accountId }
|
|
1273
|
+
};
|
|
1274
|
+
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
|
|
1275
|
+
return credentials;
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient$1) => {
|
|
1279
|
+
let stsClient;
|
|
1280
|
+
return async (params) => {
|
|
1281
|
+
if (!stsClient) {
|
|
1282
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
1283
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
1284
|
+
logger,
|
|
1285
|
+
profile
|
|
1286
|
+
});
|
|
1287
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1288
|
+
stsClient = new STSClient$1({
|
|
1289
|
+
...stsOptions,
|
|
1290
|
+
userAgentAppId,
|
|
1291
|
+
profile,
|
|
1292
|
+
region: resolvedRegion,
|
|
1293
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
|
|
1294
|
+
logger
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
1298
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
|
1299
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
1300
|
+
const credentials = {
|
|
1301
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
1302
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
1303
|
+
sessionToken: Credentials.SessionToken,
|
|
1304
|
+
expiration: Credentials.Expiration,
|
|
1305
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
1306
|
+
...accountId && { accountId }
|
|
1307
|
+
};
|
|
1308
|
+
if (accountId) setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T");
|
|
1309
|
+
setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
|
|
1310
|
+
return credentials;
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
isH2 = (requestHandler) => {
|
|
1314
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
1315
|
+
};
|
|
1316
|
+
}));
|
|
1317
|
+
|
|
1318
|
+
//#endregion
|
|
1319
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js
|
|
1320
|
+
var getCustomizableStsClientCtor, getDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity, decorateDefaultCredentialProvider;
|
|
1321
|
+
var init_defaultRoleAssumers = __esmMin((() => {
|
|
1322
|
+
init_defaultStsRoleAssumers();
|
|
1323
|
+
init_STSClient();
|
|
1324
|
+
getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
1325
|
+
if (!customizations) return baseCtor;
|
|
1326
|
+
else return class CustomizableSTSClient extends baseCtor {
|
|
1327
|
+
constructor(config) {
|
|
1328
|
+
super(config);
|
|
1329
|
+
for (const customization of customizations) this.middlewareStack.use(customization);
|
|
1330
|
+
}
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
1334
|
+
getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient, stsPlugins));
|
|
1335
|
+
decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
1336
|
+
roleAssumer: getDefaultRoleAssumer(input),
|
|
1337
|
+
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),
|
|
1338
|
+
...input
|
|
1339
|
+
});
|
|
1340
|
+
}));
|
|
1341
|
+
|
|
1342
|
+
//#endregion
|
|
1343
|
+
//#region ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js
|
|
1344
|
+
var sts_exports = /* @__PURE__ */ __exportAll({
|
|
1345
|
+
AssumeRole$: () => AssumeRole$,
|
|
1346
|
+
AssumeRoleCommand: () => AssumeRoleCommand,
|
|
1347
|
+
AssumeRoleRequest$: () => AssumeRoleRequest$,
|
|
1348
|
+
AssumeRoleResponse$: () => AssumeRoleResponse$,
|
|
1349
|
+
AssumeRoleWithWebIdentity$: () => AssumeRoleWithWebIdentity$,
|
|
1350
|
+
AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand,
|
|
1351
|
+
AssumeRoleWithWebIdentityRequest$: () => AssumeRoleWithWebIdentityRequest$,
|
|
1352
|
+
AssumeRoleWithWebIdentityResponse$: () => AssumeRoleWithWebIdentityResponse$,
|
|
1353
|
+
AssumedRoleUser$: () => AssumedRoleUser$,
|
|
1354
|
+
Credentials$: () => Credentials$,
|
|
1355
|
+
ExpiredTokenException: () => ExpiredTokenException,
|
|
1356
|
+
ExpiredTokenException$: () => ExpiredTokenException$,
|
|
1357
|
+
IDPCommunicationErrorException: () => IDPCommunicationErrorException,
|
|
1358
|
+
IDPCommunicationErrorException$: () => IDPCommunicationErrorException$,
|
|
1359
|
+
IDPRejectedClaimException: () => IDPRejectedClaimException,
|
|
1360
|
+
IDPRejectedClaimException$: () => IDPRejectedClaimException$,
|
|
1361
|
+
InvalidIdentityTokenException: () => InvalidIdentityTokenException,
|
|
1362
|
+
InvalidIdentityTokenException$: () => InvalidIdentityTokenException$,
|
|
1363
|
+
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
1364
|
+
MalformedPolicyDocumentException$: () => MalformedPolicyDocumentException$,
|
|
1365
|
+
PackedPolicyTooLargeException: () => PackedPolicyTooLargeException,
|
|
1366
|
+
PackedPolicyTooLargeException$: () => PackedPolicyTooLargeException$,
|
|
1367
|
+
PolicyDescriptorType$: () => PolicyDescriptorType$,
|
|
1368
|
+
ProvidedContext$: () => ProvidedContext$,
|
|
1369
|
+
RegionDisabledException: () => RegionDisabledException,
|
|
1370
|
+
RegionDisabledException$: () => RegionDisabledException$,
|
|
1371
|
+
STS: () => STS,
|
|
1372
|
+
STSClient: () => STSClient,
|
|
1373
|
+
STSServiceException: () => STSServiceException,
|
|
1374
|
+
STSServiceException$: () => STSServiceException$,
|
|
1375
|
+
Tag$: () => Tag$,
|
|
1376
|
+
__Client: () => import_dist_cjs$14.Client,
|
|
1377
|
+
decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider,
|
|
1378
|
+
errorTypeRegistries: () => errorTypeRegistries,
|
|
1379
|
+
getDefaultRoleAssumer: () => getDefaultRoleAssumer,
|
|
1380
|
+
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity
|
|
1381
|
+
});
|
|
1382
|
+
var init_sts = __esmMin((() => {
|
|
1383
|
+
init_STSClient();
|
|
1384
|
+
init_STS();
|
|
1385
|
+
init_commands();
|
|
1386
|
+
init_schemas_0();
|
|
1387
|
+
init_errors();
|
|
1388
|
+
init_models_0();
|
|
1389
|
+
init_defaultRoleAssumers();
|
|
1390
|
+
init_STSServiceException();
|
|
1391
|
+
}));
|
|
1392
|
+
|
|
1393
|
+
//#endregion
|
|
1394
|
+
export { Tag$ as A, InvalidIdentityTokenException$ as C, ProvidedContext$ as D, PolicyDescriptorType$ as E, InvalidIdentityTokenException as F, MalformedPolicyDocumentException as I, PackedPolicyTooLargeException as L, ExpiredTokenException as M, IDPCommunicationErrorException as N, RegionDisabledException$ as O, IDPRejectedClaimException as P, RegionDisabledException as R, IDPRejectedClaimException$ as S, PackedPolicyTooLargeException$ as T, AssumeRoleWithWebIdentityResponse$ as _, getDefaultRoleAssumerWithWebIdentity as a, ExpiredTokenException$ as b, AssumeRoleCommand as c, import_dist_cjs$14 as d, AssumeRole$ as f, AssumeRoleWithWebIdentityRequest$ as g, AssumeRoleWithWebIdentity$ as h, getDefaultRoleAssumer as i, errorTypeRegistries as j, STSServiceException$ as k, import_dist_cjs$5 as l, AssumeRoleResponse$ as m, sts_exports as n, STS as o, AssumeRoleRequest$ as p, decorateDefaultCredentialProvider as r, AssumeRoleWithWebIdentityCommand as s, init_sts as t, STSClient as u, AssumedRoleUser$ as v, MalformedPolicyDocumentException$ as w, IDPCommunicationErrorException$ as x, Credentials$ as y, STSServiceException as z };
|
|
1395
|
+
//# sourceMappingURL=sts-I4KhuCBs.mjs.map
|