@digipair/skill-s3 0.136.3 → 0.136.5
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/AwsRestJsonProtocol.esm.js +208 -123
- package/dist/externalDataInterceptor.esm.js +1 -1
- package/dist/getSSOTokenFromFile.esm.js +4 -4
- package/dist/index.esm.js +10 -8
- package/dist/index.esm10.js +81 -89
- package/dist/index.esm11.js +659 -420
- package/dist/index.esm12.js +231 -1138
- package/dist/index.esm13.js +896 -1600
- package/dist/index.esm14.js +210 -0
- package/dist/index.esm15.js +4780 -0
- package/dist/index.esm16.js +2057 -0
- package/dist/index.esm17.js +434 -0
- package/dist/index.esm18.js +1265 -0
- package/dist/index.esm19.js +456 -0
- package/dist/index.esm2.js +58503 -11
- package/dist/index.esm20.js +4885 -0
- package/dist/index.esm3.js +787 -51789
- package/dist/index.esm4.js +1154 -88
- package/dist/index.esm5.js +268 -4827
- package/dist/index.esm6.js +954 -951
- package/dist/index.esm7.js +2425 -119
- package/dist/index.esm8.js +124 -426
- package/dist/index.esm9.js +123 -2399
- package/dist/loadSso.esm.js +4966 -187
- package/dist/loadSso.esm2.js +6584 -0
- package/dist/{package.esm.js → loadSsoSessionData.esm.js} +155 -122
- package/dist/noAuth.esm.js +165 -0
- package/dist/parseKnownFiles.esm.js +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/skill-s3.d.ts +6 -0
- package/dist/src/lib/skill-s3.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/create-aggregated-client.esm.js +0 -366
package/dist/index.esm11.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { B as
|
|
1
|
+
import { a as awsEndpointFunctions, N as NODE_APP_ID_CONFIG_OPTIONS, H as Hash, c as createDefaultUserAgentProvider, p as packageInfo, D as DEFAULT_RETRY_MODE, g as getAwsRegionExtensionConfiguration, r as resolveAwsRegionExtensionConfiguration, b as resolveUserAgentConfig, d as resolveEndpointConfig, e as resolveHostHeaderConfig, f as getUserAgentPlugin, h as getContentLengthPlugin, i as getHostHeaderPlugin, j as getLoggerPlugin, k as getRecursionDetectionPlugin, l as getEndpointPlugin, m as createAggregatedClient } from './index.esm20.js';
|
|
2
|
+
import { u as resolveAwsSdkSigV4Config, q as normalizeProvider, m as getSmithyContext, E as EndpointCache, y as resolveEndpoint, h as customEndpointFunctions, S as ServiceException, T as TypeRegistry, t as toUtf8, f as fromUtf8, p as parseUrl, z as NoOpLogger, A as AwsSdkSigV4Signer, B as toBase64, D as fromBase64, F as emitWarningIfUnsupportedVersion, G as resolveDefaultsModeConfig, I as emitWarningIfUnsupportedVersion$1, l as loadConfig, J as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, K as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, L as streamCollector, N as NodeHttpHandler, M as NODE_REGION_CONFIG_OPTIONS, O as NODE_MAX_ATTEMPT_CONFIG_OPTIONS, Q as calculateBodyLength, R as NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, U as loadConfigsForDefaultMode, V as NODE_RETRY_MODE_CONFIG_OPTIONS, W as NODE_REGION_CONFIG_FILE_OPTIONS, X as getDefaultExtensionConfiguration, Y as getHttpHandlerExtensionConfiguration, Z as resolveDefaultRuntimeConfig, _ as resolveHttpHandlerRuntimeConfig, $ as resolveRetryConfig, a0 as resolveRegionConfig, a1 as getSchemaSerdePlugin, a2 as getRetryPlugin, a3 as getHttpAuthSchemeEndpointRuleSetPlugin, a4 as getHttpSigningPlugin, a5 as Client, a6 as DefaultIdentityProviderConfig, a7 as Command } from './index.esm2.js';
|
|
3
3
|
import { A as AwsRestJsonProtocol } from './AwsRestJsonProtocol.esm.js';
|
|
4
|
-
import {
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
7
|
-
import '
|
|
4
|
+
import { N as NoAuthSigner } from './noAuth.esm.js';
|
|
5
|
+
import 'os';
|
|
6
|
+
import 'process';
|
|
7
|
+
import 'buffer';
|
|
8
|
+
import 'crypto';
|
|
9
|
+
import 'path';
|
|
8
10
|
import 'node:fs/promises';
|
|
11
|
+
import 'stream';
|
|
9
12
|
import 'node:stream';
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
13
|
+
import 'http';
|
|
14
|
+
import 'https';
|
|
12
15
|
import 'node:fs';
|
|
13
|
-
import '
|
|
14
|
-
import 'node:zlib';
|
|
16
|
+
import 'zlib';
|
|
15
17
|
|
|
16
18
|
function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
17
19
|
try {
|
|
@@ -137,7 +139,7 @@ function _ts_generator$3(thisArg, body) {
|
|
|
137
139
|
};
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
|
-
var
|
|
142
|
+
var defaultSSOOIDCHttpAuthSchemeParametersProvider = function() {
|
|
141
143
|
var _ref = _async_to_generator$3(function(config, context, input) {
|
|
142
144
|
var _tmp;
|
|
143
145
|
return _ts_generator$3(this, function(_state) {
|
|
@@ -160,7 +162,7 @@ var defaultSigninHttpAuthSchemeParametersProvider = function() {
|
|
|
160
162
|
}
|
|
161
163
|
});
|
|
162
164
|
});
|
|
163
|
-
return function
|
|
165
|
+
return function defaultSSOOIDCHttpAuthSchemeParametersProvider(config, context, input) {
|
|
164
166
|
return _ref.apply(this, arguments);
|
|
165
167
|
};
|
|
166
168
|
}();
|
|
@@ -168,7 +170,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
168
170
|
return {
|
|
169
171
|
schemeId: "aws.auth#sigv4",
|
|
170
172
|
signingProperties: {
|
|
171
|
-
name: "
|
|
173
|
+
name: "sso-oauth",
|
|
172
174
|
region: authParameters.region
|
|
173
175
|
},
|
|
174
176
|
propertiesExtractor: function(config, context) {
|
|
@@ -186,10 +188,10 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
|
186
188
|
schemeId: "smithy.api#noAuth"
|
|
187
189
|
};
|
|
188
190
|
}
|
|
189
|
-
var
|
|
191
|
+
var defaultSSOOIDCHttpAuthSchemeProvider = function(authParameters) {
|
|
190
192
|
var options = [];
|
|
191
193
|
switch(authParameters.operation){
|
|
192
|
-
case "
|
|
194
|
+
case "CreateToken":
|
|
193
195
|
{
|
|
194
196
|
options.push(createSmithyApiNoAuthHttpAuthOption());
|
|
195
197
|
break;
|
|
@@ -214,7 +216,7 @@ var resolveClientEndpointParameters = function(options) {
|
|
|
214
216
|
return Object.assign(options, {
|
|
215
217
|
useDualstackEndpoint: (_options_useDualstackEndpoint = options.useDualstackEndpoint) !== null && _options_useDualstackEndpoint !== void 0 ? _options_useDualstackEndpoint : false,
|
|
216
218
|
useFipsEndpoint: (_options_useFipsEndpoint = options.useFipsEndpoint) !== null && _options_useFipsEndpoint !== void 0 ? _options_useFipsEndpoint : false,
|
|
217
|
-
defaultSigningName: "
|
|
219
|
+
defaultSigningName: "sso-oauth"
|
|
218
220
|
});
|
|
219
221
|
};
|
|
220
222
|
var commonParams = {
|
|
@@ -249,210 +251,203 @@ function _define_property$4(obj, key, value) {
|
|
|
249
251
|
}
|
|
250
252
|
return obj;
|
|
251
253
|
}
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
|
|
255
|
-
"
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
254
|
+
var u = "required", v = "fn", w = "argv", x = "ref";
|
|
255
|
+
var _obj$1, _obj1$1, _obj2$1, _obj3$1, _obj4$1, _obj5$1, _obj6$1;
|
|
256
|
+
var a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = (_obj$1 = {}, _define_property$4(_obj$1, u, false), _define_property$4(_obj$1, "type", "string"), _obj$1), j = (_obj1$1 = {}, _define_property$4(_obj1$1, u, true), _define_property$4(_obj1$1, "default", false), _define_property$4(_obj1$1, "type", "boolean"), _obj1$1), k = _define_property$4({}, x, "Endpoint"), l = (_obj2$1 = {}, _define_property$4(_obj2$1, v, c), _define_property$4(_obj2$1, w, [
|
|
257
|
+
_define_property$4({}, x, "UseFIPS"),
|
|
258
|
+
true
|
|
259
|
+
]), _obj2$1), m = (_obj3$1 = {}, _define_property$4(_obj3$1, v, c), _define_property$4(_obj3$1, w, [
|
|
260
|
+
_define_property$4({}, x, "UseDualStack"),
|
|
261
|
+
true
|
|
262
|
+
]), _obj3$1), n = {}, o = (_obj4$1 = {}, _define_property$4(_obj4$1, v, h), _define_property$4(_obj4$1, w, [
|
|
263
|
+
_define_property$4({}, x, g),
|
|
264
|
+
"supportsFIPS"
|
|
265
|
+
]), _obj4$1), p = _define_property$4({}, x, g), q = (_obj6$1 = {}, _define_property$4(_obj6$1, v, c), _define_property$4(_obj6$1, w, [
|
|
266
|
+
true,
|
|
267
|
+
(_obj5$1 = {}, _define_property$4(_obj5$1, v, h), _define_property$4(_obj5$1, w, [
|
|
268
|
+
p,
|
|
269
|
+
"supportsDualStack"
|
|
270
|
+
]), _obj5$1)
|
|
271
|
+
]), _obj6$1), r = [
|
|
272
|
+
l
|
|
273
|
+
], s = [
|
|
274
|
+
m
|
|
275
|
+
], t = [
|
|
276
|
+
_define_property$4({}, x, "Region")
|
|
261
277
|
];
|
|
278
|
+
var _obj7$1, _obj8$1, _obj9$1, _obj10$1, _obj11, _obj12, _obj13;
|
|
262
279
|
var _data = {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
d
|
|
278
|
-
],
|
|
279
|
-
[
|
|
280
|
-
e,
|
|
281
|
-
[
|
|
282
|
-
_define_property$4({}, m, "UseFIPS"),
|
|
283
|
-
b
|
|
284
|
-
]
|
|
285
|
-
],
|
|
286
|
-
[
|
|
287
|
-
e,
|
|
288
|
-
[
|
|
289
|
-
_define_property$4({}, m, "UseDualStack"),
|
|
290
|
-
b
|
|
291
|
-
]
|
|
292
|
-
],
|
|
293
|
-
[
|
|
294
|
-
e,
|
|
295
|
-
[
|
|
280
|
+
parameters: {
|
|
281
|
+
Region: i,
|
|
282
|
+
UseDualStack: j,
|
|
283
|
+
UseFIPS: j,
|
|
284
|
+
Endpoint: i
|
|
285
|
+
},
|
|
286
|
+
rules: [
|
|
287
|
+
{
|
|
288
|
+
conditions: [
|
|
289
|
+
(_obj7$1 = {}, _define_property$4(_obj7$1, v, b), _define_property$4(_obj7$1, w, [
|
|
290
|
+
k
|
|
291
|
+
]), _obj7$1)
|
|
292
|
+
],
|
|
293
|
+
rules: [
|
|
296
294
|
{
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
"supportsDualStack"
|
|
301
|
-
]
|
|
295
|
+
conditions: r,
|
|
296
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
297
|
+
type: d
|
|
302
298
|
},
|
|
303
|
-
b
|
|
304
|
-
]
|
|
305
|
-
],
|
|
306
|
-
[
|
|
307
|
-
e,
|
|
308
|
-
[
|
|
309
299
|
{
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
"supportsFIPS"
|
|
314
|
-
]
|
|
300
|
+
conditions: s,
|
|
301
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
302
|
+
type: d
|
|
315
303
|
},
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
]
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
[
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
304
|
+
{
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: k,
|
|
307
|
+
properties: n,
|
|
308
|
+
headers: n
|
|
309
|
+
},
|
|
310
|
+
type: e
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
type: f
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
conditions: [
|
|
317
|
+
(_obj8$1 = {}, _define_property$4(_obj8$1, v, b), _define_property$4(_obj8$1, w, t), _obj8$1)
|
|
318
|
+
],
|
|
319
|
+
rules: [
|
|
320
|
+
{
|
|
321
|
+
conditions: [
|
|
322
|
+
(_obj9$1 = {}, _define_property$4(_obj9$1, v, "aws.partition"), _define_property$4(_obj9$1, w, t), _define_property$4(_obj9$1, "assign", g), _obj9$1)
|
|
323
|
+
],
|
|
324
|
+
rules: [
|
|
325
|
+
{
|
|
326
|
+
conditions: [
|
|
327
|
+
l,
|
|
328
|
+
m
|
|
329
|
+
],
|
|
330
|
+
rules: [
|
|
331
|
+
{
|
|
332
|
+
conditions: [
|
|
333
|
+
(_obj10$1 = {}, _define_property$4(_obj10$1, v, c), _define_property$4(_obj10$1, w, [
|
|
334
|
+
a,
|
|
335
|
+
o
|
|
336
|
+
]), _obj10$1),
|
|
337
|
+
q
|
|
338
|
+
],
|
|
339
|
+
rules: [
|
|
340
|
+
{
|
|
341
|
+
endpoint: {
|
|
342
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
343
|
+
properties: n,
|
|
344
|
+
headers: n
|
|
345
|
+
},
|
|
346
|
+
type: e
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
type: f
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
353
|
+
type: d
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
type: f
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
conditions: r,
|
|
360
|
+
rules: [
|
|
361
|
+
{
|
|
362
|
+
conditions: [
|
|
363
|
+
(_obj11 = {}, _define_property$4(_obj11, v, c), _define_property$4(_obj11, w, [
|
|
364
|
+
o,
|
|
365
|
+
a
|
|
366
|
+
]), _obj11)
|
|
367
|
+
],
|
|
368
|
+
rules: [
|
|
369
|
+
{
|
|
370
|
+
conditions: [
|
|
371
|
+
(_obj13 = {}, _define_property$4(_obj13, v, "stringEquals"), _define_property$4(_obj13, w, [
|
|
372
|
+
(_obj12 = {}, _define_property$4(_obj12, v, h), _define_property$4(_obj12, w, [
|
|
373
|
+
p,
|
|
374
|
+
"name"
|
|
375
|
+
]), _obj12),
|
|
376
|
+
"aws-us-gov"
|
|
377
|
+
]), _obj13)
|
|
378
|
+
],
|
|
379
|
+
endpoint: {
|
|
380
|
+
url: "https://oidc.{Region}.amazonaws.com",
|
|
381
|
+
properties: n,
|
|
382
|
+
headers: n
|
|
383
|
+
},
|
|
384
|
+
type: e
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
endpoint: {
|
|
388
|
+
url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
389
|
+
properties: n,
|
|
390
|
+
headers: n
|
|
391
|
+
},
|
|
392
|
+
type: e
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
type: f
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
399
|
+
type: d
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
type: f
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
conditions: s,
|
|
406
|
+
rules: [
|
|
407
|
+
{
|
|
408
|
+
conditions: [
|
|
409
|
+
q
|
|
410
|
+
],
|
|
411
|
+
rules: [
|
|
412
|
+
{
|
|
413
|
+
endpoint: {
|
|
414
|
+
url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
415
|
+
properties: n,
|
|
416
|
+
headers: n
|
|
417
|
+
},
|
|
418
|
+
type: e
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
type: f
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
425
|
+
type: d
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
type: f
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
endpoint: {
|
|
432
|
+
url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
|
|
433
|
+
properties: n,
|
|
434
|
+
headers: n
|
|
435
|
+
},
|
|
436
|
+
type: e
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
type: f
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
type: f
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
error: "Invalid Configuration: Missing Region",
|
|
446
|
+
type: d
|
|
447
|
+
}
|
|
401
448
|
]
|
|
402
449
|
};
|
|
403
|
-
var
|
|
404
|
-
var r = 100000000;
|
|
405
|
-
var nodes = new Int32Array([
|
|
406
|
-
-1,
|
|
407
|
-
1,
|
|
408
|
-
-1,
|
|
409
|
-
0,
|
|
410
|
-
15,
|
|
411
|
-
3,
|
|
412
|
-
1,
|
|
413
|
-
4,
|
|
414
|
-
r + 14,
|
|
415
|
-
2,
|
|
416
|
-
5,
|
|
417
|
-
r + 14,
|
|
418
|
-
3,
|
|
419
|
-
11,
|
|
420
|
-
6,
|
|
421
|
-
4,
|
|
422
|
-
10,
|
|
423
|
-
7,
|
|
424
|
-
7,
|
|
425
|
-
r + 4,
|
|
426
|
-
8,
|
|
427
|
-
8,
|
|
428
|
-
r + 5,
|
|
429
|
-
9,
|
|
430
|
-
9,
|
|
431
|
-
r + 6,
|
|
432
|
-
r + 13,
|
|
433
|
-
5,
|
|
434
|
-
r + 11,
|
|
435
|
-
r + 12,
|
|
436
|
-
4,
|
|
437
|
-
13,
|
|
438
|
-
12,
|
|
439
|
-
6,
|
|
440
|
-
r + 9,
|
|
441
|
-
r + 10,
|
|
442
|
-
5,
|
|
443
|
-
14,
|
|
444
|
-
r + 8,
|
|
445
|
-
6,
|
|
446
|
-
r + 7,
|
|
447
|
-
r + 8,
|
|
448
|
-
3,
|
|
449
|
-
r + 1,
|
|
450
|
-
16,
|
|
451
|
-
4,
|
|
452
|
-
r + 2,
|
|
453
|
-
r + 3
|
|
454
|
-
]);
|
|
455
|
-
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
450
|
+
var ruleSet = _data;
|
|
456
451
|
|
|
457
452
|
var cache = new EndpointCache({
|
|
458
453
|
size: 50,
|
|
@@ -466,7 +461,7 @@ var cache = new EndpointCache({
|
|
|
466
461
|
var defaultEndpointResolver = function(endpointParams) {
|
|
467
462
|
var context = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
468
463
|
return cache.get(endpointParams, function() {
|
|
469
|
-
return
|
|
464
|
+
return resolveEndpoint(ruleSet, {
|
|
470
465
|
endpointParams: endpointParams,
|
|
471
466
|
logger: context.logger
|
|
472
467
|
});
|
|
@@ -545,17 +540,17 @@ function _create_super$4(Derived) {
|
|
|
545
540
|
return _possible_constructor_return$4(this, result);
|
|
546
541
|
};
|
|
547
542
|
}
|
|
548
|
-
var
|
|
549
|
-
_inherits$4(
|
|
550
|
-
var _super = _create_super$4(
|
|
551
|
-
function
|
|
552
|
-
_class_call_check$4(this,
|
|
543
|
+
var SSOOIDCServiceException = /*#__PURE__*/ function(__ServiceException) {
|
|
544
|
+
_inherits$4(SSOOIDCServiceException, __ServiceException);
|
|
545
|
+
var _super = _create_super$4(SSOOIDCServiceException);
|
|
546
|
+
function SSOOIDCServiceException(options) {
|
|
547
|
+
_class_call_check$4(this, SSOOIDCServiceException);
|
|
553
548
|
var _this;
|
|
554
549
|
_this = _super.call(this, options);
|
|
555
|
-
Object.setPrototypeOf(_assert_this_initialized$4(_this),
|
|
550
|
+
Object.setPrototypeOf(_assert_this_initialized$4(_this), SSOOIDCServiceException.prototype);
|
|
556
551
|
return _this;
|
|
557
552
|
}
|
|
558
|
-
return
|
|
553
|
+
return SSOOIDCServiceException;
|
|
559
554
|
}(ServiceException);
|
|
560
555
|
|
|
561
556
|
function _assert_this_initialized$3(self) {
|
|
@@ -670,12 +665,58 @@ var AccessDeniedException = /*#__PURE__*/ function(__BaseException) {
|
|
|
670
665
|
_define_property$3(_assert_this_initialized$3(_this), "name", "AccessDeniedException");
|
|
671
666
|
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
672
667
|
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
668
|
+
_define_property$3(_assert_this_initialized$3(_this), "reason", void 0);
|
|
669
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
673
670
|
Object.setPrototypeOf(_assert_this_initialized$3(_this), AccessDeniedException.prototype);
|
|
674
671
|
_this.error = opts.error;
|
|
672
|
+
_this.reason = opts.reason;
|
|
673
|
+
_this.error_description = opts.error_description;
|
|
675
674
|
return _this;
|
|
676
675
|
}
|
|
677
676
|
return AccessDeniedException;
|
|
678
|
-
}(
|
|
677
|
+
}(SSOOIDCServiceException);
|
|
678
|
+
var AuthorizationPendingException = /*#__PURE__*/ function(__BaseException) {
|
|
679
|
+
_inherits$3(AuthorizationPendingException, __BaseException);
|
|
680
|
+
var _super = _create_super$3(AuthorizationPendingException);
|
|
681
|
+
function AuthorizationPendingException(opts) {
|
|
682
|
+
_class_call_check$3(this, AuthorizationPendingException);
|
|
683
|
+
var _this;
|
|
684
|
+
_this = _super.call(this, _object_spread$1({
|
|
685
|
+
name: "AuthorizationPendingException",
|
|
686
|
+
$fault: "client"
|
|
687
|
+
}, opts));
|
|
688
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "AuthorizationPendingException");
|
|
689
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
690
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
691
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
692
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), AuthorizationPendingException.prototype);
|
|
693
|
+
_this.error = opts.error;
|
|
694
|
+
_this.error_description = opts.error_description;
|
|
695
|
+
return _this;
|
|
696
|
+
}
|
|
697
|
+
return AuthorizationPendingException;
|
|
698
|
+
}(SSOOIDCServiceException);
|
|
699
|
+
var ExpiredTokenException = /*#__PURE__*/ function(__BaseException) {
|
|
700
|
+
_inherits$3(ExpiredTokenException, __BaseException);
|
|
701
|
+
var _super = _create_super$3(ExpiredTokenException);
|
|
702
|
+
function ExpiredTokenException(opts) {
|
|
703
|
+
_class_call_check$3(this, ExpiredTokenException);
|
|
704
|
+
var _this;
|
|
705
|
+
_this = _super.call(this, _object_spread$1({
|
|
706
|
+
name: "ExpiredTokenException",
|
|
707
|
+
$fault: "client"
|
|
708
|
+
}, opts));
|
|
709
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "ExpiredTokenException");
|
|
710
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
711
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
712
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
713
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), ExpiredTokenException.prototype);
|
|
714
|
+
_this.error = opts.error;
|
|
715
|
+
_this.error_description = opts.error_description;
|
|
716
|
+
return _this;
|
|
717
|
+
}
|
|
718
|
+
return ExpiredTokenException;
|
|
719
|
+
}(SSOOIDCServiceException);
|
|
679
720
|
var InternalServerException = /*#__PURE__*/ function(__BaseException) {
|
|
680
721
|
_inherits$3(InternalServerException, __BaseException);
|
|
681
722
|
var _super = _create_super$3(InternalServerException);
|
|
@@ -689,50 +730,163 @@ var InternalServerException = /*#__PURE__*/ function(__BaseException) {
|
|
|
689
730
|
_define_property$3(_assert_this_initialized$3(_this), "name", "InternalServerException");
|
|
690
731
|
_define_property$3(_assert_this_initialized$3(_this), "$fault", "server");
|
|
691
732
|
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
733
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
692
734
|
Object.setPrototypeOf(_assert_this_initialized$3(_this), InternalServerException.prototype);
|
|
693
735
|
_this.error = opts.error;
|
|
736
|
+
_this.error_description = opts.error_description;
|
|
694
737
|
return _this;
|
|
695
738
|
}
|
|
696
739
|
return InternalServerException;
|
|
697
|
-
}(
|
|
698
|
-
var
|
|
699
|
-
_inherits$3(
|
|
700
|
-
var _super = _create_super$3(
|
|
701
|
-
function
|
|
702
|
-
_class_call_check$3(this,
|
|
740
|
+
}(SSOOIDCServiceException);
|
|
741
|
+
var InvalidClientException = /*#__PURE__*/ function(__BaseException) {
|
|
742
|
+
_inherits$3(InvalidClientException, __BaseException);
|
|
743
|
+
var _super = _create_super$3(InvalidClientException);
|
|
744
|
+
function InvalidClientException(opts) {
|
|
745
|
+
_class_call_check$3(this, InvalidClientException);
|
|
746
|
+
var _this;
|
|
747
|
+
_this = _super.call(this, _object_spread$1({
|
|
748
|
+
name: "InvalidClientException",
|
|
749
|
+
$fault: "client"
|
|
750
|
+
}, opts));
|
|
751
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "InvalidClientException");
|
|
752
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
753
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
754
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
755
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), InvalidClientException.prototype);
|
|
756
|
+
_this.error = opts.error;
|
|
757
|
+
_this.error_description = opts.error_description;
|
|
758
|
+
return _this;
|
|
759
|
+
}
|
|
760
|
+
return InvalidClientException;
|
|
761
|
+
}(SSOOIDCServiceException);
|
|
762
|
+
var InvalidGrantException = /*#__PURE__*/ function(__BaseException) {
|
|
763
|
+
_inherits$3(InvalidGrantException, __BaseException);
|
|
764
|
+
var _super = _create_super$3(InvalidGrantException);
|
|
765
|
+
function InvalidGrantException(opts) {
|
|
766
|
+
_class_call_check$3(this, InvalidGrantException);
|
|
767
|
+
var _this;
|
|
768
|
+
_this = _super.call(this, _object_spread$1({
|
|
769
|
+
name: "InvalidGrantException",
|
|
770
|
+
$fault: "client"
|
|
771
|
+
}, opts));
|
|
772
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "InvalidGrantException");
|
|
773
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
774
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
775
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
776
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), InvalidGrantException.prototype);
|
|
777
|
+
_this.error = opts.error;
|
|
778
|
+
_this.error_description = opts.error_description;
|
|
779
|
+
return _this;
|
|
780
|
+
}
|
|
781
|
+
return InvalidGrantException;
|
|
782
|
+
}(SSOOIDCServiceException);
|
|
783
|
+
var InvalidRequestException = /*#__PURE__*/ function(__BaseException) {
|
|
784
|
+
_inherits$3(InvalidRequestException, __BaseException);
|
|
785
|
+
var _super = _create_super$3(InvalidRequestException);
|
|
786
|
+
function InvalidRequestException(opts) {
|
|
787
|
+
_class_call_check$3(this, InvalidRequestException);
|
|
788
|
+
var _this;
|
|
789
|
+
_this = _super.call(this, _object_spread$1({
|
|
790
|
+
name: "InvalidRequestException",
|
|
791
|
+
$fault: "client"
|
|
792
|
+
}, opts));
|
|
793
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "InvalidRequestException");
|
|
794
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
795
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
796
|
+
_define_property$3(_assert_this_initialized$3(_this), "reason", void 0);
|
|
797
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
798
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), InvalidRequestException.prototype);
|
|
799
|
+
_this.error = opts.error;
|
|
800
|
+
_this.reason = opts.reason;
|
|
801
|
+
_this.error_description = opts.error_description;
|
|
802
|
+
return _this;
|
|
803
|
+
}
|
|
804
|
+
return InvalidRequestException;
|
|
805
|
+
}(SSOOIDCServiceException);
|
|
806
|
+
var InvalidScopeException = /*#__PURE__*/ function(__BaseException) {
|
|
807
|
+
_inherits$3(InvalidScopeException, __BaseException);
|
|
808
|
+
var _super = _create_super$3(InvalidScopeException);
|
|
809
|
+
function InvalidScopeException(opts) {
|
|
810
|
+
_class_call_check$3(this, InvalidScopeException);
|
|
703
811
|
var _this;
|
|
704
812
|
_this = _super.call(this, _object_spread$1({
|
|
705
|
-
name: "
|
|
813
|
+
name: "InvalidScopeException",
|
|
706
814
|
$fault: "client"
|
|
707
815
|
}, opts));
|
|
708
|
-
_define_property$3(_assert_this_initialized$3(_this), "name", "
|
|
816
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "InvalidScopeException");
|
|
709
817
|
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
710
818
|
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
711
|
-
|
|
819
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
820
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), InvalidScopeException.prototype);
|
|
712
821
|
_this.error = opts.error;
|
|
822
|
+
_this.error_description = opts.error_description;
|
|
713
823
|
return _this;
|
|
714
824
|
}
|
|
715
|
-
return
|
|
716
|
-
}(
|
|
717
|
-
var
|
|
718
|
-
_inherits$3(
|
|
719
|
-
var _super = _create_super$3(
|
|
720
|
-
function
|
|
721
|
-
_class_call_check$3(this,
|
|
825
|
+
return InvalidScopeException;
|
|
826
|
+
}(SSOOIDCServiceException);
|
|
827
|
+
var SlowDownException = /*#__PURE__*/ function(__BaseException) {
|
|
828
|
+
_inherits$3(SlowDownException, __BaseException);
|
|
829
|
+
var _super = _create_super$3(SlowDownException);
|
|
830
|
+
function SlowDownException(opts) {
|
|
831
|
+
_class_call_check$3(this, SlowDownException);
|
|
722
832
|
var _this;
|
|
723
833
|
_this = _super.call(this, _object_spread$1({
|
|
724
|
-
name: "
|
|
834
|
+
name: "SlowDownException",
|
|
725
835
|
$fault: "client"
|
|
726
836
|
}, opts));
|
|
727
|
-
_define_property$3(_assert_this_initialized$3(_this), "name", "
|
|
837
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "SlowDownException");
|
|
728
838
|
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
729
839
|
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
730
|
-
|
|
840
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
841
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), SlowDownException.prototype);
|
|
731
842
|
_this.error = opts.error;
|
|
843
|
+
_this.error_description = opts.error_description;
|
|
732
844
|
return _this;
|
|
733
845
|
}
|
|
734
|
-
return
|
|
735
|
-
}(
|
|
846
|
+
return SlowDownException;
|
|
847
|
+
}(SSOOIDCServiceException);
|
|
848
|
+
var UnauthorizedClientException = /*#__PURE__*/ function(__BaseException) {
|
|
849
|
+
_inherits$3(UnauthorizedClientException, __BaseException);
|
|
850
|
+
var _super = _create_super$3(UnauthorizedClientException);
|
|
851
|
+
function UnauthorizedClientException(opts) {
|
|
852
|
+
_class_call_check$3(this, UnauthorizedClientException);
|
|
853
|
+
var _this;
|
|
854
|
+
_this = _super.call(this, _object_spread$1({
|
|
855
|
+
name: "UnauthorizedClientException",
|
|
856
|
+
$fault: "client"
|
|
857
|
+
}, opts));
|
|
858
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "UnauthorizedClientException");
|
|
859
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
860
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
861
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
862
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), UnauthorizedClientException.prototype);
|
|
863
|
+
_this.error = opts.error;
|
|
864
|
+
_this.error_description = opts.error_description;
|
|
865
|
+
return _this;
|
|
866
|
+
}
|
|
867
|
+
return UnauthorizedClientException;
|
|
868
|
+
}(SSOOIDCServiceException);
|
|
869
|
+
var UnsupportedGrantTypeException = /*#__PURE__*/ function(__BaseException) {
|
|
870
|
+
_inherits$3(UnsupportedGrantTypeException, __BaseException);
|
|
871
|
+
var _super = _create_super$3(UnsupportedGrantTypeException);
|
|
872
|
+
function UnsupportedGrantTypeException(opts) {
|
|
873
|
+
_class_call_check$3(this, UnsupportedGrantTypeException);
|
|
874
|
+
var _this;
|
|
875
|
+
_this = _super.call(this, _object_spread$1({
|
|
876
|
+
name: "UnsupportedGrantTypeException",
|
|
877
|
+
$fault: "client"
|
|
878
|
+
}, opts));
|
|
879
|
+
_define_property$3(_assert_this_initialized$3(_this), "name", "UnsupportedGrantTypeException");
|
|
880
|
+
_define_property$3(_assert_this_initialized$3(_this), "$fault", "client");
|
|
881
|
+
_define_property$3(_assert_this_initialized$3(_this), "error", void 0);
|
|
882
|
+
_define_property$3(_assert_this_initialized$3(_this), "error_description", void 0);
|
|
883
|
+
Object.setPrototypeOf(_assert_this_initialized$3(_this), UnsupportedGrantTypeException.prototype);
|
|
884
|
+
_this.error = opts.error;
|
|
885
|
+
_this.error_description = opts.error_description;
|
|
886
|
+
return _this;
|
|
887
|
+
}
|
|
888
|
+
return UnsupportedGrantTypeException;
|
|
889
|
+
}(SSOOIDCServiceException);
|
|
736
890
|
|
|
737
891
|
function _define_property$2(obj, key, value) {
|
|
738
892
|
if (key in obj) {
|
|
@@ -748,235 +902,324 @@ function _define_property$2(obj, key, value) {
|
|
|
748
902
|
return obj;
|
|
749
903
|
}
|
|
750
904
|
var _ADE = "AccessDeniedException";
|
|
905
|
+
var _APE = "AuthorizationPendingException";
|
|
751
906
|
var _AT = "AccessToken";
|
|
752
|
-
var
|
|
753
|
-
var
|
|
754
|
-
var
|
|
755
|
-
var
|
|
756
|
-
var
|
|
907
|
+
var _CS = "ClientSecret";
|
|
908
|
+
var _CT = "CreateToken";
|
|
909
|
+
var _CTR = "CreateTokenRequest";
|
|
910
|
+
var _CTRr = "CreateTokenResponse";
|
|
911
|
+
var _CV = "CodeVerifier";
|
|
912
|
+
var _ETE = "ExpiredTokenException";
|
|
913
|
+
var _ICE = "InvalidClientException";
|
|
914
|
+
var _IGE = "InvalidGrantException";
|
|
915
|
+
var _IRE = "InvalidRequestException";
|
|
757
916
|
var _ISE = "InternalServerException";
|
|
917
|
+
var _ISEn = "InvalidScopeException";
|
|
918
|
+
var _IT = "IdToken";
|
|
758
919
|
var _RT = "RefreshToken";
|
|
759
|
-
var
|
|
760
|
-
var
|
|
761
|
-
var
|
|
920
|
+
var _SDE = "SlowDownException";
|
|
921
|
+
var _UCE = "UnauthorizedClientException";
|
|
922
|
+
var _UGTE = "UnsupportedGrantTypeException";
|
|
762
923
|
var _aT = "accessToken";
|
|
763
924
|
var _c = "client";
|
|
764
925
|
var _cI = "clientId";
|
|
926
|
+
var _cS = "clientSecret";
|
|
765
927
|
var _cV = "codeVerifier";
|
|
766
928
|
var _co = "code";
|
|
929
|
+
var _dC = "deviceCode";
|
|
767
930
|
var _e = "error";
|
|
768
931
|
var _eI = "expiresIn";
|
|
932
|
+
var _ed = "error_description";
|
|
769
933
|
var _gT = "grantType";
|
|
770
934
|
var _h = "http";
|
|
771
935
|
var _hE = "httpError";
|
|
772
936
|
var _iT = "idToken";
|
|
773
|
-
var
|
|
774
|
-
var _m = "message";
|
|
937
|
+
var _r = "reason";
|
|
775
938
|
var _rT = "refreshToken";
|
|
776
939
|
var _rU = "redirectUri";
|
|
777
|
-
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.
|
|
778
|
-
var
|
|
779
|
-
var _sT = "sessionToken";
|
|
940
|
+
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssooidc";
|
|
941
|
+
var _sc = "scope";
|
|
780
942
|
var _se = "server";
|
|
781
|
-
var _tI = "tokenInput";
|
|
782
|
-
var _tO = "tokenOutput";
|
|
783
943
|
var _tT = "tokenType";
|
|
784
|
-
var n0 = "com.amazonaws.
|
|
944
|
+
var n0 = "com.amazonaws.ssooidc";
|
|
785
945
|
var _s_registry = TypeRegistry.for(_s);
|
|
786
|
-
var
|
|
946
|
+
var SSOOIDCServiceException$ = [
|
|
787
947
|
-3,
|
|
788
948
|
_s,
|
|
789
|
-
"
|
|
949
|
+
"SSOOIDCServiceException",
|
|
790
950
|
0,
|
|
791
951
|
[],
|
|
792
952
|
[]
|
|
793
953
|
];
|
|
794
|
-
_s_registry.registerError(
|
|
954
|
+
_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
795
955
|
var n0_registry = TypeRegistry.for(n0);
|
|
956
|
+
var _obj;
|
|
796
957
|
var AccessDeniedException$ = [
|
|
797
958
|
-3,
|
|
798
959
|
n0,
|
|
799
960
|
_ADE,
|
|
800
|
-
_define_property$2(
|
|
961
|
+
(_obj = {}, _define_property$2(_obj, _e, _c), _define_property$2(_obj, _hE, 400), _obj),
|
|
801
962
|
[
|
|
802
963
|
_e,
|
|
803
|
-
|
|
964
|
+
_r,
|
|
965
|
+
_ed
|
|
804
966
|
],
|
|
805
967
|
[
|
|
968
|
+
0,
|
|
806
969
|
0,
|
|
807
970
|
0
|
|
808
|
-
]
|
|
809
|
-
2
|
|
971
|
+
]
|
|
810
972
|
];
|
|
811
973
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
812
|
-
var
|
|
974
|
+
var _obj1;
|
|
975
|
+
var AuthorizationPendingException$ = [
|
|
976
|
+
-3,
|
|
977
|
+
n0,
|
|
978
|
+
_APE,
|
|
979
|
+
(_obj1 = {}, _define_property$2(_obj1, _e, _c), _define_property$2(_obj1, _hE, 400), _obj1),
|
|
980
|
+
[
|
|
981
|
+
_e,
|
|
982
|
+
_ed
|
|
983
|
+
],
|
|
984
|
+
[
|
|
985
|
+
0,
|
|
986
|
+
0
|
|
987
|
+
]
|
|
988
|
+
];
|
|
989
|
+
n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
990
|
+
var _obj2;
|
|
991
|
+
var ExpiredTokenException$ = [
|
|
992
|
+
-3,
|
|
993
|
+
n0,
|
|
994
|
+
_ETE,
|
|
995
|
+
(_obj2 = {}, _define_property$2(_obj2, _e, _c), _define_property$2(_obj2, _hE, 400), _obj2),
|
|
996
|
+
[
|
|
997
|
+
_e,
|
|
998
|
+
_ed
|
|
999
|
+
],
|
|
1000
|
+
[
|
|
1001
|
+
0,
|
|
1002
|
+
0
|
|
1003
|
+
]
|
|
1004
|
+
];
|
|
1005
|
+
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
1006
|
+
var _obj3;
|
|
813
1007
|
var InternalServerException$ = [
|
|
814
1008
|
-3,
|
|
815
1009
|
n0,
|
|
816
1010
|
_ISE,
|
|
817
|
-
(
|
|
1011
|
+
(_obj3 = {}, _define_property$2(_obj3, _e, _se), _define_property$2(_obj3, _hE, 500), _obj3),
|
|
818
1012
|
[
|
|
819
1013
|
_e,
|
|
820
|
-
|
|
1014
|
+
_ed
|
|
821
1015
|
],
|
|
822
1016
|
[
|
|
823
1017
|
0,
|
|
824
1018
|
0
|
|
825
|
-
]
|
|
826
|
-
2
|
|
1019
|
+
]
|
|
827
1020
|
];
|
|
828
1021
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
829
|
-
var
|
|
830
|
-
var
|
|
1022
|
+
var _obj4;
|
|
1023
|
+
var InvalidClientException$ = [
|
|
831
1024
|
-3,
|
|
832
1025
|
n0,
|
|
833
|
-
|
|
834
|
-
(
|
|
1026
|
+
_ICE,
|
|
1027
|
+
(_obj4 = {}, _define_property$2(_obj4, _e, _c), _define_property$2(_obj4, _hE, 401), _obj4),
|
|
835
1028
|
[
|
|
836
1029
|
_e,
|
|
837
|
-
|
|
1030
|
+
_ed
|
|
838
1031
|
],
|
|
839
1032
|
[
|
|
840
1033
|
0,
|
|
841
1034
|
0
|
|
1035
|
+
]
|
|
1036
|
+
];
|
|
1037
|
+
n0_registry.registerError(InvalidClientException$, InvalidClientException);
|
|
1038
|
+
var _obj5;
|
|
1039
|
+
var InvalidGrantException$ = [
|
|
1040
|
+
-3,
|
|
1041
|
+
n0,
|
|
1042
|
+
_IGE,
|
|
1043
|
+
(_obj5 = {}, _define_property$2(_obj5, _e, _c), _define_property$2(_obj5, _hE, 400), _obj5),
|
|
1044
|
+
[
|
|
1045
|
+
_e,
|
|
1046
|
+
_ed
|
|
842
1047
|
],
|
|
843
|
-
|
|
1048
|
+
[
|
|
1049
|
+
0,
|
|
1050
|
+
0
|
|
1051
|
+
]
|
|
844
1052
|
];
|
|
845
|
-
n0_registry.registerError(
|
|
846
|
-
var
|
|
847
|
-
var
|
|
1053
|
+
n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
|
|
1054
|
+
var _obj6;
|
|
1055
|
+
var InvalidRequestException$ = [
|
|
848
1056
|
-3,
|
|
849
1057
|
n0,
|
|
850
|
-
|
|
851
|
-
(
|
|
1058
|
+
_IRE,
|
|
1059
|
+
(_obj6 = {}, _define_property$2(_obj6, _e, _c), _define_property$2(_obj6, _hE, 400), _obj6),
|
|
1060
|
+
[
|
|
1061
|
+
_e,
|
|
1062
|
+
_r,
|
|
1063
|
+
_ed
|
|
1064
|
+
],
|
|
1065
|
+
[
|
|
1066
|
+
0,
|
|
1067
|
+
0,
|
|
1068
|
+
0
|
|
1069
|
+
]
|
|
1070
|
+
];
|
|
1071
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
1072
|
+
var _obj7;
|
|
1073
|
+
var InvalidScopeException$ = [
|
|
1074
|
+
-3,
|
|
1075
|
+
n0,
|
|
1076
|
+
_ISEn,
|
|
1077
|
+
(_obj7 = {}, _define_property$2(_obj7, _e, _c), _define_property$2(_obj7, _hE, 400), _obj7),
|
|
852
1078
|
[
|
|
853
1079
|
_e,
|
|
854
|
-
|
|
1080
|
+
_ed
|
|
855
1081
|
],
|
|
856
1082
|
[
|
|
857
1083
|
0,
|
|
858
1084
|
0
|
|
1085
|
+
]
|
|
1086
|
+
];
|
|
1087
|
+
n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
|
|
1088
|
+
var _obj8;
|
|
1089
|
+
var SlowDownException$ = [
|
|
1090
|
+
-3,
|
|
1091
|
+
n0,
|
|
1092
|
+
_SDE,
|
|
1093
|
+
(_obj8 = {}, _define_property$2(_obj8, _e, _c), _define_property$2(_obj8, _hE, 400), _obj8),
|
|
1094
|
+
[
|
|
1095
|
+
_e,
|
|
1096
|
+
_ed
|
|
859
1097
|
],
|
|
860
|
-
|
|
1098
|
+
[
|
|
1099
|
+
0,
|
|
1100
|
+
0
|
|
1101
|
+
]
|
|
861
1102
|
];
|
|
862
|
-
n0_registry.registerError(
|
|
1103
|
+
n0_registry.registerError(SlowDownException$, SlowDownException);
|
|
1104
|
+
var _obj9;
|
|
1105
|
+
var UnauthorizedClientException$ = [
|
|
1106
|
+
-3,
|
|
1107
|
+
n0,
|
|
1108
|
+
_UCE,
|
|
1109
|
+
(_obj9 = {}, _define_property$2(_obj9, _e, _c), _define_property$2(_obj9, _hE, 400), _obj9),
|
|
1110
|
+
[
|
|
1111
|
+
_e,
|
|
1112
|
+
_ed
|
|
1113
|
+
],
|
|
1114
|
+
[
|
|
1115
|
+
0,
|
|
1116
|
+
0
|
|
1117
|
+
]
|
|
1118
|
+
];
|
|
1119
|
+
n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
1120
|
+
var _obj10;
|
|
1121
|
+
var UnsupportedGrantTypeException$ = [
|
|
1122
|
+
-3,
|
|
1123
|
+
n0,
|
|
1124
|
+
_UGTE,
|
|
1125
|
+
(_obj10 = {}, _define_property$2(_obj10, _e, _c), _define_property$2(_obj10, _hE, 400), _obj10),
|
|
1126
|
+
[
|
|
1127
|
+
_e,
|
|
1128
|
+
_ed
|
|
1129
|
+
],
|
|
1130
|
+
[
|
|
1131
|
+
0,
|
|
1132
|
+
0
|
|
1133
|
+
]
|
|
1134
|
+
];
|
|
1135
|
+
n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
863
1136
|
var errorTypeRegistries = [
|
|
864
1137
|
_s_registry,
|
|
865
1138
|
n0_registry
|
|
866
1139
|
];
|
|
867
|
-
var
|
|
1140
|
+
var AccessToken = [
|
|
868
1141
|
0,
|
|
869
1142
|
n0,
|
|
870
|
-
|
|
1143
|
+
_AT,
|
|
871
1144
|
8,
|
|
872
1145
|
0
|
|
873
1146
|
];
|
|
874
|
-
var
|
|
875
|
-
|
|
1147
|
+
var ClientSecret = [
|
|
1148
|
+
0,
|
|
876
1149
|
n0,
|
|
877
|
-
|
|
1150
|
+
_CS,
|
|
878
1151
|
8,
|
|
879
|
-
|
|
880
|
-
_aKI,
|
|
881
|
-
_sAK,
|
|
882
|
-
_sT
|
|
883
|
-
],
|
|
884
|
-
[
|
|
885
|
-
[
|
|
886
|
-
0,
|
|
887
|
-
_define_property$2({}, _jN, _aKI)
|
|
888
|
-
],
|
|
889
|
-
[
|
|
890
|
-
0,
|
|
891
|
-
_define_property$2({}, _jN, _sAK)
|
|
892
|
-
],
|
|
893
|
-
[
|
|
894
|
-
0,
|
|
895
|
-
_define_property$2({}, _jN, _sT)
|
|
896
|
-
]
|
|
897
|
-
],
|
|
898
|
-
3
|
|
1152
|
+
0
|
|
899
1153
|
];
|
|
900
|
-
var
|
|
901
|
-
|
|
1154
|
+
var CodeVerifier = [
|
|
1155
|
+
0,
|
|
902
1156
|
n0,
|
|
903
|
-
|
|
1157
|
+
_CV,
|
|
1158
|
+
8,
|
|
1159
|
+
0
|
|
1160
|
+
];
|
|
1161
|
+
var IdToken = [
|
|
904
1162
|
0,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
[
|
|
910
|
-
function() {
|
|
911
|
-
return CreateOAuth2TokenRequestBody$;
|
|
912
|
-
},
|
|
913
|
-
16
|
|
914
|
-
]
|
|
915
|
-
],
|
|
916
|
-
1
|
|
1163
|
+
n0,
|
|
1164
|
+
_IT,
|
|
1165
|
+
8,
|
|
1166
|
+
0
|
|
917
1167
|
];
|
|
918
|
-
var
|
|
1168
|
+
var RefreshToken = [
|
|
1169
|
+
0,
|
|
1170
|
+
n0,
|
|
1171
|
+
_RT,
|
|
1172
|
+
8,
|
|
1173
|
+
0
|
|
1174
|
+
];
|
|
1175
|
+
var CreateTokenRequest$ = [
|
|
919
1176
|
3,
|
|
920
1177
|
n0,
|
|
921
|
-
|
|
1178
|
+
_CTR,
|
|
922
1179
|
0,
|
|
923
1180
|
[
|
|
924
1181
|
_cI,
|
|
1182
|
+
_cS,
|
|
925
1183
|
_gT,
|
|
1184
|
+
_dC,
|
|
926
1185
|
_co,
|
|
1186
|
+
_rT,
|
|
1187
|
+
_sc,
|
|
927
1188
|
_rU,
|
|
928
|
-
_cV
|
|
929
|
-
_rT
|
|
1189
|
+
_cV
|
|
930
1190
|
],
|
|
931
1191
|
[
|
|
932
|
-
[
|
|
933
|
-
0,
|
|
934
|
-
_define_property$2({}, _jN, _cI)
|
|
935
|
-
],
|
|
936
|
-
[
|
|
937
|
-
0,
|
|
938
|
-
_define_property$2({}, _jN, _gT)
|
|
939
|
-
],
|
|
940
1192
|
0,
|
|
941
1193
|
[
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
0,
|
|
947
|
-
_define_property$2({}, _jN, _cV)
|
|
1194
|
+
function() {
|
|
1195
|
+
return ClientSecret;
|
|
1196
|
+
},
|
|
1197
|
+
0
|
|
948
1198
|
],
|
|
1199
|
+
0,
|
|
1200
|
+
0,
|
|
1201
|
+
0,
|
|
949
1202
|
[
|
|
950
1203
|
function() {
|
|
951
1204
|
return RefreshToken;
|
|
952
1205
|
},
|
|
953
|
-
|
|
954
|
-
]
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
];
|
|
958
|
-
var CreateOAuth2TokenResponse$ = [
|
|
959
|
-
3,
|
|
960
|
-
n0,
|
|
961
|
-
_COATRr,
|
|
962
|
-
0,
|
|
963
|
-
[
|
|
964
|
-
_tO
|
|
965
|
-
],
|
|
966
|
-
[
|
|
1206
|
+
0
|
|
1207
|
+
],
|
|
1208
|
+
64 | 0,
|
|
1209
|
+
0,
|
|
967
1210
|
[
|
|
968
1211
|
function() {
|
|
969
|
-
return
|
|
1212
|
+
return CodeVerifier;
|
|
970
1213
|
},
|
|
971
|
-
|
|
1214
|
+
0
|
|
972
1215
|
]
|
|
973
1216
|
],
|
|
974
|
-
|
|
1217
|
+
3
|
|
975
1218
|
];
|
|
976
|
-
var
|
|
1219
|
+
var CreateTokenResponse$ = [
|
|
977
1220
|
3,
|
|
978
1221
|
n0,
|
|
979
|
-
|
|
1222
|
+
_CTRr,
|
|
980
1223
|
0,
|
|
981
1224
|
[
|
|
982
1225
|
_aT,
|
|
@@ -988,45 +1231,40 @@ var CreateOAuth2TokenResponseBody$ = [
|
|
|
988
1231
|
[
|
|
989
1232
|
[
|
|
990
1233
|
function() {
|
|
991
|
-
return AccessToken
|
|
1234
|
+
return AccessToken;
|
|
992
1235
|
},
|
|
993
|
-
|
|
994
|
-
],
|
|
995
|
-
[
|
|
996
|
-
0,
|
|
997
|
-
_define_property$2({}, _jN, _tT)
|
|
998
|
-
],
|
|
999
|
-
[
|
|
1000
|
-
1,
|
|
1001
|
-
_define_property$2({}, _jN, _eI)
|
|
1236
|
+
0
|
|
1002
1237
|
],
|
|
1238
|
+
0,
|
|
1239
|
+
1,
|
|
1003
1240
|
[
|
|
1004
1241
|
function() {
|
|
1005
1242
|
return RefreshToken;
|
|
1006
1243
|
},
|
|
1007
|
-
|
|
1244
|
+
0
|
|
1008
1245
|
],
|
|
1009
1246
|
[
|
|
1010
|
-
|
|
1011
|
-
|
|
1247
|
+
function() {
|
|
1248
|
+
return IdToken;
|
|
1249
|
+
},
|
|
1250
|
+
0
|
|
1012
1251
|
]
|
|
1013
|
-
]
|
|
1014
|
-
4
|
|
1252
|
+
]
|
|
1015
1253
|
];
|
|
1016
|
-
var
|
|
1254
|
+
var CreateToken$ = [
|
|
1017
1255
|
9,
|
|
1018
1256
|
n0,
|
|
1019
|
-
|
|
1257
|
+
_CT,
|
|
1020
1258
|
_define_property$2({}, _h, [
|
|
1021
1259
|
"POST",
|
|
1022
|
-
"/
|
|
1260
|
+
"/token",
|
|
1023
1261
|
200
|
|
1024
1262
|
]),
|
|
1025
1263
|
function() {
|
|
1026
|
-
return
|
|
1264
|
+
return CreateTokenRequest$;
|
|
1027
1265
|
},
|
|
1028
1266
|
function() {
|
|
1029
|
-
return
|
|
1267
|
+
return CreateTokenResponse$;
|
|
1030
1268
|
}
|
|
1031
1269
|
];
|
|
1032
1270
|
|
|
@@ -1157,13 +1395,13 @@ function _ts_generator$2(thisArg, body) {
|
|
|
1157
1395
|
var getRuntimeConfig$1 = function(config) {
|
|
1158
1396
|
var _config_base64Decoder, _config_base64Encoder, _config_disableHostPrefix, _config_endpointProvider, _config_extensions, _config_httpAuthSchemeProvider, _config_httpAuthSchemes, _config_logger, _config_protocol, _config_protocolSettings, _config_serviceId, _config_urlParser, _config_utf8Decoder, _config_utf8Encoder;
|
|
1159
1397
|
return {
|
|
1160
|
-
apiVersion: "
|
|
1398
|
+
apiVersion: "2019-06-10",
|
|
1161
1399
|
base64Decoder: (_config_base64Decoder = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _config_base64Decoder !== void 0 ? _config_base64Decoder : fromBase64,
|
|
1162
1400
|
base64Encoder: (_config_base64Encoder = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _config_base64Encoder !== void 0 ? _config_base64Encoder : toBase64,
|
|
1163
1401
|
disableHostPrefix: (_config_disableHostPrefix = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _config_disableHostPrefix !== void 0 ? _config_disableHostPrefix : false,
|
|
1164
1402
|
endpointProvider: (_config_endpointProvider = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _config_endpointProvider !== void 0 ? _config_endpointProvider : defaultEndpointResolver,
|
|
1165
1403
|
extensions: (_config_extensions = config === null || config === void 0 ? void 0 : config.extensions) !== null && _config_extensions !== void 0 ? _config_extensions : [],
|
|
1166
|
-
httpAuthSchemeProvider: (_config_httpAuthSchemeProvider = config === null || config === void 0 ? void 0 : config.httpAuthSchemeProvider) !== null && _config_httpAuthSchemeProvider !== void 0 ? _config_httpAuthSchemeProvider :
|
|
1404
|
+
httpAuthSchemeProvider: (_config_httpAuthSchemeProvider = config === null || config === void 0 ? void 0 : config.httpAuthSchemeProvider) !== null && _config_httpAuthSchemeProvider !== void 0 ? _config_httpAuthSchemeProvider : defaultSSOOIDCHttpAuthSchemeProvider,
|
|
1167
1405
|
httpAuthSchemes: (_config_httpAuthSchemes = config === null || config === void 0 ? void 0 : config.httpAuthSchemes) !== null && _config_httpAuthSchemes !== void 0 ? _config_httpAuthSchemes : [
|
|
1168
1406
|
{
|
|
1169
1407
|
schemeId: "aws.auth#sigv4",
|
|
@@ -1190,12 +1428,12 @@ var getRuntimeConfig$1 = function(config) {
|
|
|
1190
1428
|
logger: (_config_logger = config === null || config === void 0 ? void 0 : config.logger) !== null && _config_logger !== void 0 ? _config_logger : new NoOpLogger(),
|
|
1191
1429
|
protocol: (_config_protocol = config === null || config === void 0 ? void 0 : config.protocol) !== null && _config_protocol !== void 0 ? _config_protocol : AwsRestJsonProtocol,
|
|
1192
1430
|
protocolSettings: (_config_protocolSettings = config === null || config === void 0 ? void 0 : config.protocolSettings) !== null && _config_protocolSettings !== void 0 ? _config_protocolSettings : {
|
|
1193
|
-
defaultNamespace: "com.amazonaws.
|
|
1431
|
+
defaultNamespace: "com.amazonaws.ssooidc",
|
|
1194
1432
|
errorTypeRegistries: errorTypeRegistries,
|
|
1195
|
-
version: "
|
|
1196
|
-
serviceTarget: "
|
|
1433
|
+
version: "2019-06-10",
|
|
1434
|
+
serviceTarget: "AWSSSOOIDCService"
|
|
1197
1435
|
},
|
|
1198
|
-
serviceId: (_config_serviceId = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _config_serviceId !== void 0 ? _config_serviceId : "
|
|
1436
|
+
serviceId: (_config_serviceId = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _config_serviceId !== void 0 ? _config_serviceId : "SSO OIDC",
|
|
1199
1437
|
urlParser: (_config_urlParser = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _config_urlParser !== void 0 ? _config_urlParser : parseUrl,
|
|
1200
1438
|
utf8Decoder: (_config_utf8Decoder = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _config_utf8Decoder !== void 0 ? _config_utf8Decoder : fromUtf8,
|
|
1201
1439
|
utf8Encoder: (_config_utf8Encoder = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _config_utf8Encoder !== void 0 ? _config_utf8Encoder : toUtf8
|
|
@@ -1762,15 +2000,15 @@ function _ts_generator(thisArg, body) {
|
|
|
1762
2000
|
};
|
|
1763
2001
|
}
|
|
1764
2002
|
}
|
|
1765
|
-
var
|
|
1766
|
-
_inherits$2(
|
|
1767
|
-
var _super = _create_super$2(
|
|
1768
|
-
function
|
|
2003
|
+
var SSOOIDCClient = /*#__PURE__*/ function(__Client) {
|
|
2004
|
+
_inherits$2(SSOOIDCClient, __Client);
|
|
2005
|
+
var _super = _create_super$2(SSOOIDCClient);
|
|
2006
|
+
function SSOOIDCClient() {
|
|
1769
2007
|
for(var _len = arguments.length, _tmp = new Array(_len), _key = 0; _key < _len; _key++){
|
|
1770
2008
|
_tmp[_key] = arguments[_key];
|
|
1771
2009
|
}
|
|
1772
2010
|
var _tmp1 = _sliced_to_array(_tmp, 1), configuration = _tmp1[0];
|
|
1773
|
-
_class_call_check$2(this,
|
|
2011
|
+
_class_call_check$2(this, SSOOIDCClient);
|
|
1774
2012
|
var _this;
|
|
1775
2013
|
var _config_0 = getRuntimeConfig(configuration || {});
|
|
1776
2014
|
_this = _super.call(this, _config_0);
|
|
@@ -1793,7 +2031,7 @@ var SigninClient = /*#__PURE__*/ function(__Client) {
|
|
|
1793
2031
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
1794
2032
|
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
1795
2033
|
_this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(_this.config, {
|
|
1796
|
-
httpAuthSchemeParametersProvider:
|
|
2034
|
+
httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
|
|
1797
2035
|
identityProviderConfigProvider: function() {
|
|
1798
2036
|
var _ref = _async_to_generator(function(config) {
|
|
1799
2037
|
return _ts_generator(this, function(_state) {
|
|
@@ -1813,15 +2051,15 @@ var SigninClient = /*#__PURE__*/ function(__Client) {
|
|
|
1813
2051
|
_this.middlewareStack.use(getHttpSigningPlugin(_this.config));
|
|
1814
2052
|
return _this;
|
|
1815
2053
|
}
|
|
1816
|
-
_create_class(
|
|
2054
|
+
_create_class(SSOOIDCClient, [
|
|
1817
2055
|
{
|
|
1818
2056
|
key: "destroy",
|
|
1819
2057
|
value: function destroy() {
|
|
1820
|
-
_get(_get_prototype_of$2(
|
|
2058
|
+
_get(_get_prototype_of$2(SSOOIDCClient.prototype), "destroy", this).call(this);
|
|
1821
2059
|
}
|
|
1822
2060
|
}
|
|
1823
2061
|
]);
|
|
1824
|
-
return
|
|
2062
|
+
return SSOOIDCClient;
|
|
1825
2063
|
}(Client);
|
|
1826
2064
|
|
|
1827
2065
|
function _assert_this_initialized$1(self) {
|
|
@@ -1895,19 +2133,19 @@ function _create_super$1(Derived) {
|
|
|
1895
2133
|
return _possible_constructor_return$1(this, result);
|
|
1896
2134
|
};
|
|
1897
2135
|
}
|
|
1898
|
-
var
|
|
1899
|
-
_inherits$1(
|
|
1900
|
-
var _super = _create_super$1(
|
|
1901
|
-
function
|
|
1902
|
-
_class_call_check$1(this,
|
|
2136
|
+
var CreateTokenCommand = /*#__PURE__*/ function(_$Command_classBuilder_ep_m_s_n_sc_build) {
|
|
2137
|
+
_inherits$1(CreateTokenCommand, _$Command_classBuilder_ep_m_s_n_sc_build);
|
|
2138
|
+
var _super = _create_super$1(CreateTokenCommand);
|
|
2139
|
+
function CreateTokenCommand() {
|
|
2140
|
+
_class_call_check$1(this, CreateTokenCommand);
|
|
1903
2141
|
return _super.apply(this, arguments);
|
|
1904
2142
|
}
|
|
1905
|
-
return
|
|
2143
|
+
return CreateTokenCommand;
|
|
1906
2144
|
}(Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1907
2145
|
return [
|
|
1908
2146
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions())
|
|
1909
2147
|
];
|
|
1910
|
-
}).s("
|
|
2148
|
+
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken$).build());
|
|
1911
2149
|
|
|
1912
2150
|
function _assert_this_initialized(self) {
|
|
1913
2151
|
if (self === void 0) {
|
|
@@ -1981,26 +2219,27 @@ function _create_super(Derived) {
|
|
|
1981
2219
|
};
|
|
1982
2220
|
}
|
|
1983
2221
|
var commands = {
|
|
1984
|
-
|
|
2222
|
+
CreateTokenCommand: CreateTokenCommand
|
|
1985
2223
|
};
|
|
1986
|
-
var
|
|
1987
|
-
_inherits(
|
|
1988
|
-
var _super = _create_super(
|
|
1989
|
-
function
|
|
1990
|
-
_class_call_check(this,
|
|
2224
|
+
var SSOOIDC = /*#__PURE__*/ function(SSOOIDCClient) {
|
|
2225
|
+
_inherits(SSOOIDC, SSOOIDCClient);
|
|
2226
|
+
var _super = _create_super(SSOOIDC);
|
|
2227
|
+
function SSOOIDC() {
|
|
2228
|
+
_class_call_check(this, SSOOIDC);
|
|
1991
2229
|
return _super.apply(this, arguments);
|
|
1992
2230
|
}
|
|
1993
|
-
return
|
|
1994
|
-
}(
|
|
1995
|
-
createAggregatedClient(commands,
|
|
2231
|
+
return SSOOIDC;
|
|
2232
|
+
}(SSOOIDCClient);
|
|
2233
|
+
createAggregatedClient(commands, SSOOIDC);
|
|
1996
2234
|
|
|
1997
|
-
var
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2235
|
+
var AccessDeniedExceptionReason = {
|
|
2236
|
+
KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
|
|
2237
|
+
};
|
|
2238
|
+
var InvalidRequestExceptionReason = {
|
|
2239
|
+
KMS_DISABLED_KEY: "KMS_DisabledException",
|
|
2240
|
+
KMS_INVALID_KEY_USAGE: "KMS_InvalidKeyUsageException",
|
|
2241
|
+
KMS_INVALID_STATE: "KMS_InvalidStateException",
|
|
2242
|
+
KMS_KEY_NOT_FOUND: "KMS_NotFoundException"
|
|
2004
2243
|
};
|
|
2005
2244
|
|
|
2006
|
-
export { Command as $Command, AccessDeniedException, AccessDeniedException$,
|
|
2245
|
+
export { Command as $Command, AccessDeniedException, AccessDeniedException$, AccessDeniedExceptionReason, AuthorizationPendingException, AuthorizationPendingException$, CreateToken$, CreateTokenCommand, CreateTokenRequest$, CreateTokenResponse$, ExpiredTokenException, ExpiredTokenException$, InternalServerException, InternalServerException$, InvalidClientException, InvalidClientException$, InvalidGrantException, InvalidGrantException$, InvalidRequestException, InvalidRequestException$, InvalidRequestExceptionReason, InvalidScopeException, InvalidScopeException$, SSOOIDC, SSOOIDCClient, SSOOIDCServiceException, SSOOIDCServiceException$, SlowDownException, SlowDownException$, UnauthorizedClientException, UnauthorizedClientException$, UnsupportedGrantTypeException, UnsupportedGrantTypeException$, Client as __Client, errorTypeRegistries };
|