dynamic-mui 4.0.1 → 4.0.2
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/dynamic-mui.cjs.js +1 -1
- package/dist/dynamic-mui.es.js +4 -4
- package/dist/index-BJUf5iG7.js +1 -0
- package/dist/index-CZwPjzNR.js +428 -0
- package/dist/index-DueLYDEh.mjs +165 -0
- package/dist/{index-C6FETa-1.mjs → index-Nx4sGg5x.mjs} +32173 -31554
- package/dist/loadCognitoIdentity-aCnxH9ka.mjs +834 -0
- package/dist/loadCognitoIdentity-nV_2nvxn.js +1 -0
- package/package.json +15 -12
- package/dist/index-BmRDKUhx.js +0 -1
- package/dist/index-D2FS0pfd.js +0 -446
- package/dist/index-sj0peQxt.mjs +0 -153
- package/dist/loadCognitoIdentity-Ci_Avy-k.js +0 -1
- package/dist/loadCognitoIdentity-LoAuduOp.mjs +0 -879
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
import { H as Se, N as R, a as Ee, c as $, b as C, t as re, S as j, U as Ie, f as ne, L as ie, d as oe, p as we, e as xe, g as Ce, h as F, i as be, v as Pe, P as _e, j as Re, r as Ae, n as ae, k as ve, B as De, E as ke, l as Te, m as Ne, o as ze, q as Me, T as ce, s as Oe, u as $e, w as Fe, A as je, x as Le, y as Ue, z as He, D as Ge, C as Je, F as qe, G as Be, I as Ke, J as Ve, K as Qe, M as We, O as Xe, Q as Ze, R as Ye, V as et, W as tt, X as st, Y as rt, Z as nt, _ as it, $ as ot, a0 as at, a1 as ct, a2 as dt, a3 as ut, a4 as pt, a5 as ht, a6 as ft, a7 as lt, a8 as mt, a9 as gt, aa as yt, ab as St, ac as Et, ad as de, ae as ue } from "./index-Nx4sGg5x.mjs";
|
|
2
|
+
class It extends Se {
|
|
3
|
+
async serializeRequest(t, e, r) {
|
|
4
|
+
const n = this.serializer, o = {}, i = {}, c = await r.endpoint(), a = R.of(t?.input), p = a.getSchema();
|
|
5
|
+
let l;
|
|
6
|
+
const d = e && typeof e == "object" ? e : {}, u = new Ee({
|
|
7
|
+
protocol: "",
|
|
8
|
+
hostname: "",
|
|
9
|
+
port: void 0,
|
|
10
|
+
path: "/",
|
|
11
|
+
fragment: void 0,
|
|
12
|
+
query: o,
|
|
13
|
+
headers: i,
|
|
14
|
+
body: void 0
|
|
15
|
+
});
|
|
16
|
+
if (c && (this.updateServiceEndpoint(u, c), this.setHostPrefix(u, t, d)), d) {
|
|
17
|
+
const h = a.getEventStreamMember();
|
|
18
|
+
if (h) {
|
|
19
|
+
if (d[h]) {
|
|
20
|
+
const m = {};
|
|
21
|
+
for (const [x, N] of a.structIterator())
|
|
22
|
+
x !== h && d[x] && (n.write(N, d[x]), m[x] = n.flush());
|
|
23
|
+
l = await this.serializeEventStream({
|
|
24
|
+
eventStream: d[h],
|
|
25
|
+
requestSchema: a,
|
|
26
|
+
initialRequest: m
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
} else
|
|
30
|
+
n.write(p, d), l = n.flush();
|
|
31
|
+
}
|
|
32
|
+
return u.headers = Object.assign(u.headers, i), u.query = o, u.body = l, u.method = "POST", u;
|
|
33
|
+
}
|
|
34
|
+
async deserializeResponse(t, e, r) {
|
|
35
|
+
const n = this.deserializer, o = R.of(t.output), i = {};
|
|
36
|
+
if (r.statusCode >= 300) {
|
|
37
|
+
const a = await $(r.body, e);
|
|
38
|
+
throw a.byteLength > 0 && Object.assign(i, await n.read(15, a)), await this.handleError(t, e, r, i, this.deserializeMetadata(r)), new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
39
|
+
}
|
|
40
|
+
for (const a in r.headers) {
|
|
41
|
+
const p = r.headers[a];
|
|
42
|
+
delete r.headers[a], r.headers[a.toLowerCase()] = p;
|
|
43
|
+
}
|
|
44
|
+
const c = o.getEventStreamMember();
|
|
45
|
+
if (c)
|
|
46
|
+
i[c] = await this.deserializeEventStream({
|
|
47
|
+
response: r,
|
|
48
|
+
responseSchema: o,
|
|
49
|
+
initialResponseContainer: i
|
|
50
|
+
});
|
|
51
|
+
else {
|
|
52
|
+
const a = await $(r.body, e);
|
|
53
|
+
a.byteLength > 0 && Object.assign(i, await n.read(o, a));
|
|
54
|
+
}
|
|
55
|
+
return i.$metadata = this.deserializeMetadata(r), i;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
class wt {
|
|
59
|
+
async sign(t, e, r) {
|
|
60
|
+
return t;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function xt(s, t, e) {
|
|
64
|
+
if (e?.source) {
|
|
65
|
+
const r = e.source;
|
|
66
|
+
if (typeof t == "number" && (t > Number.MAX_SAFE_INTEGER || t < Number.MIN_SAFE_INTEGER || r !== String(t)))
|
|
67
|
+
return r.includes(".") ? new C(r, "bigDecimal") : BigInt(r);
|
|
68
|
+
}
|
|
69
|
+
return t;
|
|
70
|
+
}
|
|
71
|
+
const Ct = (s, t) => $(s, t).then((e) => (t?.utf8Encoder ?? re)(e)), bt = (s, t) => Ct(s, t).then((e) => {
|
|
72
|
+
if (e.length)
|
|
73
|
+
try {
|
|
74
|
+
return JSON.parse(e);
|
|
75
|
+
} catch (r) {
|
|
76
|
+
throw r?.name === "SyntaxError" && Object.defineProperty(r, "$responseBodyText", {
|
|
77
|
+
value: e
|
|
78
|
+
}), r;
|
|
79
|
+
}
|
|
80
|
+
return {};
|
|
81
|
+
}), W = (s, t) => Object.keys(s).find((e) => e.toLowerCase() === t.toLowerCase()), z = (s) => {
|
|
82
|
+
let t = s;
|
|
83
|
+
return typeof t == "number" && (t = t.toString()), t.indexOf(",") >= 0 && (t = t.split(",")[0]), t.indexOf(":") >= 0 && (t = t.split(":")[0]), t.indexOf("#") >= 0 && (t = t.split("#")[1]), t;
|
|
84
|
+
}, Pt = (s, t) => {
|
|
85
|
+
const e = W(s.headers, "x-amzn-errortype");
|
|
86
|
+
if (e !== void 0)
|
|
87
|
+
return z(s.headers[e]);
|
|
88
|
+
if (t && typeof t == "object") {
|
|
89
|
+
const r = W(t, "code");
|
|
90
|
+
if (r && t[r] !== void 0)
|
|
91
|
+
return z(t[r]);
|
|
92
|
+
if (t.__type !== void 0)
|
|
93
|
+
return z(t.__type);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
class _t extends j {
|
|
97
|
+
settings;
|
|
98
|
+
constructor(t) {
|
|
99
|
+
super(), this.settings = t;
|
|
100
|
+
}
|
|
101
|
+
async read(t, e) {
|
|
102
|
+
return this._read(t, typeof e == "string" ? JSON.parse(e, xt) : await bt(e, this.serdeContext));
|
|
103
|
+
}
|
|
104
|
+
readObject(t, e) {
|
|
105
|
+
return this._read(t, e);
|
|
106
|
+
}
|
|
107
|
+
_read(t, e) {
|
|
108
|
+
const r = e !== null && typeof e == "object", n = R.of(t);
|
|
109
|
+
if (r) {
|
|
110
|
+
if (n.isStructSchema()) {
|
|
111
|
+
const i = e, c = n.isUnionSchema(), a = {};
|
|
112
|
+
let p;
|
|
113
|
+
const { jsonName: l } = this.settings;
|
|
114
|
+
l && (p = {});
|
|
115
|
+
let d;
|
|
116
|
+
c && (d = new Ie(i, a));
|
|
117
|
+
for (const [u, h] of n.structIterator()) {
|
|
118
|
+
let m = u;
|
|
119
|
+
l && (m = h.getMergedTraits().jsonName ?? m, p[m] = u), c && d.mark(m), i[m] != null && (a[u] = this._read(h, i[m]));
|
|
120
|
+
}
|
|
121
|
+
if (c)
|
|
122
|
+
d.writeUnknown();
|
|
123
|
+
else if (typeof i.__type == "string")
|
|
124
|
+
for (const u in i) {
|
|
125
|
+
const h = i[u], m = l ? p[u] ?? u : u;
|
|
126
|
+
m in a || (a[m] = h);
|
|
127
|
+
}
|
|
128
|
+
return a;
|
|
129
|
+
}
|
|
130
|
+
if (Array.isArray(e) && n.isListSchema()) {
|
|
131
|
+
const i = n.getValueSchema(), c = [];
|
|
132
|
+
for (const a of e)
|
|
133
|
+
c.push(this._read(i, a));
|
|
134
|
+
return c;
|
|
135
|
+
}
|
|
136
|
+
if (n.isMapSchema()) {
|
|
137
|
+
const i = n.getValueSchema(), c = {};
|
|
138
|
+
for (const a in e)
|
|
139
|
+
c[a] = this._read(i, e[a]);
|
|
140
|
+
return c;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (n.isBlobSchema() && typeof e == "string")
|
|
144
|
+
return ne(e);
|
|
145
|
+
const o = n.getMergedTraits().mediaType;
|
|
146
|
+
if (n.isStringSchema() && typeof e == "string" && o)
|
|
147
|
+
return o === "application/json" || o.endsWith("+json") ? ie.from(e) : e;
|
|
148
|
+
if (n.isTimestampSchema() && e != null)
|
|
149
|
+
switch (oe(n, this.settings)) {
|
|
150
|
+
case 5:
|
|
151
|
+
return Ce(e);
|
|
152
|
+
case 6:
|
|
153
|
+
return xe(e);
|
|
154
|
+
case 7:
|
|
155
|
+
return we(e);
|
|
156
|
+
default:
|
|
157
|
+
return console.warn("Missing timestamp format, parsing value with Date constructor:", e), new Date(e);
|
|
158
|
+
}
|
|
159
|
+
if (n.isBigIntegerSchema() && (typeof e == "number" || typeof e == "string"))
|
|
160
|
+
return BigInt(e);
|
|
161
|
+
if (n.isBigDecimalSchema() && e != null) {
|
|
162
|
+
if (e instanceof C)
|
|
163
|
+
return e;
|
|
164
|
+
const i = e;
|
|
165
|
+
return i.type === "bigDecimal" && "string" in i ? new C(i.string, i.type) : new C(String(e), "bigDecimal");
|
|
166
|
+
}
|
|
167
|
+
if (n.isNumericSchema() && typeof e == "string") {
|
|
168
|
+
switch (e) {
|
|
169
|
+
case "Infinity":
|
|
170
|
+
return 1 / 0;
|
|
171
|
+
case "-Infinity":
|
|
172
|
+
return -1 / 0;
|
|
173
|
+
case "NaN":
|
|
174
|
+
return NaN;
|
|
175
|
+
}
|
|
176
|
+
return e;
|
|
177
|
+
}
|
|
178
|
+
if (n.isDocumentSchema())
|
|
179
|
+
if (r) {
|
|
180
|
+
const i = Array.isArray(e) ? [] : {};
|
|
181
|
+
for (const c in e) {
|
|
182
|
+
const a = e[c];
|
|
183
|
+
a instanceof C ? i[c] = a : i[c] = this._read(n, a);
|
|
184
|
+
}
|
|
185
|
+
return i;
|
|
186
|
+
} else
|
|
187
|
+
return structuredClone(e);
|
|
188
|
+
return e;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
const X = "Ν";
|
|
192
|
+
class Rt {
|
|
193
|
+
values = /* @__PURE__ */ new Map();
|
|
194
|
+
counter = 0;
|
|
195
|
+
stage = 0;
|
|
196
|
+
createReplacer() {
|
|
197
|
+
if (this.stage === 1)
|
|
198
|
+
throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.");
|
|
199
|
+
if (this.stage === 2)
|
|
200
|
+
throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
|
|
201
|
+
return this.stage = 1, (t, e) => {
|
|
202
|
+
if (e instanceof C) {
|
|
203
|
+
const r = `${X + "nv" + this.counter++}_` + e.string;
|
|
204
|
+
return this.values.set(`"${r}"`, e.string), r;
|
|
205
|
+
}
|
|
206
|
+
if (typeof e == "bigint") {
|
|
207
|
+
const r = e.toString(), n = `${X + "b" + this.counter++}_` + r;
|
|
208
|
+
return this.values.set(`"${n}"`, r), n;
|
|
209
|
+
}
|
|
210
|
+
return e;
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
replaceInJson(t) {
|
|
214
|
+
if (this.stage === 0)
|
|
215
|
+
throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");
|
|
216
|
+
if (this.stage === 2)
|
|
217
|
+
throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
|
|
218
|
+
if (this.stage = 2, this.counter === 0)
|
|
219
|
+
return t;
|
|
220
|
+
for (const [e, r] of this.values)
|
|
221
|
+
t = t.replace(e, r);
|
|
222
|
+
return t;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
class At extends j {
|
|
226
|
+
settings;
|
|
227
|
+
buffer;
|
|
228
|
+
useReplacer = !1;
|
|
229
|
+
rootSchema;
|
|
230
|
+
constructor(t) {
|
|
231
|
+
super(), this.settings = t;
|
|
232
|
+
}
|
|
233
|
+
write(t, e) {
|
|
234
|
+
this.rootSchema = R.of(t), this.buffer = this._write(this.rootSchema, e);
|
|
235
|
+
}
|
|
236
|
+
flush() {
|
|
237
|
+
const { rootSchema: t, useReplacer: e } = this;
|
|
238
|
+
if (this.rootSchema = void 0, this.useReplacer = !1, t?.isStructSchema() || t?.isDocumentSchema()) {
|
|
239
|
+
if (!e)
|
|
240
|
+
return JSON.stringify(this.buffer);
|
|
241
|
+
const r = new Rt();
|
|
242
|
+
return r.replaceInJson(JSON.stringify(this.buffer, r.createReplacer(), 0));
|
|
243
|
+
}
|
|
244
|
+
return this.buffer;
|
|
245
|
+
}
|
|
246
|
+
writeDiscriminatedDocument(t, e) {
|
|
247
|
+
this.write(t, e), typeof this.buffer == "object" && (this.buffer.__type = R.of(t).getName(!0));
|
|
248
|
+
}
|
|
249
|
+
_write(t, e, r) {
|
|
250
|
+
const n = e !== null && typeof e == "object", o = R.of(t);
|
|
251
|
+
if (n) {
|
|
252
|
+
if (o.isStructSchema()) {
|
|
253
|
+
const i = e, c = {}, { jsonName: a } = this.settings;
|
|
254
|
+
let p;
|
|
255
|
+
a && (p = {});
|
|
256
|
+
let l = 0;
|
|
257
|
+
for (const [d, u] of o.structIterator()) {
|
|
258
|
+
const h = this._write(u, i[d], o);
|
|
259
|
+
if (h !== void 0) {
|
|
260
|
+
let m = d;
|
|
261
|
+
a && (m = u.getMergedTraits().jsonName ?? d, p[d] = m), c[m] = h, l++;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
if (o.isUnionSchema() && l === 0) {
|
|
265
|
+
const { $unknown: d } = i;
|
|
266
|
+
if (Array.isArray(d)) {
|
|
267
|
+
const [u, h] = d;
|
|
268
|
+
c[u] = this._write(15, h);
|
|
269
|
+
}
|
|
270
|
+
} else if (typeof i.__type == "string")
|
|
271
|
+
for (const d in i) {
|
|
272
|
+
const u = i[d], h = a ? p[d] ?? d : d;
|
|
273
|
+
h in c || (c[h] = this._write(15, u));
|
|
274
|
+
}
|
|
275
|
+
return c;
|
|
276
|
+
}
|
|
277
|
+
if (Array.isArray(e) && o.isListSchema()) {
|
|
278
|
+
const i = o.getValueSchema(), c = [], a = !!o.getMergedTraits().sparse;
|
|
279
|
+
for (const p of e)
|
|
280
|
+
(a || p != null) && c.push(this._write(i, p));
|
|
281
|
+
return c;
|
|
282
|
+
}
|
|
283
|
+
if (o.isMapSchema()) {
|
|
284
|
+
const i = o.getValueSchema(), c = {}, a = !!o.getMergedTraits().sparse;
|
|
285
|
+
for (const p in e) {
|
|
286
|
+
const l = e[p];
|
|
287
|
+
(a || l != null) && (c[p] = this._write(i, l));
|
|
288
|
+
}
|
|
289
|
+
return c;
|
|
290
|
+
}
|
|
291
|
+
if (e instanceof Uint8Array && (o.isBlobSchema() || o.isDocumentSchema()))
|
|
292
|
+
return o === this.rootSchema ? e : (this.serdeContext?.base64Encoder ?? F)(e);
|
|
293
|
+
if (e instanceof Date && (o.isTimestampSchema() || o.isDocumentSchema()))
|
|
294
|
+
switch (oe(o, this.settings)) {
|
|
295
|
+
case 5:
|
|
296
|
+
return e.toISOString().replace(".000Z", "Z");
|
|
297
|
+
case 6:
|
|
298
|
+
return be(e);
|
|
299
|
+
case 7:
|
|
300
|
+
return e.getTime() / 1e3;
|
|
301
|
+
default:
|
|
302
|
+
return console.warn("Missing timestamp format, using epoch seconds", e), e.getTime() / 1e3;
|
|
303
|
+
}
|
|
304
|
+
e instanceof C && (this.useReplacer = !0);
|
|
305
|
+
}
|
|
306
|
+
if (!(e === null && r?.isStructSchema())) {
|
|
307
|
+
if (o.isStringSchema()) {
|
|
308
|
+
if (typeof e > "u" && o.isIdempotencyToken())
|
|
309
|
+
return Pe();
|
|
310
|
+
const i = o.getMergedTraits().mediaType;
|
|
311
|
+
return e != null && i && (i === "application/json" || i.endsWith("+json")) ? ie.from(e) : e;
|
|
312
|
+
}
|
|
313
|
+
if (typeof e == "number" && o.isNumericSchema())
|
|
314
|
+
return Math.abs(e) === 1 / 0 || isNaN(e) ? String(e) : e;
|
|
315
|
+
if (typeof e == "string" && o.isBlobSchema())
|
|
316
|
+
return o === this.rootSchema ? e : (this.serdeContext?.base64Encoder ?? F)(e);
|
|
317
|
+
if (typeof e == "bigint" && (this.useReplacer = !0), o.isDocumentSchema())
|
|
318
|
+
if (n) {
|
|
319
|
+
const i = Array.isArray(e) ? [] : {};
|
|
320
|
+
for (const c in e) {
|
|
321
|
+
const a = e[c];
|
|
322
|
+
a instanceof C ? (this.useReplacer = !0, i[c] = a) : i[c] = this._write(o, a);
|
|
323
|
+
}
|
|
324
|
+
return i;
|
|
325
|
+
} else
|
|
326
|
+
return structuredClone(e);
|
|
327
|
+
return e;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
class vt extends j {
|
|
332
|
+
settings;
|
|
333
|
+
constructor(t) {
|
|
334
|
+
super(), this.settings = t;
|
|
335
|
+
}
|
|
336
|
+
createSerializer() {
|
|
337
|
+
const t = new At(this.settings);
|
|
338
|
+
return t.setSerdeContext(this.serdeContext), t;
|
|
339
|
+
}
|
|
340
|
+
createDeserializer() {
|
|
341
|
+
const t = new _t(this.settings);
|
|
342
|
+
return t.setSerdeContext(this.serdeContext), t;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
class Dt extends It {
|
|
346
|
+
serializer;
|
|
347
|
+
deserializer;
|
|
348
|
+
serviceTarget;
|
|
349
|
+
codec;
|
|
350
|
+
mixin;
|
|
351
|
+
awsQueryCompatible;
|
|
352
|
+
constructor({ defaultNamespace: t, errorTypeRegistries: e, serviceTarget: r, awsQueryCompatible: n, jsonCodec: o }) {
|
|
353
|
+
super({
|
|
354
|
+
defaultNamespace: t,
|
|
355
|
+
errorTypeRegistries: e
|
|
356
|
+
}), this.serviceTarget = r, this.codec = o ?? new vt({
|
|
357
|
+
timestampFormat: {
|
|
358
|
+
useTrait: !0,
|
|
359
|
+
default: 7
|
|
360
|
+
},
|
|
361
|
+
jsonName: !1
|
|
362
|
+
}), this.serializer = this.codec.createSerializer(), this.deserializer = this.codec.createDeserializer(), this.awsQueryCompatible = !!n, this.mixin = new _e(this.awsQueryCompatible);
|
|
363
|
+
}
|
|
364
|
+
async serializeRequest(t, e, r) {
|
|
365
|
+
const n = await super.serializeRequest(t, e, r);
|
|
366
|
+
return n.path.endsWith("/") || (n.path += "/"), n.headers["content-type"] = `application/x-amz-json-${this.getJsonRpcVersion()}`, n.headers["x-amz-target"] = `${this.serviceTarget}.${t.name}`, this.awsQueryCompatible && (n.headers["x-amzn-query-mode"] = "true"), (Re(t.input) === "unit" || !n.body) && (n.body = "{}"), n;
|
|
367
|
+
}
|
|
368
|
+
getPayloadCodec() {
|
|
369
|
+
return this.codec;
|
|
370
|
+
}
|
|
371
|
+
async handleError(t, e, r, n, o) {
|
|
372
|
+
this.awsQueryCompatible && this.mixin.setQueryCompatError(n, r);
|
|
373
|
+
const i = Pt(r, n) ?? "Unknown";
|
|
374
|
+
this.mixin.compose(this.compositeErrorRegistry, i, this.options.defaultNamespace);
|
|
375
|
+
const { errorSchema: c, errorMetadata: a } = await this.mixin.getErrorSchemaOrThrowBaseException(i, this.options.defaultNamespace, r, n, o, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : void 0), p = R.of(c), l = n.message ?? n.Message ?? "UnknownError", d = this.compositeErrorRegistry.getErrorCtor(c) ?? Error, u = new d(l), h = {}, m = this.codec.createDeserializer();
|
|
376
|
+
for (const [x, N] of p.structIterator())
|
|
377
|
+
n[x] != null && (h[x] = m.readObject(N, n[x]));
|
|
378
|
+
throw this.awsQueryCompatible && this.mixin.queryCompatOutput(n, h), this.mixin.decorateServiceException(Object.assign(u, a, {
|
|
379
|
+
$fault: p.getMergedTraits().error,
|
|
380
|
+
message: l
|
|
381
|
+
}, h), n);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
class kt extends Dt {
|
|
385
|
+
constructor({ defaultNamespace: t, errorTypeRegistries: e, serviceTarget: r, awsQueryCompatible: n, jsonCodec: o }) {
|
|
386
|
+
super({
|
|
387
|
+
defaultNamespace: t,
|
|
388
|
+
errorTypeRegistries: e,
|
|
389
|
+
serviceTarget: r,
|
|
390
|
+
awsQueryCompatible: n,
|
|
391
|
+
jsonCodec: o
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
getShapeId() {
|
|
395
|
+
return "aws.protocols#awsJson1_1";
|
|
396
|
+
}
|
|
397
|
+
getJsonRpcVersion() {
|
|
398
|
+
return "1.1";
|
|
399
|
+
}
|
|
400
|
+
getDefaultContentType() {
|
|
401
|
+
return "application/x-amz-json-1.1";
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
const Tt = async (s, t, e) => ({
|
|
405
|
+
operation: ve(t).operation,
|
|
406
|
+
region: await ae(s.region)() || (() => {
|
|
407
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
408
|
+
})()
|
|
409
|
+
});
|
|
410
|
+
function Nt(s) {
|
|
411
|
+
return {
|
|
412
|
+
schemeId: "aws.auth#sigv4",
|
|
413
|
+
signingProperties: {
|
|
414
|
+
name: "cognito-identity",
|
|
415
|
+
region: s.region
|
|
416
|
+
},
|
|
417
|
+
propertiesExtractor: (t, e) => ({
|
|
418
|
+
signingProperties: {
|
|
419
|
+
config: t,
|
|
420
|
+
context: e
|
|
421
|
+
}
|
|
422
|
+
})
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
function Z(s) {
|
|
426
|
+
return {
|
|
427
|
+
schemeId: "smithy.api#noAuth"
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
const zt = (s) => {
|
|
431
|
+
const t = [];
|
|
432
|
+
switch (s.operation) {
|
|
433
|
+
case "GetCredentialsForIdentity": {
|
|
434
|
+
t.push(Z());
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
case "GetId": {
|
|
438
|
+
t.push(Z());
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
default:
|
|
442
|
+
t.push(Nt(s));
|
|
443
|
+
}
|
|
444
|
+
return t;
|
|
445
|
+
}, Mt = (s) => {
|
|
446
|
+
const t = Ae(s);
|
|
447
|
+
return Object.assign(t, {
|
|
448
|
+
authSchemePreference: ae(s.authSchemePreference ?? [])
|
|
449
|
+
});
|
|
450
|
+
}, Ot = (s) => Object.assign(s, {
|
|
451
|
+
useDualstackEndpoint: s.useDualstackEndpoint ?? !1,
|
|
452
|
+
useFipsEndpoint: s.useFipsEndpoint ?? !1,
|
|
453
|
+
defaultSigningName: "cognito-identity"
|
|
454
|
+
}), pe = {
|
|
455
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
456
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
457
|
+
Region: { type: "builtInParams", name: "region" },
|
|
458
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
459
|
+
}, $t = "3.997.1", Ft = {
|
|
460
|
+
version: $t
|
|
461
|
+
}, D = "ref", _ = -1, k = !0, Y = "isSet", he = "PartitionResult", T = "booleanEquals", M = "getAttr", A = "stringEquals", ee = { [D]: "Endpoint" }, O = { [D]: he }, v = { [D]: "Region" }, S = {}, te = [v], se = {
|
|
462
|
+
conditions: [
|
|
463
|
+
[Y, [ee]],
|
|
464
|
+
[Y, te],
|
|
465
|
+
["aws.partition", te, he],
|
|
466
|
+
[T, [{ [D]: "UseFIPS" }, k]],
|
|
467
|
+
[T, [{ fn: M, argv: [O, "supportsFIPS"] }, k]],
|
|
468
|
+
[T, [{ [D]: "UseDualStack" }, k]],
|
|
469
|
+
[T, [{ fn: M, argv: [O, "supportsDualStack"] }, k]],
|
|
470
|
+
[A, [{ fn: M, argv: [O, "name"] }, "aws"]],
|
|
471
|
+
[A, [v, "us-east-1"]],
|
|
472
|
+
[A, [v, "us-east-2"]],
|
|
473
|
+
[A, [v, "us-west-1"]],
|
|
474
|
+
[A, [v, "us-west-2"]]
|
|
475
|
+
],
|
|
476
|
+
results: [
|
|
477
|
+
[_],
|
|
478
|
+
[_, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
479
|
+
[_, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
480
|
+
[ee, S],
|
|
481
|
+
["https://cognito-identity-fips.us-east-1.amazonaws.com", S],
|
|
482
|
+
["https://cognito-identity-fips.us-east-2.amazonaws.com", S],
|
|
483
|
+
["https://cognito-identity-fips.us-west-1.amazonaws.com", S],
|
|
484
|
+
["https://cognito-identity-fips.us-west-2.amazonaws.com", S],
|
|
485
|
+
["https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
|
|
486
|
+
[_, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
487
|
+
["https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}", S],
|
|
488
|
+
[_, "FIPS is enabled but this partition does not support FIPS"],
|
|
489
|
+
["https://cognito-identity.{Region}.amazonaws.com", S],
|
|
490
|
+
["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", S],
|
|
491
|
+
[_, "DualStack is enabled but this partition does not support DualStack"],
|
|
492
|
+
["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", S],
|
|
493
|
+
[_, "Invalid Configuration: Missing Region"]
|
|
494
|
+
]
|
|
495
|
+
}, jt = 2, g = 1e8, Lt = new Int32Array([
|
|
496
|
+
-1,
|
|
497
|
+
1,
|
|
498
|
+
-1,
|
|
499
|
+
0,
|
|
500
|
+
17,
|
|
501
|
+
3,
|
|
502
|
+
1,
|
|
503
|
+
4,
|
|
504
|
+
g + 16,
|
|
505
|
+
2,
|
|
506
|
+
5,
|
|
507
|
+
g + 16,
|
|
508
|
+
3,
|
|
509
|
+
9,
|
|
510
|
+
6,
|
|
511
|
+
5,
|
|
512
|
+
7,
|
|
513
|
+
g + 15,
|
|
514
|
+
6,
|
|
515
|
+
8,
|
|
516
|
+
g + 14,
|
|
517
|
+
7,
|
|
518
|
+
g + 12,
|
|
519
|
+
g + 13,
|
|
520
|
+
4,
|
|
521
|
+
11,
|
|
522
|
+
10,
|
|
523
|
+
5,
|
|
524
|
+
g + 9,
|
|
525
|
+
g + 11,
|
|
526
|
+
5,
|
|
527
|
+
12,
|
|
528
|
+
g + 10,
|
|
529
|
+
6,
|
|
530
|
+
13,
|
|
531
|
+
g + 9,
|
|
532
|
+
8,
|
|
533
|
+
g + 4,
|
|
534
|
+
14,
|
|
535
|
+
9,
|
|
536
|
+
g + 5,
|
|
537
|
+
15,
|
|
538
|
+
10,
|
|
539
|
+
g + 6,
|
|
540
|
+
16,
|
|
541
|
+
11,
|
|
542
|
+
g + 7,
|
|
543
|
+
g + 8,
|
|
544
|
+
3,
|
|
545
|
+
g + 1,
|
|
546
|
+
18,
|
|
547
|
+
5,
|
|
548
|
+
g + 2,
|
|
549
|
+
g + 3
|
|
550
|
+
]), Ut = De.from(Lt, jt, se.conditions, se.results), Ht = new ke({
|
|
551
|
+
size: 50,
|
|
552
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
553
|
+
}), Gt = (s, t = {}) => Ht.get(s, () => Te(Ut, {
|
|
554
|
+
endpointParams: s,
|
|
555
|
+
logger: t.logger
|
|
556
|
+
}));
|
|
557
|
+
ze.aws = Ne;
|
|
558
|
+
class y extends Me {
|
|
559
|
+
constructor(t) {
|
|
560
|
+
super(t), Object.setPrototypeOf(this, y.prototype);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
class L extends y {
|
|
564
|
+
name = "ExternalServiceException";
|
|
565
|
+
$fault = "client";
|
|
566
|
+
constructor(t) {
|
|
567
|
+
super({
|
|
568
|
+
name: "ExternalServiceException",
|
|
569
|
+
$fault: "client",
|
|
570
|
+
...t
|
|
571
|
+
}), Object.setPrototypeOf(this, L.prototype);
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
class U extends y {
|
|
575
|
+
name = "InternalErrorException";
|
|
576
|
+
$fault = "server";
|
|
577
|
+
constructor(t) {
|
|
578
|
+
super({
|
|
579
|
+
name: "InternalErrorException",
|
|
580
|
+
$fault: "server",
|
|
581
|
+
...t
|
|
582
|
+
}), Object.setPrototypeOf(this, U.prototype);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
class H extends y {
|
|
586
|
+
name = "InvalidIdentityPoolConfigurationException";
|
|
587
|
+
$fault = "client";
|
|
588
|
+
constructor(t) {
|
|
589
|
+
super({
|
|
590
|
+
name: "InvalidIdentityPoolConfigurationException",
|
|
591
|
+
$fault: "client",
|
|
592
|
+
...t
|
|
593
|
+
}), Object.setPrototypeOf(this, H.prototype);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
class G extends y {
|
|
597
|
+
name = "InvalidParameterException";
|
|
598
|
+
$fault = "client";
|
|
599
|
+
constructor(t) {
|
|
600
|
+
super({
|
|
601
|
+
name: "InvalidParameterException",
|
|
602
|
+
$fault: "client",
|
|
603
|
+
...t
|
|
604
|
+
}), Object.setPrototypeOf(this, G.prototype);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
class J extends y {
|
|
608
|
+
name = "NotAuthorizedException";
|
|
609
|
+
$fault = "client";
|
|
610
|
+
constructor(t) {
|
|
611
|
+
super({
|
|
612
|
+
name: "NotAuthorizedException",
|
|
613
|
+
$fault: "client",
|
|
614
|
+
...t
|
|
615
|
+
}), Object.setPrototypeOf(this, J.prototype);
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
class q extends y {
|
|
619
|
+
name = "ResourceConflictException";
|
|
620
|
+
$fault = "client";
|
|
621
|
+
constructor(t) {
|
|
622
|
+
super({
|
|
623
|
+
name: "ResourceConflictException",
|
|
624
|
+
$fault: "client",
|
|
625
|
+
...t
|
|
626
|
+
}), Object.setPrototypeOf(this, q.prototype);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
class B extends y {
|
|
630
|
+
name = "ResourceNotFoundException";
|
|
631
|
+
$fault = "client";
|
|
632
|
+
constructor(t) {
|
|
633
|
+
super({
|
|
634
|
+
name: "ResourceNotFoundException",
|
|
635
|
+
$fault: "client",
|
|
636
|
+
...t
|
|
637
|
+
}), Object.setPrototypeOf(this, B.prototype);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
class K extends y {
|
|
641
|
+
name = "TooManyRequestsException";
|
|
642
|
+
$fault = "client";
|
|
643
|
+
constructor(t) {
|
|
644
|
+
super({
|
|
645
|
+
name: "TooManyRequestsException",
|
|
646
|
+
$fault: "client",
|
|
647
|
+
...t
|
|
648
|
+
}), Object.setPrototypeOf(this, K.prototype);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
class V extends y {
|
|
652
|
+
name = "LimitExceededException";
|
|
653
|
+
$fault = "client";
|
|
654
|
+
constructor(t) {
|
|
655
|
+
super({
|
|
656
|
+
name: "LimitExceededException",
|
|
657
|
+
$fault: "client",
|
|
658
|
+
...t
|
|
659
|
+
}), Object.setPrototypeOf(this, V.prototype);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
const Jt = "AccountId", qt = "AccessKeyId", fe = "Credentials", Bt = "CustomRoleArn", Kt = "Expiration", Vt = "ExternalServiceException", Qt = "GetCredentialsForIdentity", Wt = "GetCredentialsForIdentityInput", Xt = "GetCredentialsForIdentityResponse", Zt = "GetId", Yt = "GetIdInput", es = "GetIdResponse", ts = "InternalErrorException", Q = "IdentityId", ss = "InvalidIdentityPoolConfigurationException", rs = "InvalidParameterException", ns = "IdentityPoolId", is = "IdentityProviderToken", le = "Logins", os = "LimitExceededException", as = "LoginsMap", cs = "NotAuthorizedException", ds = "ResourceConflictException", us = "ResourceNotFoundException", ps = "SecretKey", hs = "SecretKeyString", fs = "SessionToken", ls = "TooManyRequestsException", b = "client", I = "error", P = "httpError", w = "message", me = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity", ms = "server", f = "com.amazonaws.cognitoidentity", ge = ce.for(me);
|
|
663
|
+
var gs = [-3, me, "CognitoIdentityServiceException", 0, [], []];
|
|
664
|
+
ge.registerError(gs, y);
|
|
665
|
+
const E = ce.for(f);
|
|
666
|
+
var ys = [-3, f, Vt, { [I]: b, [P]: 400 }, [w], [0]];
|
|
667
|
+
E.registerError(ys, L);
|
|
668
|
+
var Ss = [-3, f, ts, { [I]: ms }, [w], [0]];
|
|
669
|
+
E.registerError(Ss, U);
|
|
670
|
+
var Es = [
|
|
671
|
+
-3,
|
|
672
|
+
f,
|
|
673
|
+
ss,
|
|
674
|
+
{ [I]: b, [P]: 400 },
|
|
675
|
+
[w],
|
|
676
|
+
[0]
|
|
677
|
+
];
|
|
678
|
+
E.registerError(Es, H);
|
|
679
|
+
var Is = [-3, f, rs, { [I]: b, [P]: 400 }, [w], [0]];
|
|
680
|
+
E.registerError(Is, G);
|
|
681
|
+
var ws = [-3, f, os, { [I]: b, [P]: 400 }, [w], [0]];
|
|
682
|
+
E.registerError(ws, V);
|
|
683
|
+
var xs = [-3, f, cs, { [I]: b, [P]: 403 }, [w], [0]];
|
|
684
|
+
E.registerError(xs, J);
|
|
685
|
+
var Cs = [-3, f, ds, { [I]: b, [P]: 409 }, [w], [0]];
|
|
686
|
+
E.registerError(Cs, q);
|
|
687
|
+
var bs = [-3, f, us, { [I]: b, [P]: 404 }, [w], [0]];
|
|
688
|
+
E.registerError(bs, B);
|
|
689
|
+
var Ps = [-3, f, ls, { [I]: b, [P]: 429 }, [w], [0]];
|
|
690
|
+
E.registerError(Ps, K);
|
|
691
|
+
const _s = [ge, E];
|
|
692
|
+
var Rs = [0, f, is, 8, 0], As = [0, f, hs, 8, 0], vs = [
|
|
693
|
+
3,
|
|
694
|
+
f,
|
|
695
|
+
fe,
|
|
696
|
+
0,
|
|
697
|
+
[qt, ps, fs, Kt],
|
|
698
|
+
[0, [() => As, 0], 0, 4]
|
|
699
|
+
], Ds = [
|
|
700
|
+
3,
|
|
701
|
+
f,
|
|
702
|
+
Wt,
|
|
703
|
+
0,
|
|
704
|
+
[Q, le, Bt],
|
|
705
|
+
[0, [() => ye, 0], 0],
|
|
706
|
+
1
|
|
707
|
+
], ks = [
|
|
708
|
+
3,
|
|
709
|
+
f,
|
|
710
|
+
Xt,
|
|
711
|
+
0,
|
|
712
|
+
[Q, fe],
|
|
713
|
+
[0, [() => vs, 0]]
|
|
714
|
+
], Ts = [3, f, Yt, 0, [ns, Jt, le], [0, 0, [() => ye, 0]], 1], Ns = [3, f, es, 0, [Q], [0]], ye = [2, f, as, 0, [0, 0], [() => Rs, 0]], zs = [
|
|
715
|
+
9,
|
|
716
|
+
f,
|
|
717
|
+
Qt,
|
|
718
|
+
0,
|
|
719
|
+
() => Ds,
|
|
720
|
+
() => ks
|
|
721
|
+
], Ms = [9, f, Zt, 0, () => Ts, () => Ns];
|
|
722
|
+
const Os = (s) => ({
|
|
723
|
+
apiVersion: "2014-06-30",
|
|
724
|
+
base64Decoder: s?.base64Decoder ?? ne,
|
|
725
|
+
base64Encoder: s?.base64Encoder ?? F,
|
|
726
|
+
disableHostPrefix: s?.disableHostPrefix ?? !1,
|
|
727
|
+
endpointProvider: s?.endpointProvider ?? Gt,
|
|
728
|
+
extensions: s?.extensions ?? [],
|
|
729
|
+
httpAuthSchemeProvider: s?.httpAuthSchemeProvider ?? zt,
|
|
730
|
+
httpAuthSchemes: s?.httpAuthSchemes ?? [
|
|
731
|
+
{
|
|
732
|
+
schemeId: "aws.auth#sigv4",
|
|
733
|
+
identityProvider: (t) => t.getIdentityProvider("aws.auth#sigv4"),
|
|
734
|
+
signer: new je()
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
schemeId: "smithy.api#noAuth",
|
|
738
|
+
identityProvider: (t) => t.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
739
|
+
signer: new wt()
|
|
740
|
+
}
|
|
741
|
+
],
|
|
742
|
+
logger: s?.logger ?? new Fe(),
|
|
743
|
+
protocol: s?.protocol ?? kt,
|
|
744
|
+
protocolSettings: s?.protocolSettings ?? {
|
|
745
|
+
defaultNamespace: "com.amazonaws.cognitoidentity",
|
|
746
|
+
errorTypeRegistries: _s,
|
|
747
|
+
xmlNamespace: "http://cognito-identity.amazonaws.com/doc/2014-06-30/",
|
|
748
|
+
version: "2014-06-30",
|
|
749
|
+
serviceTarget: "AWSCognitoIdentityService"
|
|
750
|
+
},
|
|
751
|
+
serviceId: s?.serviceId ?? "Cognito Identity",
|
|
752
|
+
urlParser: s?.urlParser ?? $e,
|
|
753
|
+
utf8Decoder: s?.utf8Decoder ?? Oe,
|
|
754
|
+
utf8Encoder: s?.utf8Encoder ?? re
|
|
755
|
+
}), $s = (s) => {
|
|
756
|
+
const t = Le(s), e = () => t().then(Xe), r = Os(s);
|
|
757
|
+
return {
|
|
758
|
+
...r,
|
|
759
|
+
...s,
|
|
760
|
+
runtime: "browser",
|
|
761
|
+
defaultsMode: t,
|
|
762
|
+
bodyLengthChecker: s?.bodyLengthChecker ?? qe,
|
|
763
|
+
defaultUserAgentProvider: s?.defaultUserAgentProvider ?? We({ serviceId: r.serviceId, clientVersion: Ft.version }),
|
|
764
|
+
maxAttempts: s?.maxAttempts ?? Je,
|
|
765
|
+
region: s?.region ?? Qe("Region is missing"),
|
|
766
|
+
requestHandler: Ve.create(s?.requestHandler ?? e),
|
|
767
|
+
retryMode: s?.retryMode ?? (async () => (await e()).retryMode || Ge),
|
|
768
|
+
sha256: s?.sha256 ?? He,
|
|
769
|
+
streamCollector: s?.streamCollector ?? Ue,
|
|
770
|
+
useDualstackEndpoint: s?.useDualstackEndpoint ?? (() => Promise.resolve(Ke)),
|
|
771
|
+
useFipsEndpoint: s?.useFipsEndpoint ?? (() => Promise.resolve(Be))
|
|
772
|
+
};
|
|
773
|
+
}, Fs = (s) => {
|
|
774
|
+
const t = s.httpAuthSchemes;
|
|
775
|
+
let e = s.httpAuthSchemeProvider, r = s.credentials;
|
|
776
|
+
return {
|
|
777
|
+
setHttpAuthScheme(n) {
|
|
778
|
+
const o = t.findIndex((i) => i.schemeId === n.schemeId);
|
|
779
|
+
o === -1 ? t.push(n) : t.splice(o, 1, n);
|
|
780
|
+
},
|
|
781
|
+
httpAuthSchemes() {
|
|
782
|
+
return t;
|
|
783
|
+
},
|
|
784
|
+
setHttpAuthSchemeProvider(n) {
|
|
785
|
+
e = n;
|
|
786
|
+
},
|
|
787
|
+
httpAuthSchemeProvider() {
|
|
788
|
+
return e;
|
|
789
|
+
},
|
|
790
|
+
setCredentials(n) {
|
|
791
|
+
r = n;
|
|
792
|
+
},
|
|
793
|
+
credentials() {
|
|
794
|
+
return r;
|
|
795
|
+
}
|
|
796
|
+
};
|
|
797
|
+
}, js = (s) => ({
|
|
798
|
+
httpAuthSchemes: s.httpAuthSchemes(),
|
|
799
|
+
httpAuthSchemeProvider: s.httpAuthSchemeProvider(),
|
|
800
|
+
credentials: s.credentials()
|
|
801
|
+
}), Ls = (s, t) => {
|
|
802
|
+
const e = Object.assign(Ze(s), Ye(s), et(s), Fs(s));
|
|
803
|
+
return t.forEach((r) => r.configure(e)), Object.assign(s, tt(e), st(e), rt(e), js(e));
|
|
804
|
+
};
|
|
805
|
+
class Hs extends nt {
|
|
806
|
+
config;
|
|
807
|
+
constructor(...[t]) {
|
|
808
|
+
const e = $s(t || {});
|
|
809
|
+
super(e), this.initConfig = e;
|
|
810
|
+
const r = Ot(e), n = it(r), o = ot(n), i = at(o), c = Et(i), a = ct(c), p = Mt(a), l = Ls(p, t?.extensions || []);
|
|
811
|
+
this.config = l, this.middlewareStack.use(dt(this.config)), this.middlewareStack.use(ut(this.config)), this.middlewareStack.use(pt(this.config)), this.middlewareStack.use(ht(this.config)), this.middlewareStack.use(ft(this.config)), this.middlewareStack.use(lt(this.config)), this.middlewareStack.use(mt(this.config)), this.middlewareStack.use(gt(this.config, {
|
|
812
|
+
httpAuthSchemeParametersProvider: Tt,
|
|
813
|
+
identityProviderConfigProvider: async (d) => new yt({
|
|
814
|
+
"aws.auth#sigv4": d.credentials
|
|
815
|
+
})
|
|
816
|
+
})), this.middlewareStack.use(St(this.config));
|
|
817
|
+
}
|
|
818
|
+
destroy() {
|
|
819
|
+
super.destroy();
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
class Gs extends de.classBuilder().ep(pe).m(function(t, e, r, n) {
|
|
823
|
+
return [ue(r, t.getEndpointParameterInstructions())];
|
|
824
|
+
}).s("AWSCognitoIdentityService", "GetCredentialsForIdentity", {}).n("CognitoIdentityClient", "GetCredentialsForIdentityCommand").sc(zs).build() {
|
|
825
|
+
}
|
|
826
|
+
class Js extends de.classBuilder().ep(pe).m(function(t, e, r, n) {
|
|
827
|
+
return [ue(r, t.getEndpointParameterInstructions())];
|
|
828
|
+
}).s("AWSCognitoIdentityService", "GetId", {}).n("CognitoIdentityClient", "GetIdCommand").sc(Ms).build() {
|
|
829
|
+
}
|
|
830
|
+
export {
|
|
831
|
+
Hs as CognitoIdentityClient,
|
|
832
|
+
Gs as GetCredentialsForIdentityCommand,
|
|
833
|
+
Js as GetIdCommand
|
|
834
|
+
};
|