dynamic-mui 2.0.25 → 2.1.0
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/XmlShapeDeserializer-3yQdm0b0.mjs +237 -0
- package/dist/XmlShapeDeserializer-XKJAoqLc.js +1 -0
- package/dist/ai/client.d.ts +2 -0
- package/dist/ai/index.d.ts +4 -0
- package/dist/ai/mapping.d.ts +14 -0
- package/dist/ai/react/AIFill.d.ts +25 -0
- package/dist/ai/react/AIForm.d.ts +29 -0
- package/dist/ai/react/AIFormGenerator.d.ts +20 -0
- package/dist/ai/react/AISchemaReview.d.ts +18 -0
- package/dist/ai/react/AITextAssist.d.ts +35 -0
- package/dist/ai/react/AIVisionImport.d.ts +21 -0
- package/dist/ai/react/index.d.ts +6 -0
- package/dist/ai/types.d.ts +107 -0
- package/dist/components/FormGenerator.d.ts +14 -1
- package/dist/components/controls/AddressField/addressfield.d.ts +2 -0
- package/dist/components/controls/Alert/alert.d.ts +3 -0
- package/dist/components/controls/Button/button.d.ts +3 -0
- package/dist/components/controls/CascadeSelect/cascadeselect.d.ts +2 -0
- package/dist/components/controls/ChipSelect/chipselect.d.ts +3 -0
- package/dist/components/controls/ColorPicker/colorpicker.d.ts +3 -0
- package/dist/components/controls/Computed/computed.d.ts +7 -0
- package/dist/components/controls/ConsentField/consentfield.d.ts +3 -0
- package/dist/components/controls/CurrencyField/currencyfield.d.ts +2 -0
- package/dist/components/controls/DateRangePicker/daterangepicker.d.ts +3 -0
- package/dist/components/controls/FileUpload/fileupload.d.ts +3 -0
- package/dist/components/controls/FormWizard/formwizard.d.ts +2 -0
- package/dist/components/controls/GeoField/geofield.d.ts +6 -0
- package/dist/components/controls/KeyValueField/keyvaluefield.d.ts +2 -0
- package/dist/components/controls/MarkdownEditor/markdowneditor.d.ts +3 -0
- package/dist/components/controls/MatrixField/matrixfield.d.ts +3 -0
- package/dist/components/controls/NumberStepper/numberstepper.d.ts +2 -0
- package/dist/components/controls/OtpField/otpfield.d.ts +2 -0
- package/dist/components/controls/PasswordField/passwordfield.d.ts +2 -0
- package/dist/components/controls/PhoneField/phonefield.d.ts +2 -0
- package/dist/components/controls/Rating/rating.d.ts +3 -0
- package/dist/components/controls/Slider/slider.d.ts +3 -0
- package/dist/components/controls/SummaryField/summaryfield.d.ts +7 -0
- package/dist/components/controls/TagsInput/tagsinput.d.ts +3 -0
- package/dist/components/controls/ToggleButtons/togglebuttons.d.ts +3 -0
- package/dist/components/controls/index.d.ts +50 -0
- package/dist/date-utils-CFUUt6NL.js +4 -0
- package/dist/date-utils-pGzaKb0p.mjs +477 -0
- package/dist/dynamic-mui.cjs.js +469 -1
- package/dist/dynamic-mui.es.js +102548 -7
- package/dist/index-BW8_rRff.js +7 -0
- package/dist/index-BXFVK_GX.js +1 -0
- package/dist/index-CVqLvm8B.js +1 -0
- package/dist/index-Cr6Wp_S-.mjs +3141 -0
- package/dist/{index-Cu1h31y8.mjs → index-DA0XouZs.mjs} +16 -16
- package/dist/index-DKS5Sz9e.js +14 -0
- package/dist/index-DcWfyXJp.mjs +92 -0
- package/dist/index-MllWgTJ5.mjs +9372 -0
- package/dist/index.browser-BSu11T_q.mjs +363 -0
- package/dist/index.browser-By7-GABP.js +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/loadCognitoIdentity-DtYTy-DW.js +1 -0
- package/dist/loadCognitoIdentity-DzdR91GB.mjs +872 -0
- package/dist/loadSts-Cic6UToN.mjs +593 -0
- package/dist/loadSts-csbFP6zX.js +1 -0
- package/dist/noAuth-B8ui2kBg.mjs +71 -0
- package/dist/noAuth-JPA2o4dt.js +1 -0
- package/dist/playground/AIContext.d.ts +18 -0
- package/dist/playground/AIPanel.d.ts +10 -0
- package/dist/types.d.ts +81 -10
- package/dist/util/helper.d.ts +2 -30
- package/dist/util/premiumStyles.d.ts +27 -0
- package/dist/util/rules.d.ts +35 -0
- package/package.json +2 -2
- package/dist/index-Bd7ELVvM.mjs +0 -102295
- package/dist/index-DIaEVD8W.js +0 -465
- package/dist/index-DzzNuBCt.js +0 -1
- package/dist/loadCognitoIdentity-5jZEsafg.js +0 -1
- package/dist/loadCognitoIdentity-C-Upg8iV.mjs +0 -935
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
import { e as ze, N as O, v as Le, b as Oe, d as Fe, P as We, f as Ke, c as Y, T as F, r as je, n as pe, h as He, E as Ve, l as Qe, aj as qe, k as Be, a5 as Ge, p as Xe, m as Ze, A as Je, o as Ye, q as et, D as tt, t as st, u as ot, w as rt, x as nt, y as it, z as at, B as ct, F as dt, G as lt, I as ut, J as pt, K as ht, M as mt, a as gt, O as ft, Q as yt, R as St, V as Et, W as Pt, X as wt, Y as At, Z as bt, _ as Rt, $ as Tt, a0 as It, a1 as Ct, a2 as _t, a3 as vt, a4 as xt, C as Dt, g as kt } from "./index-Cr6Wp_S-.mjs";
|
|
2
|
+
import { e as ee, X as $t } from "./XmlShapeDeserializer-3yQdm0b0.mjs";
|
|
3
|
+
import { e as he, g as Nt, t as Ut, f as Mt, a as zt, h as Lt, F as Ot } from "./date-utils-pGzaKb0p.mjs";
|
|
4
|
+
import { R as Ft, N as Wt } from "./noAuth-B8ui2kBg.mjs";
|
|
5
|
+
class Kt extends ze {
|
|
6
|
+
settings;
|
|
7
|
+
buffer;
|
|
8
|
+
constructor(e) {
|
|
9
|
+
super(), this.settings = e;
|
|
10
|
+
}
|
|
11
|
+
write(e, t, o = "") {
|
|
12
|
+
this.buffer === void 0 && (this.buffer = "");
|
|
13
|
+
const r = O.of(e);
|
|
14
|
+
if (o && !o.endsWith(".") && (o += "."), r.isBlobSchema())
|
|
15
|
+
(typeof t == "string" || t instanceof Uint8Array) && (this.writeKey(o), this.writeValue((this.serdeContext?.base64Encoder ?? he)(t)));
|
|
16
|
+
else if (r.isBooleanSchema() || r.isNumericSchema() || r.isStringSchema())
|
|
17
|
+
t != null ? (this.writeKey(o), this.writeValue(String(t))) : r.isIdempotencyToken() && (this.writeKey(o), this.writeValue(Le()));
|
|
18
|
+
else if (r.isBigIntegerSchema())
|
|
19
|
+
t != null && (this.writeKey(o), this.writeValue(String(t)));
|
|
20
|
+
else if (r.isBigDecimalSchema())
|
|
21
|
+
t != null && (this.writeKey(o), this.writeValue(t instanceof Oe ? t.string : String(t)));
|
|
22
|
+
else if (r.isTimestampSchema()) {
|
|
23
|
+
if (t instanceof Date)
|
|
24
|
+
switch (this.writeKey(o), Fe(r, this.settings)) {
|
|
25
|
+
case 5:
|
|
26
|
+
this.writeValue(t.toISOString().replace(".000Z", "Z"));
|
|
27
|
+
break;
|
|
28
|
+
case 6:
|
|
29
|
+
this.writeValue(Nt(t));
|
|
30
|
+
break;
|
|
31
|
+
case 7:
|
|
32
|
+
this.writeValue(String(t.getTime() / 1e3));
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
} else if (r.isDocumentSchema())
|
|
36
|
+
Array.isArray(t) ? this.write(79, t, o) : t instanceof Date ? this.write(4, t, o) : t instanceof Uint8Array ? this.write(21, t, o) : t && typeof t == "object" ? this.write(143, t, o) : (this.writeKey(o), this.writeValue(String(t)));
|
|
37
|
+
else if (r.isListSchema()) {
|
|
38
|
+
if (Array.isArray(t))
|
|
39
|
+
if (t.length === 0)
|
|
40
|
+
this.settings.serializeEmptyLists && (this.writeKey(o), this.writeValue(""));
|
|
41
|
+
else {
|
|
42
|
+
const p = r.getValueSchema(), d = this.settings.flattenLists || r.getMergedTraits().xmlFlattened;
|
|
43
|
+
let c = 1;
|
|
44
|
+
for (const h of t) {
|
|
45
|
+
if (h == null)
|
|
46
|
+
continue;
|
|
47
|
+
const m = p.getMergedTraits(), P = this.getKey("member", m.xmlName, m.ec2QueryName), y = d ? `${o}${c}` : `${o}${P}.${c}`;
|
|
48
|
+
this.write(p, h, y), ++c;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
} else if (r.isMapSchema()) {
|
|
52
|
+
if (t && typeof t == "object") {
|
|
53
|
+
const p = r.getKeySchema(), d = r.getValueSchema(), c = r.getMergedTraits().xmlFlattened;
|
|
54
|
+
let h = 1;
|
|
55
|
+
for (const [m, P] of Object.entries(t)) {
|
|
56
|
+
if (P == null)
|
|
57
|
+
continue;
|
|
58
|
+
const y = p.getMergedTraits(), D = this.getKey("key", y.xmlName, y.ec2QueryName), M = c ? `${o}${h}.${D}` : `${o}entry.${h}.${D}`, $ = d.getMergedTraits(), N = this.getKey("value", $.xmlName, $.ec2QueryName), U = c ? `${o}${h}.${N}` : `${o}entry.${h}.${N}`;
|
|
59
|
+
this.write(p, m, M), this.write(d, P, U), ++h;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
} else if (r.isStructSchema()) {
|
|
63
|
+
if (t && typeof t == "object") {
|
|
64
|
+
let p = !1;
|
|
65
|
+
for (const [d, c] of r.structIterator()) {
|
|
66
|
+
if (t[d] == null && !c.isIdempotencyToken())
|
|
67
|
+
continue;
|
|
68
|
+
const h = c.getMergedTraits(), m = this.getKey(d, h.xmlName, h.ec2QueryName, "struct"), P = `${o}${m}`;
|
|
69
|
+
this.write(c, t[d], P), p = !0;
|
|
70
|
+
}
|
|
71
|
+
if (!p && r.isUnionSchema()) {
|
|
72
|
+
const { $unknown: d } = t;
|
|
73
|
+
if (Array.isArray(d)) {
|
|
74
|
+
const [c, h] = d, m = `${o}${c}`;
|
|
75
|
+
this.write(15, h, m);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
} else if (!r.isUnitSchema()) throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${r.getName(!0)}`);
|
|
80
|
+
}
|
|
81
|
+
flush() {
|
|
82
|
+
if (this.buffer === void 0)
|
|
83
|
+
throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");
|
|
84
|
+
const e = this.buffer;
|
|
85
|
+
return delete this.buffer, e;
|
|
86
|
+
}
|
|
87
|
+
getKey(e, t, o, r) {
|
|
88
|
+
const { ec2: p, capitalizeKeys: d } = this.settings;
|
|
89
|
+
if (p && o)
|
|
90
|
+
return o;
|
|
91
|
+
const c = t ?? e;
|
|
92
|
+
return d && r === "struct" ? c[0].toUpperCase() + c.slice(1) : c;
|
|
93
|
+
}
|
|
94
|
+
writeKey(e) {
|
|
95
|
+
e.endsWith(".") && (e = e.slice(0, e.length - 1)), this.buffer += `&${ee(e)}=`;
|
|
96
|
+
}
|
|
97
|
+
writeValue(e) {
|
|
98
|
+
this.buffer += ee(e);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
class jt extends Ft {
|
|
102
|
+
options;
|
|
103
|
+
serializer;
|
|
104
|
+
deserializer;
|
|
105
|
+
mixin = new We();
|
|
106
|
+
constructor(e) {
|
|
107
|
+
super({
|
|
108
|
+
defaultNamespace: e.defaultNamespace
|
|
109
|
+
}), this.options = e;
|
|
110
|
+
const t = {
|
|
111
|
+
timestampFormat: {
|
|
112
|
+
useTrait: !0,
|
|
113
|
+
default: 5
|
|
114
|
+
},
|
|
115
|
+
httpBindings: !1,
|
|
116
|
+
xmlNamespace: e.xmlNamespace,
|
|
117
|
+
serviceNamespace: e.defaultNamespace,
|
|
118
|
+
serializeEmptyLists: !0
|
|
119
|
+
};
|
|
120
|
+
this.serializer = new Kt(t), this.deserializer = new $t(t);
|
|
121
|
+
}
|
|
122
|
+
getShapeId() {
|
|
123
|
+
return "aws.protocols#awsQuery";
|
|
124
|
+
}
|
|
125
|
+
setSerdeContext(e) {
|
|
126
|
+
this.serializer.setSerdeContext(e), this.deserializer.setSerdeContext(e);
|
|
127
|
+
}
|
|
128
|
+
getPayloadCodec() {
|
|
129
|
+
throw new Error("AWSQuery protocol has no payload codec.");
|
|
130
|
+
}
|
|
131
|
+
async serializeRequest(e, t, o) {
|
|
132
|
+
const r = await super.serializeRequest(e, t, o);
|
|
133
|
+
r.path.endsWith("/") || (r.path += "/"), Object.assign(r.headers, {
|
|
134
|
+
"content-type": "application/x-www-form-urlencoded"
|
|
135
|
+
}), (Ke(e.input) === "unit" || !r.body) && (r.body = "");
|
|
136
|
+
const p = e.name.split("#")[1] ?? e.name;
|
|
137
|
+
return r.body = `Action=${p}&Version=${this.options.version}` + r.body, r.body.endsWith("&") && (r.body = r.body.slice(-1)), r;
|
|
138
|
+
}
|
|
139
|
+
async deserializeResponse(e, t, o) {
|
|
140
|
+
const r = this.deserializer, p = O.of(e.output), d = {};
|
|
141
|
+
if (o.statusCode >= 300) {
|
|
142
|
+
const y = await Y(o.body, t);
|
|
143
|
+
y.byteLength > 0 && Object.assign(d, await r.read(15, y)), await this.handleError(e, t, o, d, this.deserializeMetadata(o));
|
|
144
|
+
}
|
|
145
|
+
for (const y in o.headers) {
|
|
146
|
+
const D = o.headers[y];
|
|
147
|
+
delete o.headers[y], o.headers[y.toLowerCase()] = D;
|
|
148
|
+
}
|
|
149
|
+
const c = e.name.split("#")[1] ?? e.name, h = p.isStructSchema() && this.useNestedResult() ? c + "Result" : void 0, m = await Y(o.body, t);
|
|
150
|
+
return m.byteLength > 0 && Object.assign(d, await r.read(p, m, h)), {
|
|
151
|
+
$metadata: this.deserializeMetadata(o),
|
|
152
|
+
...d
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
useNestedResult() {
|
|
156
|
+
return !0;
|
|
157
|
+
}
|
|
158
|
+
async handleError(e, t, o, r, p) {
|
|
159
|
+
const d = this.loadQueryErrorCode(o, r) ?? "Unknown", c = this.loadQueryError(r) ?? {}, h = this.loadQueryErrorMessage(r);
|
|
160
|
+
c.message = h, c.Error = {
|
|
161
|
+
Type: c.Type,
|
|
162
|
+
Code: c.Code,
|
|
163
|
+
Message: h
|
|
164
|
+
};
|
|
165
|
+
const { errorSchema: m, errorMetadata: P } = await this.mixin.getErrorSchemaOrThrowBaseException(d, this.options.defaultNamespace, o, c, p, this.mixin.findQueryCompatibleError), y = O.of(m), D = F.for(m[1]).getErrorCtor(m) ?? Error, M = new D(h), $ = {
|
|
166
|
+
Type: c.Error.Type,
|
|
167
|
+
Code: c.Error.Code,
|
|
168
|
+
Error: c.Error
|
|
169
|
+
};
|
|
170
|
+
for (const [N, U] of y.structIterator()) {
|
|
171
|
+
const J = U.getMergedTraits().xmlName ?? N, Me = c[J] ?? r[J];
|
|
172
|
+
$[N] = this.deserializer.readSchema(U, Me);
|
|
173
|
+
}
|
|
174
|
+
throw this.mixin.decorateServiceException(Object.assign(M, P, {
|
|
175
|
+
$fault: y.getMergedTraits().error,
|
|
176
|
+
message: h
|
|
177
|
+
}, $), r);
|
|
178
|
+
}
|
|
179
|
+
loadQueryErrorCode(e, t) {
|
|
180
|
+
const o = (t.Errors?.[0]?.Error ?? t.Errors?.Error ?? t.Error)?.Code;
|
|
181
|
+
if (o !== void 0)
|
|
182
|
+
return o;
|
|
183
|
+
if (e.statusCode == 404)
|
|
184
|
+
return "NotFound";
|
|
185
|
+
}
|
|
186
|
+
loadQueryError(e) {
|
|
187
|
+
return e.Errors?.[0]?.Error ?? e.Errors?.Error ?? e.Error;
|
|
188
|
+
}
|
|
189
|
+
loadQueryErrorMessage(e) {
|
|
190
|
+
const t = this.loadQueryError(e);
|
|
191
|
+
return t?.message ?? t?.Message ?? e.message ?? e.Message ?? "Unknown";
|
|
192
|
+
}
|
|
193
|
+
getDefaultContentType() {
|
|
194
|
+
return "application/x-www-form-urlencoded";
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
const Ht = async (s, e, t) => ({
|
|
198
|
+
operation: He(e).operation,
|
|
199
|
+
region: await pe(s.region)() || (() => {
|
|
200
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
201
|
+
})()
|
|
202
|
+
});
|
|
203
|
+
function Vt(s) {
|
|
204
|
+
return {
|
|
205
|
+
schemeId: "aws.auth#sigv4",
|
|
206
|
+
signingProperties: {
|
|
207
|
+
name: "sts",
|
|
208
|
+
region: s.region
|
|
209
|
+
},
|
|
210
|
+
propertiesExtractor: (e, t) => ({
|
|
211
|
+
signingProperties: {
|
|
212
|
+
config: e,
|
|
213
|
+
context: t
|
|
214
|
+
}
|
|
215
|
+
})
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
function Qt(s) {
|
|
219
|
+
return {
|
|
220
|
+
schemeId: "smithy.api#noAuth"
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
const qt = (s) => {
|
|
224
|
+
const e = [];
|
|
225
|
+
return s.operation === "AssumeRoleWithWebIdentity" ? e.push(Qt()) : e.push(Vt(s)), e;
|
|
226
|
+
}, Bt = (s) => Object.assign(s, {
|
|
227
|
+
stsClientCtor: Ue
|
|
228
|
+
}), Gt = (s) => {
|
|
229
|
+
const e = Bt(s), t = je(e);
|
|
230
|
+
return Object.assign(t, {
|
|
231
|
+
authSchemePreference: pe(s.authSchemePreference ?? [])
|
|
232
|
+
});
|
|
233
|
+
}, Xt = (s) => Object.assign(s, {
|
|
234
|
+
useDualstackEndpoint: s.useDualstackEndpoint ?? !1,
|
|
235
|
+
useFipsEndpoint: s.useFipsEndpoint ?? !1,
|
|
236
|
+
useGlobalEndpoint: s.useGlobalEndpoint ?? !1,
|
|
237
|
+
defaultSigningName: "sts"
|
|
238
|
+
}), Zt = {
|
|
239
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
240
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
241
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
242
|
+
Region: { type: "builtInParams", name: "region" },
|
|
243
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
244
|
+
}, Jt = "3.996.0", Yt = {
|
|
245
|
+
version: Jt
|
|
246
|
+
}, me = "required", n = "type", i = "fn", a = "argv", R = "ref", te = !1, z = !0, b = "booleanEquals", g = "stringEquals", ge = "sigv4", fe = "sts", ye = "us-east-1", l = "endpoint", se = "https://sts.{Region}.{PartitionResult#dnsSuffix}", w = "tree", k = "error", W = "getAttr", oe = { [me]: !1, [n]: "string" }, L = { [me]: !0, default: !1, [n]: "boolean" }, Se = { [R]: "Endpoint" }, re = { [i]: "isSet", [a]: [{ [R]: "Region" }] }, f = { [R]: "Region" }, ne = { [i]: "aws.partition", [a]: [f], assign: "PartitionResult" }, Ee = { [R]: "UseFIPS" }, Pe = { [R]: "UseDualStack" }, S = { url: "https://sts.amazonaws.com", properties: { authSchemes: [{ name: ge, signingName: fe, signingRegion: ye }] }, headers: {} }, E = {}, ie = { conditions: [{ [i]: g, [a]: [f, "aws-global"] }], [l]: S, [n]: l }, we = { [i]: b, [a]: [Ee, !0] }, Ae = { [i]: b, [a]: [Pe, !0] }, ae = { [i]: W, [a]: [{ [R]: "PartitionResult" }, "supportsFIPS"] }, be = { [R]: "PartitionResult" }, ce = { [i]: b, [a]: [!0, { [i]: W, [a]: [be, "supportsDualStack"] }] }, de = [{ [i]: "isSet", [a]: [Se] }], le = [we], ue = [Ae], es = { parameters: { Region: oe, UseDualStack: L, UseFIPS: L, Endpoint: oe, UseGlobalEndpoint: L }, rules: [{ conditions: [{ [i]: b, [a]: [{ [R]: "UseGlobalEndpoint" }, z] }, { [i]: "not", [a]: de }, re, ne, { [i]: b, [a]: [Ee, te] }, { [i]: b, [a]: [Pe, te] }], rules: [{ conditions: [{ [i]: g, [a]: [f, "ap-northeast-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "ap-south-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "ap-southeast-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "ap-southeast-2"] }], endpoint: S, [n]: l }, ie, { conditions: [{ [i]: g, [a]: [f, "ca-central-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "eu-central-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "eu-north-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "eu-west-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "eu-west-2"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "eu-west-3"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "sa-east-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, ye] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "us-east-2"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "us-west-1"] }], endpoint: S, [n]: l }, { conditions: [{ [i]: g, [a]: [f, "us-west-2"] }], endpoint: S, [n]: l }, { endpoint: { url: se, properties: { authSchemes: [{ name: ge, signingName: fe, signingRegion: "{Region}" }] }, headers: E }, [n]: l }], [n]: w }, { conditions: de, rules: [{ conditions: le, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [n]: k }, { conditions: ue, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [n]: k }, { endpoint: { url: Se, properties: E, headers: E }, [n]: l }], [n]: w }, { conditions: [re], rules: [{ conditions: [ne], rules: [{ conditions: [we, Ae], rules: [{ conditions: [{ [i]: b, [a]: [z, ae] }, ce], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: E, headers: E }, [n]: l }], [n]: w }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [n]: k }], [n]: w }, { conditions: le, rules: [{ conditions: [{ [i]: b, [a]: [ae, z] }], rules: [{ conditions: [{ [i]: g, [a]: [{ [i]: W, [a]: [be, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: E, headers: E }, [n]: l }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: E, headers: E }, [n]: l }], [n]: w }, { error: "FIPS is enabled but this partition does not support FIPS", [n]: k }], [n]: w }, { conditions: ue, rules: [{ conditions: [ce], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: E, headers: E }, [n]: l }], [n]: w }, { error: "DualStack is enabled but this partition does not support DualStack", [n]: k }], [n]: w }, ie, { endpoint: { url: se, properties: E, headers: E }, [n]: l }], [n]: w }], [n]: w }, { error: "Invalid Configuration: Missing Region", [n]: k }] }, ts = es, ss = new Ve({
|
|
247
|
+
size: 50,
|
|
248
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
249
|
+
}), os = (s, e = {}) => ss.get(s, () => Qe(ts, {
|
|
250
|
+
endpointParams: s,
|
|
251
|
+
logger: e.logger
|
|
252
|
+
}));
|
|
253
|
+
Be.aws = qe;
|
|
254
|
+
class A extends Ge {
|
|
255
|
+
constructor(e) {
|
|
256
|
+
super(e), Object.setPrototypeOf(this, A.prototype);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
class K extends A {
|
|
260
|
+
name = "ExpiredTokenException";
|
|
261
|
+
$fault = "client";
|
|
262
|
+
constructor(e) {
|
|
263
|
+
super({
|
|
264
|
+
name: "ExpiredTokenException",
|
|
265
|
+
$fault: "client",
|
|
266
|
+
...e
|
|
267
|
+
}), Object.setPrototypeOf(this, K.prototype);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
class j extends A {
|
|
271
|
+
name = "MalformedPolicyDocumentException";
|
|
272
|
+
$fault = "client";
|
|
273
|
+
constructor(e) {
|
|
274
|
+
super({
|
|
275
|
+
name: "MalformedPolicyDocumentException",
|
|
276
|
+
$fault: "client",
|
|
277
|
+
...e
|
|
278
|
+
}), Object.setPrototypeOf(this, j.prototype);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
class H extends A {
|
|
282
|
+
name = "PackedPolicyTooLargeException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
constructor(e) {
|
|
285
|
+
super({
|
|
286
|
+
name: "PackedPolicyTooLargeException",
|
|
287
|
+
$fault: "client",
|
|
288
|
+
...e
|
|
289
|
+
}), Object.setPrototypeOf(this, H.prototype);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
class V extends A {
|
|
293
|
+
name = "RegionDisabledException";
|
|
294
|
+
$fault = "client";
|
|
295
|
+
constructor(e) {
|
|
296
|
+
super({
|
|
297
|
+
name: "RegionDisabledException",
|
|
298
|
+
$fault: "client",
|
|
299
|
+
...e
|
|
300
|
+
}), Object.setPrototypeOf(this, V.prototype);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
class Q extends A {
|
|
304
|
+
name = "IDPRejectedClaimException";
|
|
305
|
+
$fault = "client";
|
|
306
|
+
constructor(e) {
|
|
307
|
+
super({
|
|
308
|
+
name: "IDPRejectedClaimException",
|
|
309
|
+
$fault: "client",
|
|
310
|
+
...e
|
|
311
|
+
}), Object.setPrototypeOf(this, Q.prototype);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
class q extends A {
|
|
315
|
+
name = "InvalidIdentityTokenException";
|
|
316
|
+
$fault = "client";
|
|
317
|
+
constructor(e) {
|
|
318
|
+
super({
|
|
319
|
+
name: "InvalidIdentityTokenException",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...e
|
|
322
|
+
}), Object.setPrototypeOf(this, q.prototype);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
class B extends A {
|
|
326
|
+
name = "IDPCommunicationErrorException";
|
|
327
|
+
$fault = "client";
|
|
328
|
+
constructor(e) {
|
|
329
|
+
super({
|
|
330
|
+
name: "IDPCommunicationErrorException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...e
|
|
333
|
+
}), Object.setPrototypeOf(this, B.prototype);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
const rs = "Arn", ns = "AccessKeyId", is = "AssumeRole", as = "AssumedRoleId", cs = "AssumeRoleRequest", ds = "AssumeRoleResponse", G = "AssumedRoleUser", ls = "AssumeRoleWithWebIdentity", us = "AssumeRoleWithWebIdentityRequest", ps = "AssumeRoleWithWebIdentityResponse", hs = "Audience", X = "Credentials", ms = "ContextAssertion", Re = "DurationSeconds", gs = "Expiration", fs = "ExternalId", ys = "ExpiredTokenException", Ss = "IDPCommunicationErrorException", Es = "IDPRejectedClaimException", Ps = "InvalidIdentityTokenException", ws = "Key", As = "MalformedPolicyDocumentException", Te = "Policy", Ie = "PolicyArns", bs = "ProviderArn", Rs = "ProvidedContexts", Ts = "ProvidedContextsListType", Is = "ProvidedContext", Cs = "PolicyDescriptorType", _s = "ProviderId", Ce = "PackedPolicySize", vs = "PackedPolicyTooLargeException", xs = "Provider", _e = "RoleArn", Ds = "RegionDisabledException", ve = "RoleSessionName", ks = "SecretAccessKey", $s = "SubjectFromWebIdentityToken", Z = "SourceIdentity", Ns = "SerialNumber", Us = "SessionToken", Ms = "Tags", zs = "TokenCode", Ls = "TransitiveTagKeys", Os = "Tag", Fs = "Value", Ws = "WebIdentityToken", Ks = "arn", js = "accessKeySecretType", I = "awsQueryError", C = "client", Hs = "clientTokenType", _ = "error", v = "httpError", x = "message", Vs = "policyDescriptorListType", xe = "smithy.ts.sdk.synthetic.com.amazonaws.sts", Qs = "tagListType", u = "com.amazonaws.sts", De = F.for(xe);
|
|
337
|
+
var qs = [-3, xe, "STSServiceException", 0, [], []];
|
|
338
|
+
De.registerError(qs, A);
|
|
339
|
+
const T = F.for(u);
|
|
340
|
+
var Bs = [
|
|
341
|
+
-3,
|
|
342
|
+
u,
|
|
343
|
+
ys,
|
|
344
|
+
{ [I]: ["ExpiredTokenException", 400], [_]: C, [v]: 400 },
|
|
345
|
+
[x],
|
|
346
|
+
[0]
|
|
347
|
+
];
|
|
348
|
+
T.registerError(Bs, K);
|
|
349
|
+
var Gs = [
|
|
350
|
+
-3,
|
|
351
|
+
u,
|
|
352
|
+
Ss,
|
|
353
|
+
{ [I]: ["IDPCommunicationError", 400], [_]: C, [v]: 400 },
|
|
354
|
+
[x],
|
|
355
|
+
[0]
|
|
356
|
+
];
|
|
357
|
+
T.registerError(Gs, B);
|
|
358
|
+
var Xs = [
|
|
359
|
+
-3,
|
|
360
|
+
u,
|
|
361
|
+
Es,
|
|
362
|
+
{ [I]: ["IDPRejectedClaim", 403], [_]: C, [v]: 403 },
|
|
363
|
+
[x],
|
|
364
|
+
[0]
|
|
365
|
+
];
|
|
366
|
+
T.registerError(Xs, Q);
|
|
367
|
+
var Zs = [
|
|
368
|
+
-3,
|
|
369
|
+
u,
|
|
370
|
+
Ps,
|
|
371
|
+
{ [I]: ["InvalidIdentityToken", 400], [_]: C, [v]: 400 },
|
|
372
|
+
[x],
|
|
373
|
+
[0]
|
|
374
|
+
];
|
|
375
|
+
T.registerError(Zs, q);
|
|
376
|
+
var Js = [
|
|
377
|
+
-3,
|
|
378
|
+
u,
|
|
379
|
+
As,
|
|
380
|
+
{ [I]: ["MalformedPolicyDocument", 400], [_]: C, [v]: 400 },
|
|
381
|
+
[x],
|
|
382
|
+
[0]
|
|
383
|
+
];
|
|
384
|
+
T.registerError(Js, j);
|
|
385
|
+
var Ys = [
|
|
386
|
+
-3,
|
|
387
|
+
u,
|
|
388
|
+
vs,
|
|
389
|
+
{ [I]: ["PackedPolicyTooLarge", 400], [_]: C, [v]: 400 },
|
|
390
|
+
[x],
|
|
391
|
+
[0]
|
|
392
|
+
];
|
|
393
|
+
T.registerError(Ys, H);
|
|
394
|
+
var eo = [
|
|
395
|
+
-3,
|
|
396
|
+
u,
|
|
397
|
+
Ds,
|
|
398
|
+
{ [I]: ["RegionDisabledException", 403], [_]: C, [v]: 403 },
|
|
399
|
+
[x],
|
|
400
|
+
[0]
|
|
401
|
+
];
|
|
402
|
+
T.registerError(eo, V);
|
|
403
|
+
const to = [De, T];
|
|
404
|
+
var so = [0, u, js, 8, 0], oo = [0, u, Hs, 8, 0], ke = [3, u, G, 0, [as, rs], [0, 0], 2], ro = [
|
|
405
|
+
3,
|
|
406
|
+
u,
|
|
407
|
+
cs,
|
|
408
|
+
0,
|
|
409
|
+
[_e, ve, Ie, Te, Re, Ms, Ls, fs, Ns, zs, Z, Rs],
|
|
410
|
+
[0, 0, () => Ne, 0, 1, () => ho, 64, 0, 0, 0, 0, () => po],
|
|
411
|
+
2
|
|
412
|
+
], no = [
|
|
413
|
+
3,
|
|
414
|
+
u,
|
|
415
|
+
ds,
|
|
416
|
+
0,
|
|
417
|
+
[X, G, Ce, Z],
|
|
418
|
+
[[() => $e, 0], () => ke, 1, 0]
|
|
419
|
+
], io = [
|
|
420
|
+
3,
|
|
421
|
+
u,
|
|
422
|
+
us,
|
|
423
|
+
0,
|
|
424
|
+
[_e, ve, Ws, _s, Ie, Te, Re],
|
|
425
|
+
[0, 0, [() => oo, 0], 0, () => Ne, 0, 1],
|
|
426
|
+
3
|
|
427
|
+
], ao = [
|
|
428
|
+
3,
|
|
429
|
+
u,
|
|
430
|
+
ps,
|
|
431
|
+
0,
|
|
432
|
+
[X, $s, G, Ce, xs, hs, Z],
|
|
433
|
+
[[() => $e, 0], 0, () => ke, 1, 0, 0, 0]
|
|
434
|
+
], $e = [
|
|
435
|
+
3,
|
|
436
|
+
u,
|
|
437
|
+
X,
|
|
438
|
+
0,
|
|
439
|
+
[ns, ks, Us, gs],
|
|
440
|
+
[0, [() => so, 0], 0, 4],
|
|
441
|
+
4
|
|
442
|
+
], co = [3, u, Cs, 0, [Ks], [0]], lo = [3, u, Is, 0, [bs, ms], [0, 0]], uo = [3, u, Os, 0, [ws, Fs], [0, 0], 2], Ne = [1, u, Vs, 0, () => co], po = [1, u, Ts, 0, () => lo], ho = [1, u, Qs, 0, () => uo], mo = [9, u, is, 0, () => ro, () => no], To = [
|
|
443
|
+
9,
|
|
444
|
+
u,
|
|
445
|
+
ls,
|
|
446
|
+
0,
|
|
447
|
+
() => io,
|
|
448
|
+
() => ao
|
|
449
|
+
];
|
|
450
|
+
const go = (s) => ({
|
|
451
|
+
apiVersion: "2011-06-15",
|
|
452
|
+
base64Decoder: s?.base64Decoder ?? zt,
|
|
453
|
+
base64Encoder: s?.base64Encoder ?? he,
|
|
454
|
+
disableHostPrefix: s?.disableHostPrefix ?? !1,
|
|
455
|
+
endpointProvider: s?.endpointProvider ?? os,
|
|
456
|
+
extensions: s?.extensions ?? [],
|
|
457
|
+
httpAuthSchemeProvider: s?.httpAuthSchemeProvider ?? qt,
|
|
458
|
+
httpAuthSchemes: s?.httpAuthSchemes ?? [
|
|
459
|
+
{
|
|
460
|
+
schemeId: "aws.auth#sigv4",
|
|
461
|
+
identityProvider: (e) => e.getIdentityProvider("aws.auth#sigv4"),
|
|
462
|
+
signer: new Je()
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
schemeId: "smithy.api#noAuth",
|
|
466
|
+
identityProvider: (e) => e.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
467
|
+
signer: new Wt()
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
logger: s?.logger ?? new Ze(),
|
|
471
|
+
protocol: s?.protocol ?? jt,
|
|
472
|
+
protocolSettings: s?.protocolSettings ?? {
|
|
473
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
474
|
+
errorTypeRegistries: to,
|
|
475
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
476
|
+
version: "2011-06-15",
|
|
477
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
478
|
+
},
|
|
479
|
+
serviceId: s?.serviceId ?? "STS",
|
|
480
|
+
urlParser: s?.urlParser ?? Xe,
|
|
481
|
+
utf8Decoder: s?.utf8Decoder ?? Mt,
|
|
482
|
+
utf8Encoder: s?.utf8Encoder ?? Ut
|
|
483
|
+
}), fo = (s) => {
|
|
484
|
+
const e = Ye(s), t = () => e().then(ct), o = go(s);
|
|
485
|
+
return {
|
|
486
|
+
...o,
|
|
487
|
+
...s,
|
|
488
|
+
runtime: "browser",
|
|
489
|
+
defaultsMode: e,
|
|
490
|
+
bodyLengthChecker: s?.bodyLengthChecker ?? ot,
|
|
491
|
+
credentialDefaultProvider: s?.credentialDefaultProvider ?? ((r) => () => Promise.reject(new Error("Credential is missing"))),
|
|
492
|
+
defaultUserAgentProvider: s?.defaultUserAgentProvider ?? at({ serviceId: o.serviceId, clientVersion: Yt.version }),
|
|
493
|
+
maxAttempts: s?.maxAttempts ?? st,
|
|
494
|
+
region: s?.region ?? it("Region is missing"),
|
|
495
|
+
requestHandler: Ot.create(s?.requestHandler ?? t),
|
|
496
|
+
retryMode: s?.retryMode ?? (async () => (await t()).retryMode || tt),
|
|
497
|
+
sha256: s?.sha256 ?? et,
|
|
498
|
+
streamCollector: s?.streamCollector ?? Lt,
|
|
499
|
+
useDualstackEndpoint: s?.useDualstackEndpoint ?? (() => Promise.resolve(nt)),
|
|
500
|
+
useFipsEndpoint: s?.useFipsEndpoint ?? (() => Promise.resolve(rt))
|
|
501
|
+
};
|
|
502
|
+
}, yo = (s) => {
|
|
503
|
+
const e = s.httpAuthSchemes;
|
|
504
|
+
let t = s.httpAuthSchemeProvider, o = s.credentials;
|
|
505
|
+
return {
|
|
506
|
+
setHttpAuthScheme(r) {
|
|
507
|
+
const p = e.findIndex((d) => d.schemeId === r.schemeId);
|
|
508
|
+
p === -1 ? e.push(r) : e.splice(p, 1, r);
|
|
509
|
+
},
|
|
510
|
+
httpAuthSchemes() {
|
|
511
|
+
return e;
|
|
512
|
+
},
|
|
513
|
+
setHttpAuthSchemeProvider(r) {
|
|
514
|
+
t = r;
|
|
515
|
+
},
|
|
516
|
+
httpAuthSchemeProvider() {
|
|
517
|
+
return t;
|
|
518
|
+
},
|
|
519
|
+
setCredentials(r) {
|
|
520
|
+
o = r;
|
|
521
|
+
},
|
|
522
|
+
credentials() {
|
|
523
|
+
return o;
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
}, So = (s) => ({
|
|
527
|
+
httpAuthSchemes: s.httpAuthSchemes(),
|
|
528
|
+
httpAuthSchemeProvider: s.httpAuthSchemeProvider(),
|
|
529
|
+
credentials: s.credentials()
|
|
530
|
+
}), Eo = (s, e) => {
|
|
531
|
+
const t = Object.assign(dt(s), lt(s), ut(s), yo(s));
|
|
532
|
+
return e.forEach((o) => o.configure(t)), Object.assign(s, pt(t), ht(t), mt(t), So(t));
|
|
533
|
+
};
|
|
534
|
+
class Ue extends gt {
|
|
535
|
+
config;
|
|
536
|
+
constructor(...[e]) {
|
|
537
|
+
const t = fo(e || {});
|
|
538
|
+
super(t), this.initConfig = t;
|
|
539
|
+
const o = Xt(t), r = ft(o), p = yt(r), d = St(p), c = xt(d), h = Et(c), m = Gt(h), P = Eo(m, e?.extensions || []);
|
|
540
|
+
this.config = P, this.middlewareStack.use(Pt(this.config)), this.middlewareStack.use(wt(this.config)), this.middlewareStack.use(At(this.config)), this.middlewareStack.use(bt(this.config)), this.middlewareStack.use(Rt(this.config)), this.middlewareStack.use(Tt(this.config)), this.middlewareStack.use(It(this.config)), this.middlewareStack.use(Ct(this.config, {
|
|
541
|
+
httpAuthSchemeParametersProvider: Ht,
|
|
542
|
+
identityProviderConfigProvider: async (y) => new _t({
|
|
543
|
+
"aws.auth#sigv4": y.credentials
|
|
544
|
+
})
|
|
545
|
+
})), this.middlewareStack.use(vt(this.config));
|
|
546
|
+
}
|
|
547
|
+
destroy() {
|
|
548
|
+
super.destroy();
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
class Po extends Dt.classBuilder().ep(Zt).m(function(e, t, o, r) {
|
|
552
|
+
return [kt(o, e.getEndpointParameterInstructions())];
|
|
553
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(mo).build() {
|
|
554
|
+
}
|
|
555
|
+
const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
556
|
+
__proto__: null,
|
|
557
|
+
AssumeRoleCommand: Po,
|
|
558
|
+
STSClient: Ue
|
|
559
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
560
|
+
export {
|
|
561
|
+
To as A,
|
|
562
|
+
$e as C,
|
|
563
|
+
K as E,
|
|
564
|
+
B as I,
|
|
565
|
+
j as M,
|
|
566
|
+
H as P,
|
|
567
|
+
V as R,
|
|
568
|
+
Ue as S,
|
|
569
|
+
uo as T,
|
|
570
|
+
mo as a,
|
|
571
|
+
Po as b,
|
|
572
|
+
Zt as c,
|
|
573
|
+
ro as d,
|
|
574
|
+
no as e,
|
|
575
|
+
io as f,
|
|
576
|
+
ao as g,
|
|
577
|
+
ke as h,
|
|
578
|
+
Bs as i,
|
|
579
|
+
Gs as j,
|
|
580
|
+
Q as k,
|
|
581
|
+
Xs as l,
|
|
582
|
+
q as m,
|
|
583
|
+
Zs as n,
|
|
584
|
+
Js as o,
|
|
585
|
+
Ys as p,
|
|
586
|
+
co as q,
|
|
587
|
+
lo as r,
|
|
588
|
+
eo as s,
|
|
589
|
+
A as t,
|
|
590
|
+
qs as u,
|
|
591
|
+
to as v,
|
|
592
|
+
Io as w
|
|
593
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./index-DKS5Sz9e.js"),B=require("./XmlShapeDeserializer-XKJAoqLc.js"),b=require("./date-utils-CFUUt6NL.js"),he=require("./noAuth-JPA2o4dt.js");class et extends o.SerdeContextConfig{settings;buffer;constructor(e){super(),this.settings=e}write(e,t,n=""){this.buffer===void 0&&(this.buffer="");const i=o.NormalizedSchema.of(e);if(n&&!n.endsWith(".")&&(n+="."),i.isBlobSchema())(typeof t=="string"||t instanceof Uint8Array)&&(this.writeKey(n),this.writeValue((this.serdeContext?.base64Encoder??b.toBase64)(t)));else if(i.isBooleanSchema()||i.isNumericSchema()||i.isStringSchema())t!=null?(this.writeKey(n),this.writeValue(String(t))):i.isIdempotencyToken()&&(this.writeKey(n),this.writeValue(o.v4()));else if(i.isBigIntegerSchema())t!=null&&(this.writeKey(n),this.writeValue(String(t)));else if(i.isBigDecimalSchema())t!=null&&(this.writeKey(n),this.writeValue(t instanceof o.NumericValue?t.string:String(t)));else if(i.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(n),o.determineTimestampFormat(i,this.settings)){case 5:this.writeValue(t.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(b.dateToUtcString(t));break;case 7:this.writeValue(String(t.getTime()/1e3));break}}else if(i.isDocumentSchema())Array.isArray(t)?this.write(79,t,n):t instanceof Date?this.write(4,t,n):t instanceof Uint8Array?this.write(21,t,n):t&&typeof t=="object"?this.write(143,t,n):(this.writeKey(n),this.writeValue(String(t)));else if(i.isListSchema()){if(Array.isArray(t))if(t.length===0)this.settings.serializeEmptyLists&&(this.writeKey(n),this.writeValue(""));else{const m=i.getValueSchema(),l=this.settings.flattenLists||i.getMergedTraits().xmlFlattened;let d=1;for(const h of t){if(h==null)continue;const g=m.getMergedTraits(),R=this.getKey("member",g.xmlName,g.ec2QueryName),E=l?`${n}${d}`:`${n}${R}.${d}`;this.write(m,h,E),++d}}}else if(i.isMapSchema()){if(t&&typeof t=="object"){const m=i.getKeySchema(),l=i.getValueSchema(),d=i.getMergedTraits().xmlFlattened;let h=1;for(const[g,R]of Object.entries(t)){if(R==null)continue;const E=m.getMergedTraits(),k=this.getKey("key",E.xmlName,E.ec2QueryName),V=d?`${n}${h}.${k}`:`${n}entry.${h}.${k}`,U=l.getMergedTraits(),z=this.getKey("value",U.xmlName,U.ec2QueryName),W=d?`${n}${h}.${z}`:`${n}entry.${h}.${z}`;this.write(m,g,V),this.write(l,R,W),++h}}}else if(i.isStructSchema()){if(t&&typeof t=="object"){let m=!1;for(const[l,d]of i.structIterator()){if(t[l]==null&&!d.isIdempotencyToken())continue;const h=d.getMergedTraits(),g=this.getKey(l,h.xmlName,h.ec2QueryName,"struct"),R=`${n}${g}`;this.write(d,t[l],R),m=!0}if(!m&&i.isUnionSchema()){const{$unknown:l}=t;if(Array.isArray(l)){const[d,h]=l,g=`${n}${d}`;this.write(15,h,g)}}}}else if(!i.isUnitSchema())throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${i.getName(!0)}`)}flush(){if(this.buffer===void 0)throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");const e=this.buffer;return delete this.buffer,e}getKey(e,t,n,i){const{ec2:m,capitalizeKeys:l}=this.settings;if(m&&n)return n;const d=t??e;return l&&i==="struct"?d[0].toUpperCase()+d.slice(1):d}writeKey(e){e.endsWith(".")&&(e=e.slice(0,e.length-1)),this.buffer+=`&${B.extendedEncodeURIComponent(e)}=`}writeValue(e){this.buffer+=B.extendedEncodeURIComponent(e)}}class tt extends he.RpcProtocol{options;serializer;deserializer;mixin=new o.ProtocolLib;constructor(e){super({defaultNamespace:e.defaultNamespace}),this.options=e;const t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new et(t),this.deserializer=new B.XmlShapeDeserializer(t)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(e,t,n){const i=await super.serializeRequest(e,t,n);i.path.endsWith("/")||(i.path+="/"),Object.assign(i.headers,{"content-type":"application/x-www-form-urlencoded"}),(o.deref(e.input)==="unit"||!i.body)&&(i.body="");const m=e.name.split("#")[1]??e.name;return i.body=`Action=${m}&Version=${this.options.version}`+i.body,i.body.endsWith("&")&&(i.body=i.body.slice(-1)),i}async deserializeResponse(e,t,n){const i=this.deserializer,m=o.NormalizedSchema.of(e.output),l={};if(n.statusCode>=300){const E=await o.collectBody(n.body,t);E.byteLength>0&&Object.assign(l,await i.read(15,E)),await this.handleError(e,t,n,l,this.deserializeMetadata(n))}for(const E in n.headers){const k=n.headers[E];delete n.headers[E],n.headers[E.toLowerCase()]=k}const d=e.name.split("#")[1]??e.name,h=m.isStructSchema()&&this.useNestedResult()?d+"Result":void 0,g=await o.collectBody(n.body,t);return g.byteLength>0&&Object.assign(l,await i.read(m,g,h)),{$metadata:this.deserializeMetadata(n),...l}}useNestedResult(){return!0}async handleError(e,t,n,i,m){const l=this.loadQueryErrorCode(n,i)??"Unknown",d=this.loadQueryError(i)??{},h=this.loadQueryErrorMessage(i);d.message=h,d.Error={Type:d.Type,Code:d.Code,Message:h};const{errorSchema:g,errorMetadata:R}=await this.mixin.getErrorSchemaOrThrowBaseException(l,this.options.defaultNamespace,n,d,m,this.mixin.findQueryCompatibleError),E=o.NormalizedSchema.of(g),k=o.TypeRegistry.for(g[1]).getErrorCtor(g)??Error,V=new k(h),U={Type:d.Error.Type,Code:d.Error.Code,Error:d.Error};for(const[z,W]of E.structIterator()){const se=W.getMergedTraits().xmlName??z,Ye=d[se]??i[se];U[z]=this.deserializer.readSchema(W,Ye)}throw this.mixin.decorateServiceException(Object.assign(V,R,{$fault:E.getMergedTraits().error,message:h},U),i)}loadQueryErrorCode(e,t){const n=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(n!==void 0)return n;if(e.statusCode==404)return"NotFound"}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){const t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}const st=async(s,e,t)=>({operation:o.getSmithyContext(e).operation,region:await o.normalizeProvider(s.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function ot(s){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:s.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function nt(s){return{schemeId:"smithy.api#noAuth"}}const it=s=>{const e=[];return s.operation==="AssumeRoleWithWebIdentity"?e.push(nt()):e.push(ot(s)),e},rt=s=>Object.assign(s,{stsClientCtor:te}),at=s=>{const e=rt(s),t=o.resolveAwsSdkSigV4Config(e);return Object.assign(t,{authSchemePreference:o.normalizeProvider(s.authSchemePreference??[])})},ct=s=>Object.assign(s,{useDualstackEndpoint:s.useDualstackEndpoint??!1,useFipsEndpoint:s.useFipsEndpoint??!1,useGlobalEndpoint:s.useGlobalEndpoint??!1,defaultSigningName:"sts"}),ge={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},dt="3.996.0",lt={version:dt},ye="required",r="type",a="fn",c="argv",x="ref",oe=!1,Q=!0,T="booleanEquals",y="stringEquals",fe="sigv4",Ee="sts",Se="us-east-1",u="endpoint",ne="https://sts.{Region}.{PartitionResult#dnsSuffix}",w="tree",N="error",G="getAttr",ie={[ye]:!1,[r]:"string"},q={[ye]:!0,default:!1,[r]:"boolean"},Pe={[x]:"Endpoint"},re={[a]:"isSet",[c]:[{[x]:"Region"}]},f={[x]:"Region"},ae={[a]:"aws.partition",[c]:[f],assign:"PartitionResult"},Re={[x]:"UseFIPS"},Ae={[x]:"UseDualStack"},S={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:fe,signingName:Ee,signingRegion:Se}]},headers:{}},P={},ce={conditions:[{[a]:y,[c]:[f,"aws-global"]}],[u]:S,[r]:u},we={[a]:T,[c]:[Re,!0]},Te={[a]:T,[c]:[Ae,!0]},de={[a]:G,[c]:[{[x]:"PartitionResult"},"supportsFIPS"]},be={[x]:"PartitionResult"},le={[a]:T,[c]:[!0,{[a]:G,[c]:[be,"supportsDualStack"]}]},ue=[{[a]:"isSet",[c]:[Pe]}],pe=[we],me=[Te],ut={parameters:{Region:ie,UseDualStack:q,UseFIPS:q,Endpoint:ie,UseGlobalEndpoint:q},rules:[{conditions:[{[a]:T,[c]:[{[x]:"UseGlobalEndpoint"},Q]},{[a]:"not",[c]:ue},re,ae,{[a]:T,[c]:[Re,oe]},{[a]:T,[c]:[Ae,oe]}],rules:[{conditions:[{[a]:y,[c]:[f,"ap-northeast-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"ap-south-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"ap-southeast-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"ap-southeast-2"]}],endpoint:S,[r]:u},ce,{conditions:[{[a]:y,[c]:[f,"ca-central-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"eu-central-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"eu-north-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"eu-west-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"eu-west-2"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"eu-west-3"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"sa-east-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,Se]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"us-east-2"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"us-west-1"]}],endpoint:S,[r]:u},{conditions:[{[a]:y,[c]:[f,"us-west-2"]}],endpoint:S,[r]:u},{endpoint:{url:ne,properties:{authSchemes:[{name:fe,signingName:Ee,signingRegion:"{Region}"}]},headers:P},[r]:u}],[r]:w},{conditions:ue,rules:[{conditions:pe,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[r]:N},{conditions:me,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[r]:N},{endpoint:{url:Pe,properties:P,headers:P},[r]:u}],[r]:w},{conditions:[re],rules:[{conditions:[ae],rules:[{conditions:[we,Te],rules:[{conditions:[{[a]:T,[c]:[Q,de]},le],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:P,headers:P},[r]:u}],[r]:w},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[r]:N}],[r]:w},{conditions:pe,rules:[{conditions:[{[a]:T,[c]:[de,Q]}],rules:[{conditions:[{[a]:y,[c]:[{[a]:G,[c]:[be,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:P,headers:P},[r]:u},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:P,headers:P},[r]:u}],[r]:w},{error:"FIPS is enabled but this partition does not support FIPS",[r]:N}],[r]:w},{conditions:me,rules:[{conditions:[le],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:P,headers:P},[r]:u}],[r]:w},{error:"DualStack is enabled but this partition does not support DualStack",[r]:N}],[r]:w},ce,{endpoint:{url:ne,properties:P,headers:P},[r]:u}],[r]:w}],[r]:w},{error:"Invalid Configuration: Missing Region",[r]:N}]},pt=ut,mt=new o.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),ht=(s,e={})=>mt.get(s,()=>o.resolveEndpoint(pt,{endpointParams:s,logger:e.logger}));o.customEndpointFunctions.aws=o.awsEndpointFunctions;class A extends o.ServiceException{constructor(e){super(e),Object.setPrototypeOf(this,A.prototype)}}class M extends A{name="ExpiredTokenException";$fault="client";constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e}),Object.setPrototypeOf(this,M.prototype)}}class L extends A{name="MalformedPolicyDocumentException";$fault="client";constructor(e){super({name:"MalformedPolicyDocumentException",$fault:"client",...e}),Object.setPrototypeOf(this,L.prototype)}}class O extends A{name="PackedPolicyTooLargeException";$fault="client";constructor(e){super({name:"PackedPolicyTooLargeException",$fault:"client",...e}),Object.setPrototypeOf(this,O.prototype)}}class F extends A{name="RegionDisabledException";$fault="client";constructor(e){super({name:"RegionDisabledException",$fault:"client",...e}),Object.setPrototypeOf(this,F.prototype)}}class j extends A{name="IDPRejectedClaimException";$fault="client";constructor(e){super({name:"IDPRejectedClaimException",$fault:"client",...e}),Object.setPrototypeOf(this,j.prototype)}}class K extends A{name="InvalidIdentityTokenException";$fault="client";constructor(e){super({name:"InvalidIdentityTokenException",$fault:"client",...e}),Object.setPrototypeOf(this,K.prototype)}}class H extends A{name="IDPCommunicationErrorException";$fault="client";constructor(e){super({name:"IDPCommunicationErrorException",$fault:"client",...e}),Object.setPrototypeOf(this,H.prototype)}}const gt="Arn",yt="AccessKeyId",ft="AssumeRole",Et="AssumedRoleId",St="AssumeRoleRequest",Pt="AssumeRoleResponse",X="AssumedRoleUser",Rt="AssumeRoleWithWebIdentity",At="AssumeRoleWithWebIdentityRequest",wt="AssumeRoleWithWebIdentityResponse",Tt="Audience",Z="Credentials",bt="ContextAssertion",xe="DurationSeconds",xt="Expiration",It="ExternalId",Ct="ExpiredTokenException",vt="IDPCommunicationErrorException",_t="IDPRejectedClaimException",Dt="InvalidIdentityTokenException",$t="Key",kt="MalformedPolicyDocumentException",Ie="Policy",Ce="PolicyArns",Nt="ProviderArn",Ut="ProvidedContexts",zt="ProvidedContextsListType",Wt="ProvidedContext",Mt="PolicyDescriptorType",Lt="ProviderId",ve="PackedPolicySize",Ot="PackedPolicyTooLargeException",Ft="Provider",_e="RoleArn",jt="RegionDisabledException",De="RoleSessionName",Kt="SecretAccessKey",Ht="SubjectFromWebIdentityToken",J="SourceIdentity",Vt="SerialNumber",Qt="SessionToken",qt="Tags",Bt="TokenCode",Gt="TransitiveTagKeys",Xt="Tag",Zt="Value",Jt="WebIdentityToken",Yt="arn",es="accessKeySecretType",C="awsQueryError",v="client",ts="clientTokenType",_="error",D="httpError",$="message",ss="policyDescriptorListType",$e="smithy.ts.sdk.synthetic.com.amazonaws.sts",os="tagListType",p="com.amazonaws.sts",ke=o.TypeRegistry.for($e);var Ne=[-3,$e,"STSServiceException",0,[],[]];ke.registerError(Ne,A);const I=o.TypeRegistry.for(p);var Ue=[-3,p,Ct,{[C]:["ExpiredTokenException",400],[_]:v,[D]:400},[$],[0]];I.registerError(Ue,M);var ze=[-3,p,vt,{[C]:["IDPCommunicationError",400],[_]:v,[D]:400},[$],[0]];I.registerError(ze,H);var We=[-3,p,_t,{[C]:["IDPRejectedClaim",403],[_]:v,[D]:403},[$],[0]];I.registerError(We,j);var Me=[-3,p,Dt,{[C]:["InvalidIdentityToken",400],[_]:v,[D]:400},[$],[0]];I.registerError(Me,K);var Le=[-3,p,kt,{[C]:["MalformedPolicyDocument",400],[_]:v,[D]:400},[$],[0]];I.registerError(Le,L);var Oe=[-3,p,Ot,{[C]:["PackedPolicyTooLarge",400],[_]:v,[D]:400},[$],[0]];I.registerError(Oe,O);var Fe=[-3,p,jt,{[C]:["RegionDisabledException",403],[_]:v,[D]:403},[$],[0]];I.registerError(Fe,F);const je=[ke,I];var ns=[0,p,es,8,0],is=[0,p,ts,8,0],Y=[3,p,X,0,[Et,gt],[0,0],2],Ke=[3,p,St,0,[_e,De,Ce,Ie,xe,qt,Gt,It,Vt,Bt,J,Ut],[0,0,()=>Xe,0,1,()=>as,64,0,0,0,0,()=>rs],2],He=[3,p,Pt,0,[Z,X,ve,J],[[()=>ee,0],()=>Y,1,0]],Ve=[3,p,At,0,[_e,De,Jt,Lt,Ce,Ie,xe],[0,0,[()=>is,0],0,()=>Xe,0,1],3],Qe=[3,p,wt,0,[Z,Ht,X,ve,Ft,Tt,J],[[()=>ee,0],0,()=>Y,1,0,0,0]],ee=[3,p,Z,0,[yt,Kt,Qt,xt],[0,[()=>ns,0],0,4],4],qe=[3,p,Mt,0,[Yt],[0]],Be=[3,p,Wt,0,[Nt,bt],[0,0]],Ge=[3,p,Xt,0,[$t,Zt],[0,0],2],Xe=[1,p,ss,0,()=>qe],rs=[1,p,zt,0,()=>Be],as=[1,p,os,0,()=>Ge],Ze=[9,p,ft,0,()=>Ke,()=>He],cs=[9,p,Rt,0,()=>Ve,()=>Qe];const ds=s=>({apiVersion:"2011-06-15",base64Decoder:s?.base64Decoder??b.fromBase64,base64Encoder:s?.base64Encoder??b.toBase64,disableHostPrefix:s?.disableHostPrefix??!1,endpointProvider:s?.endpointProvider??ht,extensions:s?.extensions??[],httpAuthSchemeProvider:s?.httpAuthSchemeProvider??it,httpAuthSchemes:s?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new o.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:e=>e.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new he.NoAuthSigner}],logger:s?.logger??new o.NoOpLogger,protocol:s?.protocol??tt,protocolSettings:s?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:je,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:s?.serviceId??"STS",urlParser:s?.urlParser??o.parseUrl,utf8Decoder:s?.utf8Decoder??b.fromUtf8,utf8Encoder:s?.utf8Encoder??b.toUtf8}),ls=s=>{const e=o.resolveDefaultsModeConfig(s),t=()=>e().then(o.loadConfigsForDefaultMode),n=ds(s);return{...n,...s,runtime:"browser",defaultsMode:e,bodyLengthChecker:s?.bodyLengthChecker??o.calculateBodyLength,credentialDefaultProvider:s?.credentialDefaultProvider??(i=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:s?.defaultUserAgentProvider??o.createDefaultUserAgentProvider({serviceId:n.serviceId,clientVersion:lt.version}),maxAttempts:s?.maxAttempts??o.DEFAULT_MAX_ATTEMPTS,region:s?.region??o.invalidProvider("Region is missing"),requestHandler:b.FetchHttpHandler.create(s?.requestHandler??t),retryMode:s?.retryMode??(async()=>(await t()).retryMode||o.DEFAULT_RETRY_MODE),sha256:s?.sha256??o.Sha256,streamCollector:s?.streamCollector??b.streamCollector,useDualstackEndpoint:s?.useDualstackEndpoint??(()=>Promise.resolve(o.DEFAULT_USE_DUALSTACK_ENDPOINT)),useFipsEndpoint:s?.useFipsEndpoint??(()=>Promise.resolve(o.DEFAULT_USE_FIPS_ENDPOINT))}},us=s=>{const e=s.httpAuthSchemes;let t=s.httpAuthSchemeProvider,n=s.credentials;return{setHttpAuthScheme(i){const m=e.findIndex(l=>l.schemeId===i.schemeId);m===-1?e.push(i):e.splice(m,1,i)},httpAuthSchemes(){return e},setHttpAuthSchemeProvider(i){t=i},httpAuthSchemeProvider(){return t},setCredentials(i){n=i},credentials(){return n}}},ps=s=>({httpAuthSchemes:s.httpAuthSchemes(),httpAuthSchemeProvider:s.httpAuthSchemeProvider(),credentials:s.credentials()}),ms=(s,e)=>{const t=Object.assign(o.getAwsRegionExtensionConfiguration(s),o.getDefaultExtensionConfiguration(s),o.getHttpHandlerExtensionConfiguration(s),us(s));return e.forEach(n=>n.configure(t)),Object.assign(s,o.resolveAwsRegionExtensionConfiguration(t),o.resolveDefaultRuntimeConfig(t),o.resolveHttpHandlerRuntimeConfig(t),ps(t))};class te extends o.Client{config;constructor(...[e]){const t=ls(e||{});super(t),this.initConfig=t;const n=ct(t),i=o.resolveUserAgentConfig(n),m=o.resolveRetryConfig(i),l=o.resolveRegionConfig(m),d=o.resolveHostHeaderConfig(l),h=o.resolveEndpointConfig(d),g=at(h),R=ms(g,e?.extensions||[]);this.config=R,this.middlewareStack.use(o.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(o.getUserAgentPlugin(this.config)),this.middlewareStack.use(o.getRetryPlugin(this.config)),this.middlewareStack.use(o.getContentLengthPlugin(this.config)),this.middlewareStack.use(o.getHostHeaderPlugin(this.config)),this.middlewareStack.use(o.getLoggerPlugin(this.config)),this.middlewareStack.use(o.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(o.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:st,identityProviderConfigProvider:async E=>new o.DefaultIdentityProviderConfig({"aws.auth#sigv4":E.credentials})})),this.middlewareStack.use(o.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class Je extends o.Command.classBuilder().ep(ge).m(function(e,t,n,i){return[o.getEndpointPlugin(n,e.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Ze).build(){}const hs=Object.freeze(Object.defineProperty({__proto__:null,AssumeRoleCommand:Je,STSClient:te},Symbol.toStringTag,{value:"Module"}));exports.AssumeRole$=Ze;exports.AssumeRoleCommand=Je;exports.AssumeRoleRequest$=Ke;exports.AssumeRoleResponse$=He;exports.AssumeRoleWithWebIdentity$=cs;exports.AssumeRoleWithWebIdentityRequest$=Ve;exports.AssumeRoleWithWebIdentityResponse$=Qe;exports.AssumedRoleUser$=Y;exports.Credentials$=ee;exports.ExpiredTokenException=M;exports.ExpiredTokenException$=Ue;exports.IDPCommunicationErrorException=H;exports.IDPCommunicationErrorException$=ze;exports.IDPRejectedClaimException=j;exports.IDPRejectedClaimException$=We;exports.InvalidIdentityTokenException=K;exports.InvalidIdentityTokenException$=Me;exports.MalformedPolicyDocumentException=L;exports.MalformedPolicyDocumentException$=Le;exports.PackedPolicyTooLargeException=O;exports.PackedPolicyTooLargeException$=Oe;exports.PolicyDescriptorType$=qe;exports.ProvidedContext$=Be;exports.RegionDisabledException=F;exports.RegionDisabledException$=Fe;exports.STSClient=te;exports.STSServiceException=A;exports.STSServiceException$=Ne;exports.Tag$=Ge;exports.commonParams=ge;exports.errorTypeRegistries=je;exports.loadSts=hs;
|