@aws-sdk/nested-clients 3.935.0 → 3.939.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +56 -0
- package/dist-cjs/submodules/signin/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/signin/endpoint/ruleset.js +7 -0
- package/dist-cjs/submodules/signin/index.js +439 -0
- package/dist-cjs/submodules/signin/runtimeConfig.browser.js +39 -0
- package/dist-cjs/submodules/signin/runtimeConfig.js +54 -0
- package/dist-cjs/submodules/signin/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/signin/runtimeConfig.shared.js +42 -0
- package/dist-es/submodules/signin/Signin.js +9 -0
- package/dist-es/submodules/signin/SigninClient.js +50 -0
- package/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +50 -0
- package/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +16 -0
- package/dist-es/submodules/signin/commands/index.js +1 -0
- package/dist-es/submodules/signin/endpoint/EndpointParameters.js +13 -0
- package/dist-es/submodules/signin/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/signin/endpoint/ruleset.js +4 -0
- package/dist-es/submodules/signin/extensionConfiguration.js +1 -0
- package/dist-es/submodules/signin/index.js +6 -0
- package/dist-es/submodules/signin/models/SigninServiceException.js +8 -0
- package/dist-es/submodules/signin/models/enums.js +8 -0
- package/dist-es/submodules/signin/models/errors.js +57 -0
- package/dist-es/submodules/signin/models/models_0.js +1 -0
- package/dist-es/submodules/signin/runtimeConfig.browser.js +34 -0
- package/dist-es/submodules/signin/runtimeConfig.js +49 -0
- package/dist-es/submodules/signin/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/signin/runtimeConfig.shared.js +38 -0
- package/dist-es/submodules/signin/runtimeExtensions.js +9 -0
- package/dist-es/submodules/signin/schemas/schemas_0.js +221 -0
- package/dist-types/submodules/signin/Signin.d.ts +18 -0
- package/dist-types/submodules/signin/SigninClient.d.ts +198 -0
- package/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +157 -0
- package/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/submodules/signin/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/signin/index.d.ts +16 -0
- package/dist-types/submodules/signin/models/SigninServiceException.d.ts +14 -0
- package/dist-types/submodules/signin/models/enums.d.ts +34 -0
- package/dist-types/submodules/signin/models/errors.d.ts +102 -0
- package/dist-types/submodules/signin/models/models_0.d.ts +142 -0
- package/dist-types/submodules/signin/runtimeConfig.browser.d.ts +59 -0
- package/dist-types/submodules/signin/runtimeConfig.d.ts +59 -0
- package/dist-types/submodules/signin/runtimeConfig.native.d.ts +58 -0
- package/dist-types/submodules/signin/runtimeConfig.shared.d.ts +33 -0
- package/dist-types/submodules/signin/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/signin/schemas/schemas_0.d.ts +14 -0
- package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +2 -3
- package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
- package/dist-types/submodules/sts/models/errors.d.ts +2 -3
- package/dist-types/ts3.4/submodules/signin/Signin.d.ts +22 -0
- package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +127 -0
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +47 -0
- package/dist-types/ts3.4/submodules/signin/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/signin/index.d.ts +10 -0
- package/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/signin/models/enums.d.ts +10 -0
- package/dist-types/ts3.4/submodules/signin/models/errors.d.ts +35 -0
- package/dist-types/ts3.4/submodules/signin/models/models_0.d.ts +26 -0
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +121 -0
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +114 -0
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +125 -0
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +53 -0
- package/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +19 -0
- package/package.json +22 -11
- package/signin.d.ts +7 -0
- package/signin.js +5 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { SigninClientConfig } from "./SigninClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
profile?: string;
|
|
39
|
+
logger: import("@smithy/types").Logger;
|
|
40
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
|
+
userAgentAppId?:
|
|
47
|
+
| string
|
|
48
|
+
| undefined
|
|
49
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
endpoint?:
|
|
54
|
+
| ((
|
|
55
|
+
| string
|
|
56
|
+
| import("@smithy/types").Endpoint
|
|
57
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
58
|
+
| import("@smithy/types").EndpointV2
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
60
|
+
) &
|
|
61
|
+
(
|
|
62
|
+
| string
|
|
63
|
+
| import("@smithy/types").Provider<string>
|
|
64
|
+
| import("@smithy/types").Endpoint
|
|
65
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
66
|
+
| import("@smithy/types").EndpointV2
|
|
67
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
68
|
+
))
|
|
69
|
+
| undefined;
|
|
70
|
+
endpointProvider: (
|
|
71
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
72
|
+
context?: {
|
|
73
|
+
logger?: import("@smithy/types").Logger;
|
|
74
|
+
}
|
|
75
|
+
) => import("@smithy/types").EndpointV2;
|
|
76
|
+
tls?: boolean;
|
|
77
|
+
serviceConfiguredEndpoint?: never;
|
|
78
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
79
|
+
httpAuthSchemes:
|
|
80
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
81
|
+
| (
|
|
82
|
+
| {
|
|
83
|
+
schemeId: string;
|
|
84
|
+
identityProvider: (
|
|
85
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
) =>
|
|
87
|
+
| import("@smithy/types").IdentityProvider<
|
|
88
|
+
import("@smithy/types").Identity
|
|
89
|
+
>
|
|
90
|
+
| undefined;
|
|
91
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
92
|
+
}
|
|
93
|
+
| {
|
|
94
|
+
schemeId: string;
|
|
95
|
+
identityProvider: (
|
|
96
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
97
|
+
) =>
|
|
98
|
+
| import("@smithy/types").IdentityProvider<
|
|
99
|
+
import("@smithy/types").Identity
|
|
100
|
+
>
|
|
101
|
+
| (() => Promise<{}>);
|
|
102
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
103
|
+
}
|
|
104
|
+
)[];
|
|
105
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider;
|
|
106
|
+
credentials?:
|
|
107
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
108
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
109
|
+
signer?:
|
|
110
|
+
| import("@smithy/types").RequestSigner
|
|
111
|
+
| ((
|
|
112
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
113
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
114
|
+
signingEscapePath?: boolean;
|
|
115
|
+
systemClockOffset?: number;
|
|
116
|
+
signingRegion?: string;
|
|
117
|
+
signerConstructor?: new (
|
|
118
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
119
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
120
|
+
) => import("@smithy/types").RequestSigner;
|
|
121
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { SigninClientConfig } from "./SigninClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (
|
|
11
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
12
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
+
requestHandler:
|
|
16
|
+
| RequestHandler
|
|
17
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
27
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
29
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
31
|
+
disableHostPrefix: boolean;
|
|
32
|
+
serviceId: string;
|
|
33
|
+
profile?: string;
|
|
34
|
+
credentialDefaultProvider?: (
|
|
35
|
+
input: any
|
|
36
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
37
|
+
logger: import("@smithy/types").Logger;
|
|
38
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
40
|
+
import("@smithy/types").HttpRequest,
|
|
41
|
+
import("@smithy/types").HttpResponse
|
|
42
|
+
>;
|
|
43
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
44
|
+
retryStrategy?:
|
|
45
|
+
| import("@smithy/types").RetryStrategy
|
|
46
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
47
|
+
endpoint?:
|
|
48
|
+
| ((
|
|
49
|
+
| string
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
|
+
| import("@smithy/types").EndpointV2
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
54
|
+
) &
|
|
55
|
+
(
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Provider<string>
|
|
58
|
+
| import("@smithy/types").Endpoint
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
|
+
| import("@smithy/types").EndpointV2
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
62
|
+
))
|
|
63
|
+
| undefined;
|
|
64
|
+
endpointProvider: (
|
|
65
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
66
|
+
context?: {
|
|
67
|
+
logger?: import("@smithy/types").Logger;
|
|
68
|
+
}
|
|
69
|
+
) => import("@smithy/types").EndpointV2;
|
|
70
|
+
tls?: boolean;
|
|
71
|
+
serviceConfiguredEndpoint?: never;
|
|
72
|
+
httpAuthSchemes:
|
|
73
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
74
|
+
| (
|
|
75
|
+
| {
|
|
76
|
+
schemeId: string;
|
|
77
|
+
identityProvider: (
|
|
78
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
79
|
+
) =>
|
|
80
|
+
| import("@smithy/types").IdentityProvider<
|
|
81
|
+
import("@smithy/types").Identity
|
|
82
|
+
>
|
|
83
|
+
| undefined;
|
|
84
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
85
|
+
}
|
|
86
|
+
| {
|
|
87
|
+
schemeId: string;
|
|
88
|
+
identityProvider: (
|
|
89
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
90
|
+
) =>
|
|
91
|
+
| import("@smithy/types").IdentityProvider<
|
|
92
|
+
import("@smithy/types").Identity
|
|
93
|
+
>
|
|
94
|
+
| (() => Promise<{}>);
|
|
95
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
96
|
+
}
|
|
97
|
+
)[];
|
|
98
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider;
|
|
99
|
+
credentials?:
|
|
100
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
101
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
102
|
+
signer?:
|
|
103
|
+
| import("@smithy/types").RequestSigner
|
|
104
|
+
| ((
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
106
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
107
|
+
signingEscapePath?: boolean;
|
|
108
|
+
systemClockOffset?: number;
|
|
109
|
+
signingRegion?: string;
|
|
110
|
+
signerConstructor?: new (
|
|
111
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
113
|
+
) => import("@smithy/types").RequestSigner;
|
|
114
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { SigninClientConfig } from "./SigninClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean;
|
|
13
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
14
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
18
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
20
|
+
disableHostPrefix: boolean;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
27
|
+
profile?: string;
|
|
28
|
+
defaultUserAgentProvider: (
|
|
29
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
30
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
|
+
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
44
|
+
defaultsMode:
|
|
45
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
46
|
+
| import("@smithy/types").Provider<
|
|
47
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
48
|
+
>;
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
|
+
userAgentAppId?:
|
|
51
|
+
| string
|
|
52
|
+
| undefined
|
|
53
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
57
|
+
endpoint?:
|
|
58
|
+
| ((
|
|
59
|
+
| string
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
) &
|
|
65
|
+
(
|
|
66
|
+
| string
|
|
67
|
+
| import("@smithy/types").Provider<string>
|
|
68
|
+
| import("@smithy/types").Endpoint
|
|
69
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
70
|
+
| import("@smithy/types").EndpointV2
|
|
71
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
72
|
+
))
|
|
73
|
+
| undefined;
|
|
74
|
+
endpointProvider: (
|
|
75
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
76
|
+
context?: {
|
|
77
|
+
logger?: import("@smithy/types").Logger;
|
|
78
|
+
}
|
|
79
|
+
) => import("@smithy/types").EndpointV2;
|
|
80
|
+
tls?: boolean;
|
|
81
|
+
serviceConfiguredEndpoint?: never;
|
|
82
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
83
|
+
httpAuthSchemes:
|
|
84
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
85
|
+
| (
|
|
86
|
+
| {
|
|
87
|
+
schemeId: string;
|
|
88
|
+
identityProvider: (
|
|
89
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
90
|
+
) =>
|
|
91
|
+
| import("@smithy/types").IdentityProvider<
|
|
92
|
+
import("@smithy/types").Identity
|
|
93
|
+
>
|
|
94
|
+
| undefined;
|
|
95
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
96
|
+
}
|
|
97
|
+
| {
|
|
98
|
+
schemeId: string;
|
|
99
|
+
identityProvider: (
|
|
100
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
101
|
+
) =>
|
|
102
|
+
| import("@smithy/types").IdentityProvider<
|
|
103
|
+
import("@smithy/types").Identity
|
|
104
|
+
>
|
|
105
|
+
| (() => Promise<{}>);
|
|
106
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
107
|
+
}
|
|
108
|
+
)[];
|
|
109
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider;
|
|
110
|
+
credentials?:
|
|
111
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
112
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
113
|
+
signer?:
|
|
114
|
+
| import("@smithy/types").RequestSigner
|
|
115
|
+
| ((
|
|
116
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
117
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
118
|
+
signingEscapePath?: boolean;
|
|
119
|
+
systemClockOffset?: number;
|
|
120
|
+
signingRegion?: string;
|
|
121
|
+
signerConstructor?: new (
|
|
122
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
123
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
124
|
+
) => import("@smithy/types").RequestSigner;
|
|
125
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import { SigninClientConfig } from "./SigninClient";
|
|
5
|
+
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (
|
|
11
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
|
+
context?: {
|
|
13
|
+
logger?: import("@smithy/types").Logger;
|
|
14
|
+
}
|
|
15
|
+
) => import("@smithy/types").EndpointV2;
|
|
16
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider;
|
|
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
|
+
)[];
|
|
44
|
+
logger: import("@smithy/types").Logger;
|
|
45
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
+
import("@smithy/types").HttpRequest,
|
|
47
|
+
import("@smithy/types").HttpResponse
|
|
48
|
+
>;
|
|
49
|
+
serviceId: string;
|
|
50
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
51
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
52
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
53
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SigninExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: SigninExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticOperationSchema,
|
|
4
|
+
StaticSimpleSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var RefreshToken: StaticSimpleSchema;
|
|
8
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
9
|
+
export declare var AccessToken: StaticStructureSchema;
|
|
10
|
+
export declare var CreateOAuth2TokenRequest: StaticStructureSchema;
|
|
11
|
+
export declare var CreateOAuth2TokenRequestBody: StaticStructureSchema;
|
|
12
|
+
export declare var CreateOAuth2TokenResponse: StaticStructureSchema;
|
|
13
|
+
export declare var CreateOAuth2TokenResponseBody: StaticStructureSchema;
|
|
14
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
15
|
+
export declare var TooManyRequestsError: StaticErrorSchema;
|
|
16
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
17
|
+
export declare var __Unit: "unit";
|
|
18
|
+
export declare var SigninServiceException: StaticErrorSchema;
|
|
19
|
+
export declare var CreateOAuth2Token: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.939.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
+
"@aws-sdk/core": "3.936.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
38
|
+
"@aws-sdk/types": "3.936.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
42
42
|
"@smithy/config-resolver": "^4.4.3",
|
|
43
43
|
"@smithy/core": "^3.18.5",
|
|
44
44
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"files": [
|
|
83
|
+
"./signin.d.ts",
|
|
84
|
+
"./signin.js",
|
|
83
85
|
"./sso-oidc.d.ts",
|
|
84
86
|
"./sso-oidc.js",
|
|
85
87
|
"./sts.d.ts",
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
"dist-*/**"
|
|
88
90
|
],
|
|
89
91
|
"browser": {
|
|
92
|
+
"./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser",
|
|
90
93
|
"./dist-es/submodules/sso-oidc/runtimeConfig": "./dist-es/submodules/sso-oidc/runtimeConfig.browser",
|
|
91
94
|
"./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser"
|
|
92
95
|
},
|
|
@@ -98,6 +101,7 @@
|
|
|
98
101
|
"directory": "packages/nested-clients"
|
|
99
102
|
},
|
|
100
103
|
"exports": {
|
|
104
|
+
"./package.json": "./package.json",
|
|
101
105
|
"./sso-oidc": {
|
|
102
106
|
"types": "./dist-types/submodules/sso-oidc/index.d.ts",
|
|
103
107
|
"module": "./dist-es/submodules/sso-oidc/index.js",
|
|
@@ -111,6 +115,13 @@
|
|
|
111
115
|
"node": "./dist-cjs/submodules/sts/index.js",
|
|
112
116
|
"import": "./dist-es/submodules/sts/index.js",
|
|
113
117
|
"require": "./dist-cjs/submodules/sts/index.js"
|
|
118
|
+
},
|
|
119
|
+
"./signin": {
|
|
120
|
+
"types": "./dist-types/submodules/signin/index.d.ts",
|
|
121
|
+
"module": "./dist-es/submodules/signin/index.js",
|
|
122
|
+
"node": "./dist-cjs/submodules/signin/index.js",
|
|
123
|
+
"import": "./dist-es/submodules/signin/index.js",
|
|
124
|
+
"require": "./dist-cjs/submodules/signin/index.js"
|
|
114
125
|
}
|
|
115
126
|
}
|
|
116
127
|
}
|
package/signin.d.ts
ADDED