@cdk8s/awscdk-resolver 0.0.163 → 0.0.165
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 +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/package.json +34 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/core/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/package.json +3 -3
package/.jsii
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"url": "https://aws.amazon.com"
|
8
8
|
},
|
9
9
|
"bundled": {
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.649.0"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
13
|
"aws-cdk-lib": "^2.106.1",
|
@@ -3674,6 +3674,6 @@
|
|
3674
3674
|
"symbolId": "src/resolve:AwsCdkResolver"
|
3675
3675
|
}
|
3676
3676
|
},
|
3677
|
-
"version": "0.0.
|
3678
|
-
"fingerprint": "
|
3677
|
+
"version": "0.0.165",
|
3678
|
+
"fingerprint": "hf3j1Nr4lYXNk+f9pjfollUDvsWaP5aC6q9YLl6CkCw="
|
3679
3679
|
}
|
package/lib/resolve.js
CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
|
|
61
61
|
}
|
62
62
|
exports.AwsCdkResolver = AwsCdkResolver;
|
63
63
|
_a = JSII_RTTI_SYMBOL_1;
|
64
|
-
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
64
|
+
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.165" };
|
65
65
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQ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3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
6
6
|
const ruleset_1 = require("./ruleset");
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
8
|
+
size: 50,
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
10
|
+
});
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
9
13
|
endpointParams: endpointParams,
|
10
14
|
logger: context.logger,
|
11
|
-
});
|
15
|
+
}));
|
12
16
|
};
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
20
20
|
apiVersion: string;
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
36
37
|
tls?: boolean | undefined;
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
20
20
|
apiVersion: string;
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
36
37
|
tls?: boolean | undefined;
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
9
9
|
apiVersion: string;
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
35
36
|
tls?: boolean | undefined;
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts
CHANGED
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
25
25
|
apiVersion: string;
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
61
62
|
}
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
63
64
|
tls?: boolean | undefined;
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
64
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
65
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
66
68
|
credentials?:
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
29
29
|
apiVersion: string;
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
65
66
|
}
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
67
68
|
tls?: boolean | undefined;
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
68
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
69
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
70
72
|
credentials?:
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts
CHANGED
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
11
11
|
apiVersion: string;
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
55
56
|
}
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
57
58
|
tls?: boolean | undefined;
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
58
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
59
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
60
62
|
credentials?:
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
3
|
+
{
|
4
|
+
"tsdocVersion": "0.12",
|
5
|
+
"toolPackages": [
|
6
|
+
{
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
8
|
+
"packageVersion": "7.34.4"
|
9
|
+
}
|
10
|
+
]
|
11
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.649.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-cloudformation",
|
@@ -20,45 +20,45 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
24
|
-
"@aws-sdk/client-sts": "3.
|
25
|
-
"@aws-sdk/core": "3.
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
32
|
-
"@aws-sdk/types": "3.
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
37
|
-
"@smithy/core": "^2.4.
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
39
|
-
"@smithy/hash-node": "^3.0.
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
47
|
-
"@smithy/node-http-handler": "^3.
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
49
|
-
"@smithy/smithy-client": "^3.
|
50
|
-
"@smithy/types": "^3.
|
51
|
-
"@smithy/url-parser": "^3.0.
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.649.0",
|
24
|
+
"@aws-sdk/client-sts": "3.649.0",
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
26
|
+
"@aws-sdk/credential-provider-node": "3.649.0",
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
37
|
+
"@smithy/core": "^2.4.1",
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
50
|
+
"@smithy/types": "^3.4.0",
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
59
|
-
"@smithy/util-retry": "^3.0.
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
61
|
+
"@smithy/util-waiter": "^3.1.3",
|
62
62
|
"tslib": "^2.6.2",
|
63
63
|
"uuid": "^9.0.1"
|
64
64
|
},
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
6
6
|
const ruleset_1 = require("./ruleset");
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
8
|
+
size: 50,
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
10
|
+
});
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
9
13
|
endpointParams: endpointParams,
|
10
14
|
logger: context.logger,
|
11
|
-
});
|
15
|
+
}));
|
12
16
|
};
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
@@ -1,10 +1,14 @@
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
3
3
|
import { ruleSet } from "./ruleset";
|
4
|
+
const cache = new EndpointCache({
|
5
|
+
size: 50,
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
7
|
+
});
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
5
|
-
return resolveEndpoint(ruleSet, {
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
6
10
|
endpointParams: endpointParams,
|
7
11
|
logger: context.logger,
|
8
|
-
});
|
12
|
+
}));
|
9
13
|
};
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
17
17
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
18
18
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
apiVersion: string;
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
20
21
|
urlParser: import("@smithy/types").UrlParser;
|
21
22
|
base64Decoder: import("@smithy/types").Decoder;
|
22
23
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
35
36
|
tls?: boolean | undefined;
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
37
39
|
schemeId: string;
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -17,6 +17,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
17
17
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
18
18
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
apiVersion: string;
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
20
21
|
urlParser: import("@smithy/types").UrlParser;
|
21
22
|
base64Decoder: import("@smithy/types").Decoder;
|
22
23
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
35
36
|
tls?: boolean | undefined;
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
37
39
|
schemeId: string;
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
9
9
|
apiVersion: string;
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -32,6 +33,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
32
33
|
logger?: import("@smithy/types").Logger | undefined;
|
33
34
|
}) => import("@smithy/types").EndpointV2;
|
34
35
|
tls?: boolean | undefined;
|
36
|
+
serviceConfiguredEndpoint?: undefined;
|
35
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
36
38
|
schemeId: string;
|
37
39
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
22
22
|
apiVersion: string;
|
23
|
+
cacheMiddleware?: boolean | undefined;
|
23
24
|
urlParser: import("@smithy/types").UrlParser;
|
24
25
|
base64Decoder: import("@smithy/types").Decoder;
|
25
26
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -58,6 +59,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
58
59
|
}
|
59
60
|
) => import("@smithy/types").EndpointV2;
|
60
61
|
tls?: boolean | undefined;
|
62
|
+
serviceConfiguredEndpoint?: undefined;
|
61
63
|
httpAuthSchemes:
|
62
64
|
| import("@smithy/types").HttpAuthScheme[]
|
63
65
|
| (
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
22
22
|
apiVersion: string;
|
23
|
+
cacheMiddleware?: boolean | undefined;
|
23
24
|
urlParser: import("@smithy/types").UrlParser;
|
24
25
|
base64Decoder: import("@smithy/types").Decoder;
|
25
26
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -58,6 +59,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
58
59
|
}
|
59
60
|
) => import("@smithy/types").EndpointV2;
|
60
61
|
tls?: boolean | undefined;
|
62
|
+
serviceConfiguredEndpoint?: undefined;
|
61
63
|
httpAuthSchemes:
|
62
64
|
| import("@smithy/types").HttpAuthScheme[]
|
63
65
|
| (
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
11
11
|
apiVersion: string;
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -52,6 +53,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
52
53
|
}
|
53
54
|
) => import("@smithy/types").EndpointV2;
|
54
55
|
tls?: boolean | undefined;
|
56
|
+
serviceConfiguredEndpoint?: undefined;
|
55
57
|
httpAuthSchemes:
|
56
58
|
| import("@smithy/types").HttpAuthScheme[]
|
57
59
|
| (
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
3
|
+
{
|
4
|
+
"tsdocVersion": "0.12",
|
5
|
+
"toolPackages": [
|
6
|
+
{
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
8
|
+
"packageVersion": "7.34.4"
|
9
|
+
}
|
10
|
+
]
|
11
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sso",
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.649.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",
|
@@ -20,40 +20,40 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
23
|
-
"@aws-sdk/core": "3.
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
29
|
-
"@aws-sdk/types": "3.
|
30
|
-
"@aws-sdk/util-endpoints": "3.
|
31
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
33
|
-
"@smithy/config-resolver": "^3.0.
|
34
|
-
"@smithy/core": "^2.4.
|
35
|
-
"@smithy/fetch-http-handler": "^3.2.
|
36
|
-
"@smithy/hash-node": "^3.0.
|
37
|
-
"@smithy/invalid-dependency": "^3.0.
|
38
|
-
"@smithy/middleware-content-length": "^3.0.
|
39
|
-
"@smithy/middleware-endpoint": "^3.1.
|
40
|
-
"@smithy/middleware-retry": "^3.0.
|
41
|
-
"@smithy/middleware-serde": "^3.0.
|
42
|
-
"@smithy/middleware-stack": "^3.0.
|
43
|
-
"@smithy/node-config-provider": "^3.1.
|
44
|
-
"@smithy/node-http-handler": "^3.
|
45
|
-
"@smithy/protocol-http": "^4.1.
|
46
|
-
"@smithy/smithy-client": "^3.
|
47
|
-
"@smithy/types": "^3.
|
48
|
-
"@smithy/url-parser": "^3.0.
|
23
|
+
"@aws-sdk/core": "3.649.0",
|
24
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
25
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
28
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
29
|
+
"@aws-sdk/types": "3.649.0",
|
30
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
31
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
33
|
+
"@smithy/config-resolver": "^3.0.6",
|
34
|
+
"@smithy/core": "^2.4.1",
|
35
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
36
|
+
"@smithy/hash-node": "^3.0.4",
|
37
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
38
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
39
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
40
|
+
"@smithy/middleware-retry": "^3.0.16",
|
41
|
+
"@smithy/middleware-serde": "^3.0.4",
|
42
|
+
"@smithy/middleware-stack": "^3.0.4",
|
43
|
+
"@smithy/node-config-provider": "^3.1.5",
|
44
|
+
"@smithy/node-http-handler": "^3.2.0",
|
45
|
+
"@smithy/protocol-http": "^4.1.1",
|
46
|
+
"@smithy/smithy-client": "^3.3.0",
|
47
|
+
"@smithy/types": "^3.4.0",
|
48
|
+
"@smithy/url-parser": "^3.0.4",
|
49
49
|
"@smithy/util-base64": "^3.0.0",
|
50
50
|
"@smithy/util-body-length-browser": "^3.0.0",
|
51
51
|
"@smithy/util-body-length-node": "^3.0.0",
|
52
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
53
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
54
|
-
"@smithy/util-endpoints": "^2.0
|
55
|
-
"@smithy/util-middleware": "^3.0.
|
56
|
-
"@smithy/util-retry": "^3.0.
|
52
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
53
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
54
|
+
"@smithy/util-endpoints": "^2.1.0",
|
55
|
+
"@smithy/util-middleware": "^3.0.4",
|
56
|
+
"@smithy/util-retry": "^3.0.4",
|
57
57
|
"@smithy/util-utf8": "^3.0.0",
|
58
58
|
"tslib": "^2.6.2"
|
59
59
|
},
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
6
6
|
const ruleset_1 = require("./ruleset");
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
8
|
+
size: 50,
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
10
|
+
});
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
9
13
|
endpointParams: endpointParams,
|
10
14
|
logger: context.logger,
|
11
|
-
});
|
15
|
+
}));
|
12
16
|
};
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
20
20
|
apiVersion: string;
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
36
37
|
tls?: boolean | undefined;
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
38
40
|
schemeId: string;
|
39
41
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
20
20
|
apiVersion: string;
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
36
37
|
tls?: boolean | undefined;
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
38
40
|
schemeId: string;
|
39
41
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
9
9
|
apiVersion: string;
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
35
36
|
tls?: boolean | undefined;
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
37
39
|
schemeId: string;
|
38
40
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
25
25
|
apiVersion: string;
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
61
62
|
}
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
63
64
|
tls?: boolean | undefined;
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
64
66
|
httpAuthSchemes:
|
65
67
|
| import("@smithy/types").HttpAuthScheme[]
|
66
68
|
| (
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
29
29
|
apiVersion: string;
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
65
66
|
}
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
67
68
|
tls?: boolean | undefined;
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
68
70
|
httpAuthSchemes:
|
69
71
|
| import("@smithy/types").HttpAuthScheme[]
|
70
72
|
| (
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
11
11
|
apiVersion: string;
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
55
56
|
}
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
57
58
|
tls?: boolean | undefined;
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
58
60
|
httpAuthSchemes:
|
59
61
|
| import("@smithy/types").HttpAuthScheme[]
|
60
62
|
| (
|