@aws-sdk/nested-clients 3.997.32 → 3.997.33
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/cognito-identity/index.js +11 -9
- package/dist-cjs/submodules/signin/index.js +6 -5
- package/dist-cjs/submodules/sso/index.js +6 -5
- package/dist-cjs/submodules/sso-oidc/index.js +6 -5
- package/dist-cjs/submodules/sts/index.js +1 -1
- package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +12 -8
- package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -3
- package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +7 -15
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -22
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -2
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +9 -28
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +13 -30
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +12 -26
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +13 -30
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +6 -12
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/signin/Signin.d.ts +6 -6
- package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +15 -25
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -10
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/signin/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -2
- package/dist-types/ts3.4/submodules/signin/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +13 -30
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +12 -26
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +13 -30
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/signin/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sso/SSO.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +13 -20
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +5 -10
- package/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +4 -12
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +11 -23
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +4 -7
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +16 -29
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +11 -34
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +11 -23
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +12 -27
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +5 -9
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +1 -5
- package/dist-types/ts3.4/submodules/sts/STS.d.ts +7 -10
- package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +16 -30
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -5
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +5 -7
- package/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/submodules/sts/models/errors.d.ts +7 -24
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +14 -34
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +14 -33
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +14 -34
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +6 -10
- package/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +1 -5
- package/package.json +53 -53
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
SigninClientResolvedConfig,
|
|
6
|
-
} from "./SigninClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
2
|
+
import { ServiceInputTypes, ServiceOutputTypes, SigninClientResolvedConfig } from "./SigninClient";
|
|
3
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
4
|
added: EndpointParameterInstructions,
|
|
12
5
|
plugins: (
|
|
13
6
|
CommandCtor: any,
|
|
14
7
|
clientStack: any,
|
|
15
8
|
config: any,
|
|
16
|
-
options: any
|
|
9
|
+
options: any,
|
|
17
10
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
11
|
op: string,
|
|
19
12
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
13
|
+
smithyContext?: Record<string, unknown>,
|
|
21
14
|
) => {
|
|
22
|
-
new (
|
|
15
|
+
new (
|
|
16
|
+
input: I,
|
|
17
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
I,
|
|
24
19
|
O,
|
|
25
20
|
SigninClientResolvedConfig,
|
|
@@ -39,9 +34,4 @@ export declare const command: <
|
|
|
39
34
|
};
|
|
40
35
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
36
|
export declare const _ep1: EndpointParameterInstructions;
|
|
42
|
-
export declare const _mw0: (
|
|
43
|
-
Command: any,
|
|
44
|
-
cs: any,
|
|
45
|
-
config: any,
|
|
46
|
-
o: any
|
|
47
|
-
) => never[];
|
|
37
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateOAuth2TokenRequest,
|
|
4
|
-
CreateOAuth2TokenResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateOAuth2TokenCommandInput
|
|
8
|
-
extends CreateOAuth2TokenRequest {}
|
|
4
|
+
export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest {}
|
|
9
5
|
export interface CreateOAuth2TokenCommandOutput
|
|
10
|
-
extends CreateOAuth2TokenResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateOAuth2TokenResponse, __MetadataBearer {}
|
|
12
7
|
declare const CreateOAuth2TokenCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateOAuth2TokenCommandInput
|
|
9
|
+
input: CreateOAuth2TokenCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateOAuth2TokenCommandInput,
|
|
17
12
|
CreateOAuth2TokenCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateOAuth2TokenCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateOAuth2TokenCommandInput
|
|
18
|
+
input: CreateOAuth2TokenCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateOAuth2TokenCommandInput,
|
|
26
21
|
CreateOAuth2TokenCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
CreateOAuth2TokenWithIAMResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateOAuth2TokenWithIAMCommandInput
|
|
8
|
-
extends CreateOAuth2TokenWithIAMRequest {}
|
|
7
|
+
export interface CreateOAuth2TokenWithIAMCommandInput extends CreateOAuth2TokenWithIAMRequest {}
|
|
9
8
|
export interface CreateOAuth2TokenWithIAMCommandOutput
|
|
10
|
-
extends CreateOAuth2TokenWithIAMResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends CreateOAuth2TokenWithIAMResponse, __MetadataBearer {}
|
|
12
10
|
declare const CreateOAuth2TokenWithIAMCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: CreateOAuth2TokenWithIAMCommandInput
|
|
12
|
+
input: CreateOAuth2TokenWithIAMCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
CreateOAuth2TokenWithIAMCommandInput,
|
|
17
15
|
CreateOAuth2TokenWithIAMCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const CreateOAuth2TokenWithIAMCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: CreateOAuth2TokenWithIAMCommandInput
|
|
21
|
+
input: CreateOAuth2TokenWithIAMCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
CreateOAuth2TokenWithIAMCommandInput,
|
|
26
24
|
CreateOAuth2TokenWithIAMCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface SigninExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -9,5 +9,4 @@ export declare const OAuth2ErrorCode: {
|
|
|
9
9
|
readonly TOKEN_EXPIRED: "TOKEN_EXPIRED";
|
|
10
10
|
readonly USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED";
|
|
11
11
|
};
|
|
12
|
-
export type OAuth2ErrorCode =
|
|
13
|
-
(typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode];
|
|
12
|
+
export type OAuth2ErrorCode = (typeof OAuth2ErrorCode)[keyof typeof OAuth2ErrorCode];
|
|
@@ -5,31 +5,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
5
5
|
readonly name: "AccessDeniedException";
|
|
6
6
|
readonly $fault: "client";
|
|
7
7
|
error: OAuth2ErrorCode | undefined;
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
-
);
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
9
|
}
|
|
12
10
|
export declare class InternalServerException extends __BaseException {
|
|
13
11
|
readonly name: "InternalServerException";
|
|
14
12
|
readonly $fault: "server";
|
|
15
13
|
error: OAuth2ErrorCode | undefined;
|
|
16
|
-
constructor(
|
|
17
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
18
|
-
);
|
|
14
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
19
15
|
}
|
|
20
16
|
export declare class TooManyRequestsError extends __BaseException {
|
|
21
17
|
readonly name: "TooManyRequestsError";
|
|
22
18
|
readonly $fault: "client";
|
|
23
19
|
error: OAuth2ErrorCode | undefined;
|
|
24
|
-
constructor(
|
|
25
|
-
opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>
|
|
26
|
-
);
|
|
20
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>);
|
|
27
21
|
}
|
|
28
22
|
export declare class ValidationException extends __BaseException {
|
|
29
23
|
readonly name: "ValidationException";
|
|
30
24
|
readonly $fault: "client";
|
|
31
25
|
error: OAuth2ErrorCode | undefined;
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
34
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
35
27
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,22 +79,18 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
92
79
|
| {
|
|
93
80
|
schemeId: string;
|
|
94
81
|
identityProvider: (
|
|
95
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
82
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
96
83
|
) =>
|
|
97
|
-
| import("@smithy/types").IdentityProvider<
|
|
98
|
-
import("@smithy/types").Identity
|
|
99
|
-
>
|
|
84
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
100
85
|
| undefined;
|
|
101
86
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
102
87
|
}
|
|
103
88
|
| {
|
|
104
89
|
schemeId: string;
|
|
105
90
|
identityProvider: (
|
|
106
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
107
92
|
) =>
|
|
108
|
-
| import("@smithy/types").IdentityProvider<
|
|
109
|
-
import("@smithy/types").Identity
|
|
110
|
-
>
|
|
93
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
111
94
|
| (() => Promise<{}>);
|
|
112
95
|
signer: import("@smithy/core").NoAuthSigner;
|
|
113
96
|
}
|
|
@@ -119,13 +102,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
119
102
|
signer?:
|
|
120
103
|
| import("@smithy/types").RequestSigner
|
|
121
104
|
| ((
|
|
122
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
105
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
123
106
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
124
107
|
signingEscapePath?: boolean;
|
|
125
108
|
systemClockOffset?: number;
|
|
126
109
|
signingRegion?: string;
|
|
127
110
|
signerConstructor?: new (
|
|
128
111
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
129
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
112
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
130
113
|
) => import("@smithy/types").RequestSigner;
|
|
131
114
|
};
|
|
@@ -8,20 +8,14 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
8
8
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (
|
|
11
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
11
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
12
12
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
-
requestHandler:
|
|
16
|
-
| RequestHandler
|
|
17
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
18
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
17
|
streamCollector: (
|
|
20
|
-
stream:
|
|
21
|
-
| import("stream").Readable
|
|
22
|
-
| import("stream/web").ReadableStream
|
|
23
|
-
| ReadableStream
|
|
24
|
-
| Blob
|
|
18
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
25
19
|
) => Promise<Uint8Array>;
|
|
26
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -45,15 +39,11 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
45
39
|
disableHostPrefix: boolean;
|
|
46
40
|
serviceId: string;
|
|
47
41
|
profile?: string;
|
|
48
|
-
credentialDefaultProvider?: (
|
|
49
|
-
input: any
|
|
50
|
-
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
42
|
+
credentialDefaultProvider?: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
51
43
|
logger: import("@smithy/types").Logger;
|
|
52
44
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
53
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
54
|
-
retryStrategy?:
|
|
55
|
-
| import("@smithy/types").RetryStrategy
|
|
56
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
46
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
57
47
|
endpoint?:
|
|
58
48
|
| ((
|
|
59
49
|
| string
|
|
@@ -75,7 +65,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
75
65
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
76
66
|
context?: {
|
|
77
67
|
logger?: import("@smithy/types").Logger;
|
|
78
|
-
}
|
|
68
|
+
},
|
|
79
69
|
) => import("@smithy/types").EndpointV2;
|
|
80
70
|
tls?: boolean;
|
|
81
71
|
serviceConfiguredEndpoint?: never;
|
|
@@ -85,22 +75,18 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
85
75
|
| {
|
|
86
76
|
schemeId: string;
|
|
87
77
|
identityProvider: (
|
|
88
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
78
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
89
79
|
) =>
|
|
90
|
-
| import("@smithy/types").IdentityProvider<
|
|
91
|
-
import("@smithy/types").Identity
|
|
92
|
-
>
|
|
80
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
93
81
|
| undefined;
|
|
94
82
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
95
83
|
}
|
|
96
84
|
| {
|
|
97
85
|
schemeId: string;
|
|
98
86
|
identityProvider: (
|
|
99
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
87
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
100
88
|
) =>
|
|
101
|
-
| import("@smithy/types").IdentityProvider<
|
|
102
|
-
import("@smithy/types").Identity
|
|
103
|
-
>
|
|
89
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
104
90
|
| (() => Promise<{}>);
|
|
105
91
|
signer: import("@smithy/core").NoAuthSigner;
|
|
106
92
|
}
|
|
@@ -112,13 +98,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
112
98
|
signer?:
|
|
113
99
|
| import("@smithy/types").RequestSigner
|
|
114
100
|
| ((
|
|
115
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
101
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
116
102
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
117
103
|
signingEscapePath?: boolean;
|
|
118
104
|
systemClockOffset?: number;
|
|
119
105
|
signingRegion?: string;
|
|
120
106
|
signerConstructor?: new (
|
|
121
107
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
122
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
108
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
123
109
|
) => import("@smithy/types").RequestSigner;
|
|
124
110
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,22 +83,18 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
96
83
|
| {
|
|
97
84
|
schemeId: string;
|
|
98
85
|
identityProvider: (
|
|
99
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
100
87
|
) =>
|
|
101
|
-
| import("@smithy/types").IdentityProvider<
|
|
102
|
-
import("@smithy/types").Identity
|
|
103
|
-
>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
104
89
|
| undefined;
|
|
105
90
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
106
91
|
}
|
|
107
92
|
| {
|
|
108
93
|
schemeId: string;
|
|
109
94
|
identityProvider: (
|
|
110
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
95
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
111
96
|
) =>
|
|
112
|
-
| import("@smithy/types").IdentityProvider<
|
|
113
|
-
import("@smithy/types").Identity
|
|
114
|
-
>
|
|
97
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
115
98
|
| (() => Promise<{}>);
|
|
116
99
|
signer: import("@smithy/core").NoAuthSigner;
|
|
117
100
|
}
|
|
@@ -123,13 +106,13 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
123
106
|
signer?:
|
|
124
107
|
| import("@smithy/types").RequestSigner
|
|
125
108
|
| ((
|
|
126
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
109
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
127
110
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
128
111
|
signingEscapePath?: boolean;
|
|
129
112
|
systemClockOffset?: number;
|
|
130
113
|
signingRegion?: string;
|
|
131
114
|
signerConstructor?: new (
|
|
132
115
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
133
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
116
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
134
117
|
) => import("@smithy/types").RequestSigner;
|
|
135
118
|
};
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
12
12
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
13
13
|
context?: {
|
|
14
14
|
logger?: import("@smithy/types").Logger;
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
16
|
) => import("@smithy/types").EndpointV2;
|
|
17
17
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
18
18
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SigninHttpAuthSchemeProvider;
|
|
@@ -22,22 +22,18 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
22
22
|
| {
|
|
23
23
|
schemeId: string;
|
|
24
24
|
identityProvider: (
|
|
25
|
-
ipc: IdentityProviderConfig
|
|
25
|
+
ipc: IdentityProviderConfig,
|
|
26
26
|
) =>
|
|
27
|
-
| import("@smithy/types").IdentityProvider<
|
|
28
|
-
import("@smithy/types").Identity
|
|
29
|
-
>
|
|
27
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
30
28
|
| undefined;
|
|
31
29
|
signer: AwsSdkSigV4Signer;
|
|
32
30
|
}
|
|
33
31
|
| {
|
|
34
32
|
schemeId: string;
|
|
35
33
|
identityProvider: (
|
|
36
|
-
ipc: IdentityProviderConfig
|
|
34
|
+
ipc: IdentityProviderConfig,
|
|
37
35
|
) =>
|
|
38
|
-
| import("@smithy/types").IdentityProvider<
|
|
39
|
-
import("@smithy/types").Identity
|
|
40
|
-
>
|
|
36
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
41
37
|
| (() => Promise<{}>);
|
|
42
38
|
signer: NoAuthSigner;
|
|
43
39
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var SigninServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalServerException$: StaticErrorSchema;
|
|
@@ -7,16 +7,16 @@ import { SSOClient } from "./SSOClient";
|
|
|
7
7
|
export interface SSO {
|
|
8
8
|
getRoleCredentials(
|
|
9
9
|
args: GetRoleCredentialsCommandInput,
|
|
10
|
-
options?: __HttpHandlerOptions
|
|
10
|
+
options?: __HttpHandlerOptions,
|
|
11
11
|
): Promise<GetRoleCredentialsCommandOutput>;
|
|
12
12
|
getRoleCredentials(
|
|
13
13
|
args: GetRoleCredentialsCommandInput,
|
|
14
|
-
cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void
|
|
14
|
+
cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
|
|
15
15
|
): void;
|
|
16
16
|
getRoleCredentials(
|
|
17
17
|
args: GetRoleCredentialsCommandInput,
|
|
18
18
|
options: __HttpHandlerOptions,
|
|
19
|
-
cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void
|
|
19
|
+
cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
|
|
20
20
|
): void;
|
|
21
21
|
}
|
|
22
22
|
export declare class SSO extends SSOClient implements SSO {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -48,8 +45,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
48
45
|
export { __Client };
|
|
49
46
|
export type ServiceInputTypes = GetRoleCredentialsCommandInput;
|
|
50
47
|
export type ServiceOutputTypes = GetRoleCredentialsCommandOutput;
|
|
51
|
-
export interface ClientDefaults
|
|
52
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
48
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
53
49
|
requestHandler?: __HttpHandlerUserInput;
|
|
54
50
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
55
51
|
urlParser?: __UrlParser;
|
|
@@ -73,9 +69,7 @@ export interface ClientDefaults
|
|
|
73
69
|
extensions?: RuntimeExtension[];
|
|
74
70
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
75
71
|
}
|
|
76
|
-
export type SSOClientConfigType = Partial<
|
|
77
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
78
|
-
> &
|
|
72
|
+
export type SSOClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
79
73
|
ClientDefaults &
|
|
80
74
|
UserAgentInputConfig &
|
|
81
75
|
RetryInputConfig &
|
|
@@ -85,17 +79,16 @@ export type SSOClientConfigType = Partial<
|
|
|
85
79
|
HttpAuthSchemeInputConfig &
|
|
86
80
|
ClientInputEndpointParameters;
|
|
87
81
|
export interface SSOClientConfig extends SSOClientConfigType {}
|
|
88
|
-
export type SSOClientResolvedConfigType =
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
ClientResolvedEndpointParameters;
|
|
82
|
+
export type SSOClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
83
|
+
Required<ClientDefaults> &
|
|
84
|
+
RuntimeExtensionsConfig &
|
|
85
|
+
UserAgentResolvedConfig &
|
|
86
|
+
RetryResolvedConfig &
|
|
87
|
+
RegionResolvedConfig &
|
|
88
|
+
HostHeaderResolvedConfig &
|
|
89
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
90
|
+
HttpAuthSchemeResolvedConfig &
|
|
91
|
+
ClientResolvedEndpointParameters;
|
|
99
92
|
export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {}
|
|
100
93
|
export declare class SSOClient extends __Client<
|
|
101
94
|
__HttpHandlerOptions,
|
|
@@ -7,17 +7,10 @@ import { SSOHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: SSOHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: SSOHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): SSOHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|