@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.21 → 1.3.23
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/.jsii +4 -4
- package/lib/index.js +2 -2
- package/node_modules/@aws-sdk/client-acm/package.json +3 -3
- package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
- package/package.json +5 -5
|
@@ -36,52 +36,52 @@ const _s_registry = TypeRegistry.for(_s);
|
|
|
36
36
|
export var SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []];
|
|
37
37
|
_s_registry.registerError(SSOServiceException$, SSOServiceException);
|
|
38
38
|
const n0_registry = TypeRegistry.for(n0);
|
|
39
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
39
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
40
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
41
|
+
[_m],
|
|
42
|
+
[0]
|
|
43
|
+
];
|
|
40
44
|
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
41
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
45
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
46
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
47
|
+
[_m],
|
|
48
|
+
[0]
|
|
49
|
+
];
|
|
42
50
|
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
43
|
-
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
51
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
52
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
53
|
+
[_m],
|
|
54
|
+
[0]
|
|
55
|
+
];
|
|
44
56
|
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
45
|
-
export var UnauthorizedException$ = [-3, n0, _UE,
|
|
57
|
+
export var UnauthorizedException$ = [-3, n0, _UE,
|
|
58
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
59
|
+
[_m],
|
|
60
|
+
[0]
|
|
61
|
+
];
|
|
46
62
|
n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
|
|
47
|
-
export const errorTypeRegistries = [
|
|
63
|
+
export const errorTypeRegistries = [
|
|
64
|
+
_s_registry,
|
|
65
|
+
n0_registry,
|
|
66
|
+
];
|
|
48
67
|
var AccessTokenType = [0, n0, _ATT, 8, 0];
|
|
49
68
|
var SecretAccessKeyType = [0, n0, _SAKT, 8, 0];
|
|
50
69
|
var SessionTokenType = [0, n0, _STT, 8, 0];
|
|
51
|
-
export var GetRoleCredentialsRequest$ = [
|
|
52
|
-
3,
|
|
53
|
-
n0,
|
|
54
|
-
_GRCR,
|
|
70
|
+
export var GetRoleCredentialsRequest$ = [3, n0, _GRCR,
|
|
55
71
|
0,
|
|
56
72
|
[_rN, _aI, _aT],
|
|
57
|
-
[
|
|
58
|
-
[0, { [_hQ]: _rn }],
|
|
59
|
-
[0, { [_hQ]: _ai }],
|
|
60
|
-
[() => AccessTokenType, { [_hH]: _xasbt }],
|
|
61
|
-
],
|
|
62
|
-
3,
|
|
73
|
+
[[0, { [_hQ]: _rn }], [0, { [_hQ]: _ai }], [() => AccessTokenType, { [_hH]: _xasbt }]], 3
|
|
63
74
|
];
|
|
64
|
-
export var GetRoleCredentialsResponse$ = [
|
|
65
|
-
3,
|
|
66
|
-
n0,
|
|
67
|
-
_GRCRe,
|
|
75
|
+
export var GetRoleCredentialsResponse$ = [3, n0, _GRCRe,
|
|
68
76
|
0,
|
|
69
77
|
[_rC],
|
|
70
|
-
[[() => RoleCredentials$, 0]]
|
|
78
|
+
[[() => RoleCredentials$, 0]]
|
|
71
79
|
];
|
|
72
|
-
export var RoleCredentials$ = [
|
|
73
|
-
3,
|
|
74
|
-
n0,
|
|
75
|
-
_RC,
|
|
80
|
+
export var RoleCredentials$ = [3, n0, _RC,
|
|
76
81
|
0,
|
|
77
82
|
[_aKI, _sAK, _sT, _ex],
|
|
78
|
-
[0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
|
|
83
|
+
[0, [() => SecretAccessKeyType, 0], [() => SessionTokenType, 0], 1]
|
|
79
84
|
];
|
|
80
|
-
export var GetRoleCredentials$ = [
|
|
81
|
-
|
|
82
|
-
n0,
|
|
83
|
-
_GRC,
|
|
84
|
-
{ [_h]: ["GET", "/federation/credentials", 200] },
|
|
85
|
-
() => GetRoleCredentialsRequest$,
|
|
86
|
-
() => GetRoleCredentialsResponse$,
|
|
85
|
+
export var GetRoleCredentials$ = [9, n0, _GRC,
|
|
86
|
+
{ [_h]: ["GET", "/federation/credentials", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$
|
|
87
87
|
];
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -10,7 +10,7 @@ const _data = {
|
|
|
10
10
|
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
11
|
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
12
|
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
-
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
13
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
14
14
|
],
|
|
15
15
|
results: [
|
|
16
16
|
[a],
|
|
@@ -25,53 +25,25 @@ const _data = {
|
|
|
25
25
|
["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
26
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
27
|
["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
28
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
29
|
-
]
|
|
28
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
29
|
+
]
|
|
30
30
|
};
|
|
31
31
|
const root = 2;
|
|
32
32
|
const r = 100_000_000;
|
|
33
33
|
const nodes = new Int32Array([
|
|
34
|
-
-1,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
4,
|
|
42
|
-
r +
|
|
43
|
-
|
|
44
|
-
5,
|
|
45
|
-
r +
|
|
46
|
-
3,
|
|
47
|
-
|
|
48
|
-
6,
|
|
49
|
-
4,
|
|
50
|
-
7,
|
|
51
|
-
r + 11,
|
|
52
|
-
5,
|
|
53
|
-
r + 9,
|
|
54
|
-
r + 10,
|
|
55
|
-
4,
|
|
56
|
-
11,
|
|
57
|
-
9,
|
|
58
|
-
6,
|
|
59
|
-
10,
|
|
60
|
-
r + 8,
|
|
61
|
-
7,
|
|
62
|
-
r + 6,
|
|
63
|
-
r + 7,
|
|
64
|
-
5,
|
|
65
|
-
12,
|
|
66
|
-
r + 5,
|
|
67
|
-
6,
|
|
68
|
-
r + 4,
|
|
69
|
-
r + 5,
|
|
70
|
-
3,
|
|
71
|
-
r + 1,
|
|
72
|
-
14,
|
|
73
|
-
4,
|
|
74
|
-
r + 2,
|
|
75
|
-
r + 3,
|
|
34
|
+
-1, 1, -1,
|
|
35
|
+
0, 13, 3,
|
|
36
|
+
1, 4, r + 12,
|
|
37
|
+
2, 5, r + 12,
|
|
38
|
+
3, 8, 6,
|
|
39
|
+
4, 7, r + 11,
|
|
40
|
+
5, r + 9, r + 10,
|
|
41
|
+
4, 11, 9,
|
|
42
|
+
6, 10, r + 8,
|
|
43
|
+
7, r + 6, r + 7,
|
|
44
|
+
5, 12, r + 5,
|
|
45
|
+
6, r + 4, r + 5,
|
|
46
|
+
3, r + 1, 14,
|
|
47
|
+
4, r + 2, r + 3,
|
|
76
48
|
]);
|
|
77
49
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js
CHANGED
|
@@ -17,8 +17,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
17
17
|
runtime: "browser",
|
|
18
18
|
defaultsMode,
|
|
19
19
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
21
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
20
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
21
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -24,11 +24,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
26
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
30
|
-
region: config?.region ??
|
|
31
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
29
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
30
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
31
|
retryMode: config?.retryMode ??
|
|
34
32
|
loadNodeConfig({
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
CHANGED
|
@@ -46,92 +46,92 @@ const _s_registry = TypeRegistry.for(_s);
|
|
|
46
46
|
export var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
|
|
47
47
|
_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
48
48
|
const n0_registry = TypeRegistry.for(n0);
|
|
49
|
-
export var AccessDeniedException$ = [
|
|
50
|
-
-3,
|
|
51
|
-
n0,
|
|
52
|
-
_ADE,
|
|
49
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
53
50
|
{ [_e]: _c, [_hE]: 400 },
|
|
54
51
|
[_e, _r, _ed],
|
|
55
|
-
[0, 0, 0]
|
|
52
|
+
[0, 0, 0]
|
|
56
53
|
];
|
|
57
54
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
58
|
-
export var AuthorizationPendingException$ = [
|
|
59
|
-
-3,
|
|
60
|
-
n0,
|
|
61
|
-
_APE,
|
|
55
|
+
export var AuthorizationPendingException$ = [-3, n0, _APE,
|
|
62
56
|
{ [_e]: _c, [_hE]: 400 },
|
|
63
57
|
[_e, _ed],
|
|
64
|
-
[0, 0]
|
|
58
|
+
[0, 0]
|
|
65
59
|
];
|
|
66
60
|
n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
67
|
-
export var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
61
|
+
export var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
62
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
63
|
+
[_e, _ed],
|
|
64
|
+
[0, 0]
|
|
65
|
+
];
|
|
68
66
|
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
69
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
67
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
68
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
69
|
+
[_e, _ed],
|
|
70
|
+
[0, 0]
|
|
71
|
+
];
|
|
70
72
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
71
|
-
export var InvalidClientException$ = [-3, n0, _ICE,
|
|
73
|
+
export var InvalidClientException$ = [-3, n0, _ICE,
|
|
74
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
75
|
+
[_e, _ed],
|
|
76
|
+
[0, 0]
|
|
77
|
+
];
|
|
72
78
|
n0_registry.registerError(InvalidClientException$, InvalidClientException);
|
|
73
|
-
export var InvalidGrantException$ = [-3, n0, _IGE,
|
|
79
|
+
export var InvalidGrantException$ = [-3, n0, _IGE,
|
|
80
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
81
|
+
[_e, _ed],
|
|
82
|
+
[0, 0]
|
|
83
|
+
];
|
|
74
84
|
n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
|
|
75
|
-
export var InvalidRequestException$ = [
|
|
76
|
-
-3,
|
|
77
|
-
n0,
|
|
78
|
-
_IRE,
|
|
85
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
79
86
|
{ [_e]: _c, [_hE]: 400 },
|
|
80
87
|
[_e, _r, _ed],
|
|
81
|
-
[0, 0, 0]
|
|
88
|
+
[0, 0, 0]
|
|
82
89
|
];
|
|
83
90
|
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
84
|
-
export var InvalidScopeException$ = [-3, n0, _ISEn,
|
|
91
|
+
export var InvalidScopeException$ = [-3, n0, _ISEn,
|
|
92
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
93
|
+
[_e, _ed],
|
|
94
|
+
[0, 0]
|
|
95
|
+
];
|
|
85
96
|
n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
|
|
86
|
-
export var SlowDownException$ = [-3, n0, _SDE,
|
|
97
|
+
export var SlowDownException$ = [-3, n0, _SDE,
|
|
98
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
99
|
+
[_e, _ed],
|
|
100
|
+
[0, 0]
|
|
101
|
+
];
|
|
87
102
|
n0_registry.registerError(SlowDownException$, SlowDownException);
|
|
88
|
-
export var UnauthorizedClientException$ = [
|
|
89
|
-
-3,
|
|
90
|
-
n0,
|
|
91
|
-
_UCE,
|
|
103
|
+
export var UnauthorizedClientException$ = [-3, n0, _UCE,
|
|
92
104
|
{ [_e]: _c, [_hE]: 400 },
|
|
93
105
|
[_e, _ed],
|
|
94
|
-
[0, 0]
|
|
106
|
+
[0, 0]
|
|
95
107
|
];
|
|
96
108
|
n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
97
|
-
export var UnsupportedGrantTypeException$ = [
|
|
98
|
-
-3,
|
|
99
|
-
n0,
|
|
100
|
-
_UGTE,
|
|
109
|
+
export var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
|
|
101
110
|
{ [_e]: _c, [_hE]: 400 },
|
|
102
111
|
[_e, _ed],
|
|
103
|
-
[0, 0]
|
|
112
|
+
[0, 0]
|
|
104
113
|
];
|
|
105
114
|
n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
106
|
-
export const errorTypeRegistries = [
|
|
115
|
+
export const errorTypeRegistries = [
|
|
116
|
+
_s_registry,
|
|
117
|
+
n0_registry,
|
|
118
|
+
];
|
|
107
119
|
var AccessToken = [0, n0, _AT, 8, 0];
|
|
108
120
|
var ClientSecret = [0, n0, _CS, 8, 0];
|
|
109
121
|
var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
110
122
|
var IdToken = [0, n0, _IT, 8, 0];
|
|
111
123
|
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
112
|
-
export var CreateTokenRequest$ = [
|
|
113
|
-
3,
|
|
114
|
-
n0,
|
|
115
|
-
_CTR,
|
|
124
|
+
export var CreateTokenRequest$ = [3, n0, _CTR,
|
|
116
125
|
0,
|
|
117
126
|
[_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
|
|
118
|
-
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
119
|
-
3,
|
|
127
|
+
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
|
|
120
128
|
];
|
|
121
|
-
export var CreateTokenResponse$ = [
|
|
122
|
-
3,
|
|
123
|
-
n0,
|
|
124
|
-
_CTRr,
|
|
129
|
+
export var CreateTokenResponse$ = [3, n0, _CTRr,
|
|
125
130
|
0,
|
|
126
131
|
[_aT, _tT, _eI, _rT, _iT],
|
|
127
|
-
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
|
|
132
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
|
|
128
133
|
];
|
|
129
134
|
var Scopes = 64 | 0;
|
|
130
|
-
export var CreateToken$ = [
|
|
131
|
-
|
|
132
|
-
n0,
|
|
133
|
-
_CT,
|
|
134
|
-
{ [_h]: ["POST", "/token", 200] },
|
|
135
|
-
() => CreateTokenRequest$,
|
|
136
|
-
() => CreateTokenResponse$,
|
|
135
|
+
export var CreateToken$ = [9, n0, _CT,
|
|
136
|
+
{ [_h]: ["POST", "/token", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$
|
|
137
137
|
];
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
3
|
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
4
4
|
import { resolveParams } from "@smithy/core/endpoints";
|
|
@@ -19,10 +19,9 @@ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSc
|
|
|
19
19
|
const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
20
20
|
return {
|
|
21
21
|
operation: getSmithyContext(context).operation,
|
|
22
|
-
region:
|
|
23
|
-
(
|
|
24
|
-
|
|
25
|
-
})(),
|
|
22
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
23
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
24
|
+
})(),
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
export const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity
|
|
1
|
+
import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers";
|
|
2
2
|
import { STSClient } from "./STSClient";
|
|
3
3
|
const getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
4
4
|
if (!customizations)
|
|
@@ -27,7 +27,7 @@ const _data = {
|
|
|
27
27
|
[f, [m, "ap-southeast-1"]],
|
|
28
28
|
[f, [m, "ap-northeast-1"]],
|
|
29
29
|
[f, [m, "ap-southeast-2"]],
|
|
30
|
-
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
30
|
+
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
31
31
|
],
|
|
32
32
|
results: [
|
|
33
33
|
[a],
|
|
@@ -44,104 +44,42 @@ const _data = {
|
|
|
44
44
|
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
45
45
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
46
46
|
[k, o],
|
|
47
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
48
|
-
]
|
|
47
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
48
|
+
]
|
|
49
49
|
};
|
|
50
50
|
const root = 2;
|
|
51
51
|
const r = 100_000_000;
|
|
52
52
|
const nodes = new Int32Array([
|
|
53
|
-
-1,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
1,
|
|
60
|
-
|
|
61
|
-
r +
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
r +
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
r + 1,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
r +
|
|
77
|
-
|
|
78
|
-
r +
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
r +
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
r + 1,
|
|
85
|
-
12,
|
|
86
|
-
12,
|
|
87
|
-
r + 1,
|
|
88
|
-
13,
|
|
89
|
-
13,
|
|
90
|
-
r + 1,
|
|
91
|
-
14,
|
|
92
|
-
14,
|
|
93
|
-
r + 1,
|
|
94
|
-
15,
|
|
95
|
-
15,
|
|
96
|
-
r + 1,
|
|
97
|
-
16,
|
|
98
|
-
16,
|
|
99
|
-
r + 1,
|
|
100
|
-
17,
|
|
101
|
-
17,
|
|
102
|
-
r + 1,
|
|
103
|
-
18,
|
|
104
|
-
18,
|
|
105
|
-
r + 1,
|
|
106
|
-
19,
|
|
107
|
-
19,
|
|
108
|
-
r + 1,
|
|
109
|
-
20,
|
|
110
|
-
20,
|
|
111
|
-
r + 1,
|
|
112
|
-
21,
|
|
113
|
-
21,
|
|
114
|
-
r + 1,
|
|
115
|
-
22,
|
|
116
|
-
22,
|
|
117
|
-
r + 1,
|
|
118
|
-
23,
|
|
119
|
-
23,
|
|
120
|
-
r + 1,
|
|
121
|
-
r + 2,
|
|
122
|
-
8,
|
|
123
|
-
r + 11,
|
|
124
|
-
r + 12,
|
|
125
|
-
4,
|
|
126
|
-
28,
|
|
127
|
-
26,
|
|
128
|
-
9,
|
|
129
|
-
27,
|
|
130
|
-
r + 10,
|
|
131
|
-
24,
|
|
132
|
-
r + 8,
|
|
133
|
-
r + 9,
|
|
134
|
-
8,
|
|
135
|
-
29,
|
|
136
|
-
r + 7,
|
|
137
|
-
9,
|
|
138
|
-
r + 6,
|
|
139
|
-
r + 7,
|
|
140
|
-
3,
|
|
141
|
-
r + 3,
|
|
142
|
-
31,
|
|
143
|
-
4,
|
|
144
|
-
r + 4,
|
|
145
|
-
r + 5,
|
|
53
|
+
-1, 1, -1,
|
|
54
|
+
0, 30, 3,
|
|
55
|
+
1, 4, r + 14,
|
|
56
|
+
2, 5, r + 14,
|
|
57
|
+
3, 25, 6,
|
|
58
|
+
4, 24, 7,
|
|
59
|
+
5, r + 1, 8,
|
|
60
|
+
6, 9, r + 13,
|
|
61
|
+
7, r + 1, 10,
|
|
62
|
+
10, r + 1, 11,
|
|
63
|
+
11, r + 1, 12,
|
|
64
|
+
12, r + 1, 13,
|
|
65
|
+
13, r + 1, 14,
|
|
66
|
+
14, r + 1, 15,
|
|
67
|
+
15, r + 1, 16,
|
|
68
|
+
16, r + 1, 17,
|
|
69
|
+
17, r + 1, 18,
|
|
70
|
+
18, r + 1, 19,
|
|
71
|
+
19, r + 1, 20,
|
|
72
|
+
20, r + 1, 21,
|
|
73
|
+
21, r + 1, 22,
|
|
74
|
+
22, r + 1, 23,
|
|
75
|
+
23, r + 1, r + 2,
|
|
76
|
+
8, r + 11, r + 12,
|
|
77
|
+
4, 28, 26,
|
|
78
|
+
9, 27, r + 10,
|
|
79
|
+
24, r + 8, r + 9,
|
|
80
|
+
8, 29, r + 7,
|
|
81
|
+
9, r + 6, r + 7,
|
|
82
|
+
3, r + 3, 31,
|
|
83
|
+
4, r + 4, r + 5,
|
|
146
84
|
]);
|
|
147
85
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js
CHANGED
|
@@ -18,8 +18,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
18
18
|
defaultsMode,
|
|
19
19
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
21
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
22
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
22
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
24
23
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
25
24
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -25,13 +25,11 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
defaultsMode,
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
29
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
31
30
|
{
|
|
32
31
|
schemeId: "aws.auth#sigv4",
|
|
33
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") ||
|
|
34
|
-
(async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
32
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
35
33
|
signer: new AwsSdkSigV4Signer(),
|
|
36
34
|
},
|
|
37
35
|
{
|
|
@@ -46,8 +44,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
46
44
|
},
|
|
47
45
|
],
|
|
48
46
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
49
|
-
region: config?.region ??
|
|
50
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
47
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
51
48
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
52
49
|
retryMode: config?.retryMode ??
|
|
53
50
|
loadNodeConfig({
|