@aws-sdk/client-sso-oidc 3.943.0 → 3.947.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-cjs/index.js +18 -117
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/SSOOIDCClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +18 -118
- package/dist-types/SSOOIDC.d.ts +1 -1
- package/dist-types/SSOOIDCClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateTokenCommand.d.ts +3 -3
- package/dist-types/commands/CreateTokenWithIAMCommand.d.ts +3 -3
- package/dist-types/commands/RegisterClientCommand.d.ts +3 -3
- package/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/SSOOIDCServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -442,10 +442,7 @@ var AccessDeniedException = [
|
|
|
442
442
|
-3,
|
|
443
443
|
n0,
|
|
444
444
|
_ADE,
|
|
445
|
-
{
|
|
446
|
-
[_e]: _c,
|
|
447
|
-
[_hE]: 400,
|
|
448
|
-
},
|
|
445
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
449
446
|
[_e, _r, _ed],
|
|
450
447
|
[0, 0, 0],
|
|
451
448
|
];
|
|
@@ -454,10 +451,7 @@ var AuthorizationPendingException = [
|
|
|
454
451
|
-3,
|
|
455
452
|
n0,
|
|
456
453
|
_APE,
|
|
457
|
-
{
|
|
458
|
-
[_e]: _c,
|
|
459
|
-
[_hE]: 400,
|
|
460
|
-
},
|
|
454
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
461
455
|
[_e, _ed],
|
|
462
456
|
[0, 0],
|
|
463
457
|
];
|
|
@@ -507,74 +501,28 @@ var CreateTokenWithIAMResponse = [
|
|
|
507
501
|
[_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
|
|
508
502
|
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails],
|
|
509
503
|
];
|
|
510
|
-
var ExpiredTokenException = [
|
|
511
|
-
-3,
|
|
512
|
-
n0,
|
|
513
|
-
_ETE,
|
|
514
|
-
{
|
|
515
|
-
[_e]: _c,
|
|
516
|
-
[_hE]: 400,
|
|
517
|
-
},
|
|
518
|
-
[_e, _ed],
|
|
519
|
-
[0, 0],
|
|
520
|
-
];
|
|
504
|
+
var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
521
505
|
schema.TypeRegistry.for(n0).registerError(ExpiredTokenException, ExpiredTokenException$1);
|
|
522
|
-
var InternalServerException = [
|
|
523
|
-
-3,
|
|
524
|
-
n0,
|
|
525
|
-
_ISE,
|
|
526
|
-
{
|
|
527
|
-
[_e]: _se,
|
|
528
|
-
[_hE]: 500,
|
|
529
|
-
},
|
|
530
|
-
[_e, _ed],
|
|
531
|
-
[0, 0],
|
|
532
|
-
];
|
|
506
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
533
507
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
534
|
-
var InvalidClientException = [
|
|
535
|
-
-3,
|
|
536
|
-
n0,
|
|
537
|
-
_ICE,
|
|
538
|
-
{
|
|
539
|
-
[_e]: _c,
|
|
540
|
-
[_hE]: 401,
|
|
541
|
-
},
|
|
542
|
-
[_e, _ed],
|
|
543
|
-
[0, 0],
|
|
544
|
-
];
|
|
508
|
+
var InvalidClientException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
545
509
|
schema.TypeRegistry.for(n0).registerError(InvalidClientException, InvalidClientException$1);
|
|
546
510
|
var InvalidClientMetadataException = [
|
|
547
511
|
-3,
|
|
548
512
|
n0,
|
|
549
513
|
_ICME,
|
|
550
|
-
{
|
|
551
|
-
[_e]: _c,
|
|
552
|
-
[_hE]: 400,
|
|
553
|
-
},
|
|
514
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
554
515
|
[_e, _ed],
|
|
555
516
|
[0, 0],
|
|
556
517
|
];
|
|
557
518
|
schema.TypeRegistry.for(n0).registerError(InvalidClientMetadataException, InvalidClientMetadataException$1);
|
|
558
|
-
var InvalidGrantException = [
|
|
559
|
-
-3,
|
|
560
|
-
n0,
|
|
561
|
-
_IGE,
|
|
562
|
-
{
|
|
563
|
-
[_e]: _c,
|
|
564
|
-
[_hE]: 400,
|
|
565
|
-
},
|
|
566
|
-
[_e, _ed],
|
|
567
|
-
[0, 0],
|
|
568
|
-
];
|
|
519
|
+
var InvalidGrantException = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
569
520
|
schema.TypeRegistry.for(n0).registerError(InvalidGrantException, InvalidGrantException$1);
|
|
570
521
|
var InvalidRedirectUriException = [
|
|
571
522
|
-3,
|
|
572
523
|
n0,
|
|
573
524
|
_IRUE,
|
|
574
|
-
{
|
|
575
|
-
[_e]: _c,
|
|
576
|
-
[_hE]: 400,
|
|
577
|
-
},
|
|
525
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
578
526
|
[_e, _ed],
|
|
579
527
|
[0, 0],
|
|
580
528
|
];
|
|
@@ -583,10 +531,7 @@ var InvalidRequestException = [
|
|
|
583
531
|
-3,
|
|
584
532
|
n0,
|
|
585
533
|
_IRE,
|
|
586
|
-
{
|
|
587
|
-
[_e]: _c,
|
|
588
|
-
[_hE]: 400,
|
|
589
|
-
},
|
|
534
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
590
535
|
[_e, _r, _ed],
|
|
591
536
|
[0, 0, 0],
|
|
592
537
|
];
|
|
@@ -595,25 +540,12 @@ var InvalidRequestRegionException = [
|
|
|
595
540
|
-3,
|
|
596
541
|
n0,
|
|
597
542
|
_IRRE,
|
|
598
|
-
{
|
|
599
|
-
[_e]: _c,
|
|
600
|
-
[_hE]: 400,
|
|
601
|
-
},
|
|
543
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
602
544
|
[_e, _ed, _en, _re],
|
|
603
545
|
[0, 0, 0, 0],
|
|
604
546
|
];
|
|
605
547
|
schema.TypeRegistry.for(n0).registerError(InvalidRequestRegionException, InvalidRequestRegionException$1);
|
|
606
|
-
var InvalidScopeException = [
|
|
607
|
-
-3,
|
|
608
|
-
n0,
|
|
609
|
-
_ISEn,
|
|
610
|
-
{
|
|
611
|
-
[_e]: _c,
|
|
612
|
-
[_hE]: 400,
|
|
613
|
-
},
|
|
614
|
-
[_e, _ed],
|
|
615
|
-
[0, 0],
|
|
616
|
-
];
|
|
548
|
+
var InvalidScopeException = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
617
549
|
schema.TypeRegistry.for(n0).registerError(InvalidScopeException, InvalidScopeException$1);
|
|
618
550
|
var RegisterClientRequest = [
|
|
619
551
|
3,
|
|
@@ -631,17 +563,7 @@ var RegisterClientResponse = [
|
|
|
631
563
|
[_cI, _cS, _cIIA, _cSEA, _aE, _tE],
|
|
632
564
|
[0, [() => ClientSecret, 0], 1, 1, 0, 0],
|
|
633
565
|
];
|
|
634
|
-
var SlowDownException = [
|
|
635
|
-
-3,
|
|
636
|
-
n0,
|
|
637
|
-
_SDE,
|
|
638
|
-
{
|
|
639
|
-
[_e]: _c,
|
|
640
|
-
[_hE]: 400,
|
|
641
|
-
},
|
|
642
|
-
[_e, _ed],
|
|
643
|
-
[0, 0],
|
|
644
|
-
];
|
|
566
|
+
var SlowDownException = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
645
567
|
schema.TypeRegistry.for(n0).registerError(SlowDownException, SlowDownException$1);
|
|
646
568
|
var StartDeviceAuthorizationRequest = [
|
|
647
569
|
3,
|
|
@@ -659,26 +581,13 @@ var StartDeviceAuthorizationResponse = [
|
|
|
659
581
|
[_dC, _uC, _vU, _vUC, _eI, _i],
|
|
660
582
|
[0, 0, 0, 0, 1, 1],
|
|
661
583
|
];
|
|
662
|
-
var UnauthorizedClientException = [
|
|
663
|
-
-3,
|
|
664
|
-
n0,
|
|
665
|
-
_UCE,
|
|
666
|
-
{
|
|
667
|
-
[_e]: _c,
|
|
668
|
-
[_hE]: 400,
|
|
669
|
-
},
|
|
670
|
-
[_e, _ed],
|
|
671
|
-
[0, 0],
|
|
672
|
-
];
|
|
584
|
+
var UnauthorizedClientException = [-3, n0, _UCE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
673
585
|
schema.TypeRegistry.for(n0).registerError(UnauthorizedClientException, UnauthorizedClientException$1);
|
|
674
586
|
var UnsupportedGrantTypeException = [
|
|
675
587
|
-3,
|
|
676
588
|
n0,
|
|
677
589
|
_UGTE,
|
|
678
|
-
{
|
|
679
|
-
[_e]: _c,
|
|
680
|
-
[_hE]: 400,
|
|
681
|
-
},
|
|
590
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
682
591
|
[_e, _ed],
|
|
683
592
|
[0, 0],
|
|
684
593
|
];
|
|
@@ -689,9 +598,7 @@ var CreateToken = [
|
|
|
689
598
|
9,
|
|
690
599
|
n0,
|
|
691
600
|
_CT,
|
|
692
|
-
{
|
|
693
|
-
[_h]: ["POST", "/token", 200],
|
|
694
|
-
},
|
|
601
|
+
{ [_h]: ["POST", "/token", 200] },
|
|
695
602
|
() => CreateTokenRequest,
|
|
696
603
|
() => CreateTokenResponse,
|
|
697
604
|
];
|
|
@@ -699,9 +606,7 @@ var CreateTokenWithIAM = [
|
|
|
699
606
|
9,
|
|
700
607
|
n0,
|
|
701
608
|
_CTWIAM,
|
|
702
|
-
{
|
|
703
|
-
[_h]: ["POST", "/token?aws_iam=t", 200],
|
|
704
|
-
},
|
|
609
|
+
{ [_h]: ["POST", "/token?aws_iam=t", 200] },
|
|
705
610
|
() => CreateTokenWithIAMRequest,
|
|
706
611
|
() => CreateTokenWithIAMResponse,
|
|
707
612
|
];
|
|
@@ -709,9 +614,7 @@ var RegisterClient = [
|
|
|
709
614
|
9,
|
|
710
615
|
n0,
|
|
711
616
|
_RC,
|
|
712
|
-
{
|
|
713
|
-
[_h]: ["POST", "/client/register", 200],
|
|
714
|
-
},
|
|
617
|
+
{ [_h]: ["POST", "/client/register", 200] },
|
|
715
618
|
() => RegisterClientRequest,
|
|
716
619
|
() => RegisterClientResponse,
|
|
717
620
|
];
|
|
@@ -719,9 +622,7 @@ var StartDeviceAuthorization = [
|
|
|
719
622
|
9,
|
|
720
623
|
n0,
|
|
721
624
|
_SDA,
|
|
722
|
-
{
|
|
723
|
-
[_h]: ["POST", "/device_authorization", 200],
|
|
724
|
-
},
|
|
625
|
+
{ [_h]: ["POST", "/device_authorization", 200] },
|
|
725
626
|
() => StartDeviceAuthorizationRequest,
|
|
726
627
|
() => StartDeviceAuthorizationResponse,
|
|
727
628
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/SSOOIDCClient.js
CHANGED
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultSSOOIDCHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -93,10 +93,7 @@ export var AccessDeniedException = [
|
|
|
93
93
|
-3,
|
|
94
94
|
n0,
|
|
95
95
|
_ADE,
|
|
96
|
-
{
|
|
97
|
-
[_e]: _c,
|
|
98
|
-
[_hE]: 400,
|
|
99
|
-
},
|
|
96
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
100
97
|
[_e, _r, _ed],
|
|
101
98
|
[0, 0, 0],
|
|
102
99
|
];
|
|
@@ -105,10 +102,7 @@ export var AuthorizationPendingException = [
|
|
|
105
102
|
-3,
|
|
106
103
|
n0,
|
|
107
104
|
_APE,
|
|
108
|
-
{
|
|
109
|
-
[_e]: _c,
|
|
110
|
-
[_hE]: 400,
|
|
111
|
-
},
|
|
105
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
112
106
|
[_e, _ed],
|
|
113
107
|
[0, 0],
|
|
114
108
|
];
|
|
@@ -158,74 +152,28 @@ export var CreateTokenWithIAMResponse = [
|
|
|
158
152
|
[_aT, _tT, _eI, _rT, _iT, _iTT, _s, _aAD],
|
|
159
153
|
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0], 0, 64 | 0, () => AwsAdditionalDetails],
|
|
160
154
|
];
|
|
161
|
-
export var ExpiredTokenException = [
|
|
162
|
-
-3,
|
|
163
|
-
n0,
|
|
164
|
-
_ETE,
|
|
165
|
-
{
|
|
166
|
-
[_e]: _c,
|
|
167
|
-
[_hE]: 400,
|
|
168
|
-
},
|
|
169
|
-
[_e, _ed],
|
|
170
|
-
[0, 0],
|
|
171
|
-
];
|
|
155
|
+
export var ExpiredTokenException = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
172
156
|
TypeRegistry.for(n0).registerError(ExpiredTokenException, __ExpiredTokenException);
|
|
173
|
-
export var InternalServerException = [
|
|
174
|
-
-3,
|
|
175
|
-
n0,
|
|
176
|
-
_ISE,
|
|
177
|
-
{
|
|
178
|
-
[_e]: _se,
|
|
179
|
-
[_hE]: 500,
|
|
180
|
-
},
|
|
181
|
-
[_e, _ed],
|
|
182
|
-
[0, 0],
|
|
183
|
-
];
|
|
157
|
+
export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
|
|
184
158
|
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
185
|
-
export var InvalidClientException = [
|
|
186
|
-
-3,
|
|
187
|
-
n0,
|
|
188
|
-
_ICE,
|
|
189
|
-
{
|
|
190
|
-
[_e]: _c,
|
|
191
|
-
[_hE]: 401,
|
|
192
|
-
},
|
|
193
|
-
[_e, _ed],
|
|
194
|
-
[0, 0],
|
|
195
|
-
];
|
|
159
|
+
export var InvalidClientException = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
|
|
196
160
|
TypeRegistry.for(n0).registerError(InvalidClientException, __InvalidClientException);
|
|
197
161
|
export var InvalidClientMetadataException = [
|
|
198
162
|
-3,
|
|
199
163
|
n0,
|
|
200
164
|
_ICME,
|
|
201
|
-
{
|
|
202
|
-
[_e]: _c,
|
|
203
|
-
[_hE]: 400,
|
|
204
|
-
},
|
|
165
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
205
166
|
[_e, _ed],
|
|
206
167
|
[0, 0],
|
|
207
168
|
];
|
|
208
169
|
TypeRegistry.for(n0).registerError(InvalidClientMetadataException, __InvalidClientMetadataException);
|
|
209
|
-
export var InvalidGrantException = [
|
|
210
|
-
-3,
|
|
211
|
-
n0,
|
|
212
|
-
_IGE,
|
|
213
|
-
{
|
|
214
|
-
[_e]: _c,
|
|
215
|
-
[_hE]: 400,
|
|
216
|
-
},
|
|
217
|
-
[_e, _ed],
|
|
218
|
-
[0, 0],
|
|
219
|
-
];
|
|
170
|
+
export var InvalidGrantException = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
220
171
|
TypeRegistry.for(n0).registerError(InvalidGrantException, __InvalidGrantException);
|
|
221
172
|
export var InvalidRedirectUriException = [
|
|
222
173
|
-3,
|
|
223
174
|
n0,
|
|
224
175
|
_IRUE,
|
|
225
|
-
{
|
|
226
|
-
[_e]: _c,
|
|
227
|
-
[_hE]: 400,
|
|
228
|
-
},
|
|
176
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
229
177
|
[_e, _ed],
|
|
230
178
|
[0, 0],
|
|
231
179
|
];
|
|
@@ -234,10 +182,7 @@ export var InvalidRequestException = [
|
|
|
234
182
|
-3,
|
|
235
183
|
n0,
|
|
236
184
|
_IRE,
|
|
237
|
-
{
|
|
238
|
-
[_e]: _c,
|
|
239
|
-
[_hE]: 400,
|
|
240
|
-
},
|
|
185
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
241
186
|
[_e, _r, _ed],
|
|
242
187
|
[0, 0, 0],
|
|
243
188
|
];
|
|
@@ -246,25 +191,12 @@ export var InvalidRequestRegionException = [
|
|
|
246
191
|
-3,
|
|
247
192
|
n0,
|
|
248
193
|
_IRRE,
|
|
249
|
-
{
|
|
250
|
-
[_e]: _c,
|
|
251
|
-
[_hE]: 400,
|
|
252
|
-
},
|
|
194
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
253
195
|
[_e, _ed, _en, _re],
|
|
254
196
|
[0, 0, 0, 0],
|
|
255
197
|
];
|
|
256
198
|
TypeRegistry.for(n0).registerError(InvalidRequestRegionException, __InvalidRequestRegionException);
|
|
257
|
-
export var InvalidScopeException = [
|
|
258
|
-
-3,
|
|
259
|
-
n0,
|
|
260
|
-
_ISEn,
|
|
261
|
-
{
|
|
262
|
-
[_e]: _c,
|
|
263
|
-
[_hE]: 400,
|
|
264
|
-
},
|
|
265
|
-
[_e, _ed],
|
|
266
|
-
[0, 0],
|
|
267
|
-
];
|
|
199
|
+
export var InvalidScopeException = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
268
200
|
TypeRegistry.for(n0).registerError(InvalidScopeException, __InvalidScopeException);
|
|
269
201
|
export var RegisterClientRequest = [
|
|
270
202
|
3,
|
|
@@ -282,17 +214,7 @@ export var RegisterClientResponse = [
|
|
|
282
214
|
[_cI, _cS, _cIIA, _cSEA, _aE, _tE],
|
|
283
215
|
[0, [() => ClientSecret, 0], 1, 1, 0, 0],
|
|
284
216
|
];
|
|
285
|
-
export var SlowDownException = [
|
|
286
|
-
-3,
|
|
287
|
-
n0,
|
|
288
|
-
_SDE,
|
|
289
|
-
{
|
|
290
|
-
[_e]: _c,
|
|
291
|
-
[_hE]: 400,
|
|
292
|
-
},
|
|
293
|
-
[_e, _ed],
|
|
294
|
-
[0, 0],
|
|
295
|
-
];
|
|
217
|
+
export var SlowDownException = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
296
218
|
TypeRegistry.for(n0).registerError(SlowDownException, __SlowDownException);
|
|
297
219
|
export var StartDeviceAuthorizationRequest = [
|
|
298
220
|
3,
|
|
@@ -310,31 +232,17 @@ export var StartDeviceAuthorizationResponse = [
|
|
|
310
232
|
[_dC, _uC, _vU, _vUC, _eI, _i],
|
|
311
233
|
[0, 0, 0, 0, 1, 1],
|
|
312
234
|
];
|
|
313
|
-
export var UnauthorizedClientException = [
|
|
314
|
-
-3,
|
|
315
|
-
n0,
|
|
316
|
-
_UCE,
|
|
317
|
-
{
|
|
318
|
-
[_e]: _c,
|
|
319
|
-
[_hE]: 400,
|
|
320
|
-
},
|
|
321
|
-
[_e, _ed],
|
|
322
|
-
[0, 0],
|
|
323
|
-
];
|
|
235
|
+
export var UnauthorizedClientException = [-3, n0, _UCE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
|
|
324
236
|
TypeRegistry.for(n0).registerError(UnauthorizedClientException, __UnauthorizedClientException);
|
|
325
237
|
export var UnsupportedGrantTypeException = [
|
|
326
238
|
-3,
|
|
327
239
|
n0,
|
|
328
240
|
_UGTE,
|
|
329
|
-
{
|
|
330
|
-
[_e]: _c,
|
|
331
|
-
[_hE]: 400,
|
|
332
|
-
},
|
|
241
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
333
242
|
[_e, _ed],
|
|
334
243
|
[0, 0],
|
|
335
244
|
];
|
|
336
245
|
TypeRegistry.for(n0).registerError(UnsupportedGrantTypeException, __UnsupportedGrantTypeException);
|
|
337
|
-
export var __Unit = "unit";
|
|
338
246
|
export var SSOOIDCServiceException = [-3, _sm, "SSOOIDCServiceException", 0, [], []];
|
|
339
247
|
TypeRegistry.for(_sm).registerError(SSOOIDCServiceException, __SSOOIDCServiceException);
|
|
340
248
|
export var GrantTypes = 64 | 0;
|
|
@@ -344,9 +252,7 @@ export var CreateToken = [
|
|
|
344
252
|
9,
|
|
345
253
|
n0,
|
|
346
254
|
_CT,
|
|
347
|
-
{
|
|
348
|
-
[_h]: ["POST", "/token", 200],
|
|
349
|
-
},
|
|
255
|
+
{ [_h]: ["POST", "/token", 200] },
|
|
350
256
|
() => CreateTokenRequest,
|
|
351
257
|
() => CreateTokenResponse,
|
|
352
258
|
];
|
|
@@ -354,9 +260,7 @@ export var CreateTokenWithIAM = [
|
|
|
354
260
|
9,
|
|
355
261
|
n0,
|
|
356
262
|
_CTWIAM,
|
|
357
|
-
{
|
|
358
|
-
[_h]: ["POST", "/token?aws_iam=t", 200],
|
|
359
|
-
},
|
|
263
|
+
{ [_h]: ["POST", "/token?aws_iam=t", 200] },
|
|
360
264
|
() => CreateTokenWithIAMRequest,
|
|
361
265
|
() => CreateTokenWithIAMResponse,
|
|
362
266
|
];
|
|
@@ -364,9 +268,7 @@ export var RegisterClient = [
|
|
|
364
268
|
9,
|
|
365
269
|
n0,
|
|
366
270
|
_RC,
|
|
367
|
-
{
|
|
368
|
-
[_h]: ["POST", "/client/register", 200],
|
|
369
|
-
},
|
|
271
|
+
{ [_h]: ["POST", "/client/register", 200] },
|
|
370
272
|
() => RegisterClientRequest,
|
|
371
273
|
() => RegisterClientResponse,
|
|
372
274
|
];
|
|
@@ -374,9 +276,7 @@ export var StartDeviceAuthorization = [
|
|
|
374
276
|
9,
|
|
375
277
|
n0,
|
|
376
278
|
_SDA,
|
|
377
|
-
{
|
|
378
|
-
[_h]: ["POST", "/device_authorization", 200],
|
|
379
|
-
},
|
|
279
|
+
{ [_h]: ["POST", "/device_authorization", 200] },
|
|
380
280
|
() => StartDeviceAuthorizationRequest,
|
|
381
281
|
() => StartDeviceAuthorizationResponse,
|
|
382
282
|
];
|
package/dist-types/SSOOIDC.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
3
3
|
import { CreateTokenWithIAMCommandInput, CreateTokenWithIAMCommandOutput } from "./commands/CreateTokenWithIAMCommand";
|
|
4
4
|
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
11
11
|
import { CreateTokenWithIAMCommandInput, CreateTokenWithIAMCommandOutput } from "./commands/CreateTokenWithIAMCommand";
|
|
12
12
|
import { RegisterClientCommandInput, RegisterClientCommandOutput } from "./commands/RegisterClientCommand";
|
|
13
13
|
import { StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput } from "./commands/StartDeviceAuthorizationCommand";
|
|
14
14
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
15
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
16
16
|
export { __Client };
|
|
17
17
|
/**
|
|
18
18
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateTokenRequest, CreateTokenResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateTokenWithIAMRequest, CreateTokenWithIAMResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateTokenWithIAMRequest, CreateTokenWithIAMResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { RegisterClientRequest, RegisterClientResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { RegisterClientRequest, RegisterClientResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartDeviceAuthorizationRequest, StartDeviceAuthorizationResponse } from "../models/models_0";
|
|
4
|
-
import { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { StartDeviceAuthorizationRequest, StartDeviceAuthorizationResponse } from "../models/models_0";
|
|
4
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
3
3
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
4
4
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
2
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
|
-
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
-
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
3
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import type { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AccessToken: StaticSimpleSchema;
|
|
3
3
|
export declare var Assertion: StaticSimpleSchema;
|
|
4
4
|
export declare var ClientSecret: StaticSimpleSchema;
|
|
@@ -29,7 +29,6 @@ export declare var StartDeviceAuthorizationRequest: StaticStructureSchema;
|
|
|
29
29
|
export declare var StartDeviceAuthorizationResponse: StaticStructureSchema;
|
|
30
30
|
export declare var UnauthorizedClientException: StaticErrorSchema;
|
|
31
31
|
export declare var UnsupportedGrantTypeException: StaticErrorSchema;
|
|
32
|
-
export declare var __Unit: "unit";
|
|
33
32
|
export declare var SSOOIDCServiceException: StaticErrorSchema;
|
|
34
33
|
export declare var GrantTypes: number;
|
|
35
34
|
export declare var RedirectUris: number;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -34,7 +34,6 @@ export declare var StartDeviceAuthorizationRequest: StaticStructureSchema;
|
|
|
34
34
|
export declare var StartDeviceAuthorizationResponse: StaticStructureSchema;
|
|
35
35
|
export declare var UnauthorizedClientException: StaticErrorSchema;
|
|
36
36
|
export declare var UnsupportedGrantTypeException: StaticErrorSchema;
|
|
37
|
-
export declare var __Unit: "unit";
|
|
38
37
|
export declare var SSOOIDCServiceException: StaticErrorSchema;
|
|
39
38
|
export declare var GrantTypes: number;
|
|
40
39
|
export declare var RedirectUris: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.947.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo sso-oidc"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo sso-oidc",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +21,38 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
31
|
"@aws-sdk/types": "3.936.0",
|
|
31
32
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
34
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
36
|
+
"@smithy/core": "^3.18.7",
|
|
36
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
38
|
"@smithy/hash-node": "^4.2.5",
|
|
38
39
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
40
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
42
43
|
"@smithy/middleware-serde": "^4.2.6",
|
|
43
44
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
45
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
46
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
47
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
48
49
|
"@smithy/types": "^4.9.0",
|
|
49
50
|
"@smithy/url-parser": "^4.2.5",
|
|
50
51
|
"@smithy/util-base64": "^4.3.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
55
56
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
57
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
58
|
"@smithy/util-retry": "^4.2.5",
|