@cdk8s/awscdk-resolver 0.0.57 → 0.0.59
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/auth/httpAuthSchemeProvider.js +47 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +267 -1714
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +17 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +180 -1685
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +5 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +6 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +16 -16
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +68 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +76 -96
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +19 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +62 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +8 -89
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +9 -6
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +16 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +17 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +46 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +47 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso/package.json +14 -13
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/auth/httpAuthSchemeProvider.js +64 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +96 -144
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +17 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js +58 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +0 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +29 -134
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js +16 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js +3 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +13 -11
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/extensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +13 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +12 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +14 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +11 -9
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +30 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +29 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +16 -16
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +74 -196
- package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -15
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +30 -178
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultRoleAssumers.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultRoleAssumers.d.ts +4 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +11 -3
- package/node_modules/@aws-sdk/client-sts/package.json +14 -14
- package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +13 -7
- package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -2
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +10 -2
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +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/dist-cjs/index.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -9
- 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/dist-cjs/fromWebToken.js +28 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +5 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +16 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +26 -15
- package/node_modules/@smithy/core/dist-es/pagination/createPaginator.js +12 -1
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +13 -3
- package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +1 -1
- package/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-signing/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-signing/README.md +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthConfiguration.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/awsAuthMiddleware.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js +0 -227
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js +0 -103
- package/node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js +0 -55
- package/node_modules/@aws-sdk/middleware-signing/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthConfiguration.d.ts +0 -99
- package/node_modules/@aws-sdk/middleware-signing/dist-types/awsAuthMiddleware.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthConfiguration.d.ts +0 -68
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/awsAuthMiddleware.d.ts +0 -19
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getSkewCorrectedDate.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/getUpdatedSystemClockOffset.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/ts3.4/utils/isClockSkewed.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getSkewCorrectedDate.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/getUpdatedSystemClockOffset.d.ts +0 -8
- package/node_modules/@aws-sdk/middleware-signing/dist-types/utils/isClockSkewed.d.ts +0 -7
- package/node_modules/@aws-sdk/middleware-signing/package.json +0 -59
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getSkewCorrectedDate.js → client-cloudformation/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/isClockSkewed.js → client-sso/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{middleware-signing/dist-cjs/utils/getUpdatedSystemClockOffset.js → client-sso-oidc/dist-cjs/auth/httpAuthExtensionConfiguration.js} +0 -0
@@ -2,15 +2,10 @@ import {
|
|
2
2
|
HostHeaderInputConfig,
|
3
3
|
HostHeaderResolvedConfig,
|
4
4
|
} from "@aws-sdk/middleware-host-header";
|
5
|
-
import {
|
6
|
-
AwsAuthInputConfig,
|
7
|
-
AwsAuthResolvedConfig,
|
8
|
-
} from "@aws-sdk/middleware-signing";
|
9
5
|
import {
|
10
6
|
UserAgentInputConfig,
|
11
7
|
UserAgentResolvedConfig,
|
12
8
|
} from "@aws-sdk/middleware-user-agent";
|
13
|
-
import { Credentials as __Credentials } from "@aws-sdk/types";
|
14
9
|
import {
|
15
10
|
RegionInputConfig,
|
16
11
|
RegionResolvedConfig,
|
@@ -31,6 +26,7 @@ import {
|
|
31
26
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
32
27
|
} from "@smithy/smithy-client";
|
33
28
|
import {
|
29
|
+
AwsCredentialIdentityProvider,
|
34
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
35
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
36
32
|
ChecksumConstructor as __ChecksumConstructor,
|
@@ -45,6 +41,10 @@ import {
|
|
45
41
|
UrlParser as __UrlParser,
|
46
42
|
UserAgent as __UserAgent,
|
47
43
|
} from "@smithy/types";
|
44
|
+
import {
|
45
|
+
HttpAuthSchemeInputConfig,
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
48
48
|
import {
|
49
49
|
CreateTokenCommandInput,
|
50
50
|
CreateTokenCommandOutput,
|
@@ -94,9 +94,9 @@ export interface ClientDefaults
|
|
94
94
|
serviceId?: string;
|
95
95
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
96
96
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
97
|
-
region?: string | __Provider<string>;
|
98
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
99
97
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
98
|
+
region?: string | __Provider<string>;
|
99
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
100
100
|
maxAttempts?: number | __Provider<number>;
|
101
101
|
retryMode?: string | __Provider<string>;
|
102
102
|
logger?: __Logger;
|
@@ -111,8 +111,8 @@ export type SSOOIDCClientConfigType = Partial<
|
|
111
111
|
EndpointInputConfig<EndpointParameters> &
|
112
112
|
RetryInputConfig &
|
113
113
|
HostHeaderInputConfig &
|
114
|
-
AwsAuthInputConfig &
|
115
114
|
UserAgentInputConfig &
|
115
|
+
HttpAuthSchemeInputConfig &
|
116
116
|
ClientInputEndpointParameters;
|
117
117
|
export interface SSOOIDCClientConfig extends SSOOIDCClientConfigType {}
|
118
118
|
export type SSOOIDCClientResolvedConfigType =
|
@@ -123,8 +123,8 @@ export type SSOOIDCClientResolvedConfigType =
|
|
123
123
|
EndpointResolvedConfig<EndpointParameters> &
|
124
124
|
RetryResolvedConfig &
|
125
125
|
HostHeaderResolvedConfig &
|
126
|
-
AwsAuthResolvedConfig &
|
127
126
|
UserAgentResolvedConfig &
|
127
|
+
HttpAuthSchemeResolvedConfig &
|
128
128
|
ClientResolvedEndpointParameters;
|
129
129
|
export interface SSOOIDCClientResolvedConfig
|
130
130
|
extends SSOOIDCClientResolvedConfigType {}
|
@@ -139,4 +139,6 @@ export declare class SSOOIDCClient extends __Client<
|
|
139
139
|
...[configuration]: __CheckOptionalClientConfig<SSOOIDCClientConfig>
|
140
140
|
);
|
141
141
|
destroy(): void;
|
142
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
143
|
+
private getIdentityProviderConfigProvider;
|
142
144
|
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import {
|
2
|
+
AwsCredentialIdentity,
|
3
|
+
AwsCredentialIdentityProvider,
|
4
|
+
HttpAuthScheme,
|
5
|
+
} from "@smithy/types";
|
6
|
+
import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
10
|
+
setHttpAuthSchemeProvider(
|
11
|
+
httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider
|
12
|
+
): void;
|
13
|
+
httpAuthSchemeProvider(): SSOOIDCHttpAuthSchemeProvider;
|
14
|
+
setCredentials(
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
16
|
+
): void;
|
17
|
+
credentials():
|
18
|
+
| AwsCredentialIdentity
|
19
|
+
| AwsCredentialIdentityProvider
|
20
|
+
| undefined;
|
21
|
+
}
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
24
|
+
httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
26
|
+
}>;
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
31
|
+
config: HttpAuthExtensionConfiguration
|
32
|
+
) => HttpAuthRuntimeConfig;
|
package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
import {
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
5
|
+
} from "@aws-sdk/core";
|
6
|
+
import {
|
7
|
+
HandlerExecutionContext,
|
8
|
+
HttpAuthScheme,
|
9
|
+
HttpAuthSchemeParameters,
|
10
|
+
HttpAuthSchemeParametersProvider,
|
11
|
+
HttpAuthSchemeProvider,
|
12
|
+
} from "@smithy/types";
|
13
|
+
import { SSOOIDCClientResolvedConfig } from "../SSOOIDCClient";
|
14
|
+
export interface SSOOIDCHttpAuthSchemeParameters
|
15
|
+
extends HttpAuthSchemeParameters {
|
16
|
+
region?: string;
|
17
|
+
}
|
18
|
+
export interface SSOOIDCHttpAuthSchemeParametersProvider
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
20
|
+
SSOOIDCClientResolvedConfig,
|
21
|
+
HandlerExecutionContext,
|
22
|
+
SSOOIDCHttpAuthSchemeParameters,
|
23
|
+
object
|
24
|
+
> {}
|
25
|
+
export declare const defaultSSOOIDCHttpAuthSchemeParametersProvider: (
|
26
|
+
config: SSOOIDCClientResolvedConfig,
|
27
|
+
context: HandlerExecutionContext,
|
28
|
+
input: object
|
29
|
+
) => Promise<SSOOIDCHttpAuthSchemeParameters>;
|
30
|
+
export interface SSOOIDCHttpAuthSchemeProvider
|
31
|
+
extends HttpAuthSchemeProvider<SSOOIDCHttpAuthSchemeParameters> {}
|
32
|
+
export declare const defaultSSOOIDCHttpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
35
|
+
httpAuthSchemeProvider?: SSOOIDCHttpAuthSchemeProvider;
|
36
|
+
}
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
40
|
+
readonly httpAuthSchemeProvider: SSOOIDCHttpAuthSchemeProvider;
|
41
|
+
}
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
4
5
|
export interface SSOOIDCExtensionConfiguration
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
6
7
|
DefaultExtensionConfiguration,
|
7
|
-
AwsRegionExtensionConfiguration
|
8
|
+
AwsRegionExtensionConfiguration,
|
9
|
+
HttpAuthExtensionConfiguration {}
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
9
9
|
credentialDefaultProvider: (
|
10
10
|
input: any
|
11
|
-
) => import("@smithy/types").
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
12
12
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
13
13
|
import("@smithy/types").UserAgent
|
14
14
|
>;
|
@@ -72,11 +72,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
72
72
|
| import("@smithy/types").RetryStrategy
|
73
73
|
| import("@smithy/types").RetryStrategyV2
|
74
74
|
| undefined;
|
75
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
76
|
+
httpAuthSchemes:
|
77
|
+
| import("@smithy/types").HttpAuthScheme[]
|
78
|
+
| (
|
79
|
+
| {
|
80
|
+
schemeId: string;
|
81
|
+
identityProvider: (
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
83
|
+
) =>
|
84
|
+
| import("@smithy/types").IdentityProvider<
|
85
|
+
import("@smithy/types").Identity
|
86
|
+
>
|
87
|
+
| undefined;
|
88
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
89
|
+
}
|
90
|
+
| {
|
91
|
+
schemeId: string;
|
92
|
+
identityProvider: (
|
93
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
94
|
+
) =>
|
95
|
+
| import("@smithy/types").IdentityProvider<
|
96
|
+
import("@smithy/types").Identity
|
97
|
+
>
|
98
|
+
| (() => Promise<{}>);
|
99
|
+
signer: import("@smithy/core").NoAuthSigner;
|
100
|
+
}
|
101
|
+
)[];
|
102
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
75
103
|
credentials?:
|
76
104
|
| import("@smithy/types").AwsCredentialIdentity
|
77
|
-
| import("@smithy/types").
|
78
|
-
import("@smithy/types").AwsCredentialIdentity
|
79
|
-
>
|
105
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
80
106
|
| undefined;
|
81
107
|
signer?:
|
82
108
|
| import("@smithy/types").RequestSigner
|
@@ -93,5 +119,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
93
119
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
94
120
|
) => import("@smithy/types").RequestSigner)
|
95
121
|
| undefined;
|
96
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
97
122
|
};
|
@@ -70,11 +70,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
70
70
|
| import("@smithy/types").RetryStrategy
|
71
71
|
| import("@smithy/types").RetryStrategyV2
|
72
72
|
| undefined;
|
73
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
74
|
+
httpAuthSchemes:
|
75
|
+
| import("@smithy/types").HttpAuthScheme[]
|
76
|
+
| (
|
77
|
+
| {
|
78
|
+
schemeId: string;
|
79
|
+
identityProvider: (
|
80
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
81
|
+
) =>
|
82
|
+
| import("@smithy/types").IdentityProvider<
|
83
|
+
import("@smithy/types").Identity
|
84
|
+
>
|
85
|
+
| undefined;
|
86
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
87
|
+
}
|
88
|
+
| {
|
89
|
+
schemeId: string;
|
90
|
+
identityProvider: (
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
92
|
+
) =>
|
93
|
+
| import("@smithy/types").IdentityProvider<
|
94
|
+
import("@smithy/types").Identity
|
95
|
+
>
|
96
|
+
| (() => Promise<{}>);
|
97
|
+
signer: import("@smithy/core").NoAuthSigner;
|
98
|
+
}
|
99
|
+
)[];
|
100
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
73
101
|
credentials?:
|
74
102
|
| import("@smithy/types").AwsCredentialIdentity
|
75
|
-
| import("@smithy/types").
|
76
|
-
import("@smithy/types").AwsCredentialIdentity
|
77
|
-
>
|
103
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
78
104
|
| undefined;
|
79
105
|
signer?:
|
80
106
|
| import("@smithy/types").RequestSigner
|
@@ -91,5 +117,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
91
117
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
92
118
|
) => import("@smithy/types").RequestSigner)
|
93
119
|
| undefined;
|
94
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
95
120
|
};
|
@@ -29,13 +29,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
29
29
|
serviceId: string;
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
32
|
-
region: string | import("@smithy/types").Provider<any>;
|
33
|
-
credentialDefaultProvider: (
|
34
|
-
input: any
|
35
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
36
32
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
37
33
|
import("@smithy/types").UserAgent
|
38
34
|
>;
|
35
|
+
region: string | import("@smithy/types").Provider<any>;
|
36
|
+
credentialDefaultProvider: (
|
37
|
+
input: any
|
38
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
39
39
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
40
40
|
retryMode: string | import("@smithy/types").Provider<string>;
|
41
41
|
logger: import("@smithy/types").Logger;
|
@@ -63,11 +63,37 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
63
63
|
| import("@smithy/types").RetryStrategy
|
64
64
|
| import("@smithy/types").RetryStrategyV2
|
65
65
|
| undefined;
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
67
|
+
httpAuthSchemes:
|
68
|
+
| import("@smithy/types").HttpAuthScheme[]
|
69
|
+
| (
|
70
|
+
| {
|
71
|
+
schemeId: string;
|
72
|
+
identityProvider: (
|
73
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
74
|
+
) =>
|
75
|
+
| import("@smithy/types").IdentityProvider<
|
76
|
+
import("@smithy/types").Identity
|
77
|
+
>
|
78
|
+
| undefined;
|
79
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
80
|
+
}
|
81
|
+
| {
|
82
|
+
schemeId: string;
|
83
|
+
identityProvider: (
|
84
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
85
|
+
) =>
|
86
|
+
| import("@smithy/types").IdentityProvider<
|
87
|
+
import("@smithy/types").Identity
|
88
|
+
>
|
89
|
+
| (() => Promise<{}>);
|
90
|
+
signer: import("@smithy/core").NoAuthSigner;
|
91
|
+
}
|
92
|
+
)[];
|
93
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
66
94
|
credentials?:
|
67
95
|
| import("@smithy/types").AwsCredentialIdentity
|
68
|
-
| import("@smithy/types").
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
70
|
-
>
|
96
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
71
97
|
| undefined;
|
72
98
|
signer?:
|
73
99
|
| import("@smithy/types").RequestSigner
|
@@ -84,5 +110,4 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
84
110
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
85
111
|
) => import("@smithy/types").RequestSigner)
|
86
112
|
| undefined;
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
88
113
|
};
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
1
4
|
import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
2
5
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
3
6
|
apiVersion: string;
|
@@ -11,6 +14,33 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
11
14
|
}
|
12
15
|
) => import("@smithy/types").EndpointV2;
|
13
16
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOOIDCHttpAuthSchemeProvider;
|
18
|
+
httpAuthSchemes:
|
19
|
+
| import("@smithy/types").HttpAuthScheme[]
|
20
|
+
| (
|
21
|
+
| {
|
22
|
+
schemeId: string;
|
23
|
+
identityProvider: (
|
24
|
+
ipc: IdentityProviderConfig
|
25
|
+
) =>
|
26
|
+
| import("@smithy/types").IdentityProvider<
|
27
|
+
import("@smithy/types").Identity
|
28
|
+
>
|
29
|
+
| undefined;
|
30
|
+
signer: AwsSdkSigV4Signer;
|
31
|
+
}
|
32
|
+
| {
|
33
|
+
schemeId: string;
|
34
|
+
identityProvider: (
|
35
|
+
ipc: IdentityProviderConfig
|
36
|
+
) =>
|
37
|
+
| import("@smithy/types").IdentityProvider<
|
38
|
+
import("@smithy/types").Identity
|
39
|
+
>
|
40
|
+
| (() => Promise<{}>);
|
41
|
+
signer: NoAuthSigner;
|
42
|
+
}
|
43
|
+
)[];
|
14
44
|
logger: import("@smithy/types").Logger;
|
15
45
|
serviceId: string;
|
16
46
|
urlParser: import("@smithy/types").UrlParser;
|
@@ -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.513.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",
|
@@ -20,20 +20,19 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
23
|
-
"@aws-sdk/client-sts": "3.
|
24
|
-
"@aws-sdk/core": "3.
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
28
|
-
"@aws-sdk/middleware-
|
29
|
-
"@aws-sdk/
|
30
|
-
"@aws-sdk/
|
31
|
-
"@aws-sdk/
|
32
|
-
"@aws-sdk/util-
|
33
|
-
"@aws-sdk/util-user-agent-
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.502.0",
|
23
|
+
"@aws-sdk/client-sts": "3.513.0",
|
24
|
+
"@aws-sdk/core": "3.513.0",
|
25
|
+
"@aws-sdk/middleware-host-header": "3.511.0",
|
26
|
+
"@aws-sdk/middleware-logger": "3.511.0",
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.511.0",
|
29
|
+
"@aws-sdk/region-config-resolver": "3.511.0",
|
30
|
+
"@aws-sdk/types": "3.511.0",
|
31
|
+
"@aws-sdk/util-endpoints": "3.511.0",
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.511.0",
|
35
34
|
"@smithy/config-resolver": "^2.1.1",
|
36
|
-
"@smithy/core": "^1.3.
|
35
|
+
"@smithy/core": "^1.3.2",
|
37
36
|
"@smithy/fetch-http-handler": "^2.4.1",
|
38
37
|
"@smithy/hash-node": "^2.1.1",
|
39
38
|
"@smithy/invalid-dependency": "^2.1.1",
|
@@ -52,8 +51,9 @@
|
|
52
51
|
"@smithy/util-body-length-browser": "^2.1.1",
|
53
52
|
"@smithy/util-body-length-node": "^2.2.1",
|
54
53
|
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
56
55
|
"@smithy/util-endpoints": "^1.1.1",
|
56
|
+
"@smithy/util-middleware": "^2.1.1",
|
57
57
|
"@smithy/util-retry": "^2.1.1",
|
58
58
|
"@smithy/util-utf8": "^2.1.1",
|
59
59
|
"tslib": "^2.5.0"
|
@@ -86,7 +86,7 @@
|
|
86
86
|
},
|
87
87
|
"license": "Apache-2.0",
|
88
88
|
"peerDependencies": {
|
89
|
-
"@aws-sdk/credential-provider-node": "^3.
|
89
|
+
"@aws-sdk/credential-provider-node": "^3.513.0"
|
90
90
|
},
|
91
91
|
"browser": {
|
92
92
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|