@aws-sdk/nested-clients 3.997.31 → 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 +121 -76
- 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/Signin.js +2 -0
- package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +6 -4
- package/dist-es/submodules/signin/commandBuilder.js +3 -0
- package/dist-es/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.js +4 -0
- package/dist-es/submodules/signin/commands/index.js +1 -0
- package/dist-es/submodules/signin/endpoint/bdd.js +80 -70
- package/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/signin/schemas/schemas_0.js +23 -0
- 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/Signin.d.ts +7 -0
- package/dist-types/submodules/signin/SigninClient.d.ts +3 -2
- package/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/submodules/signin/commandBuilder.d.ts +8 -4
- package/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +2 -2
- package/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +114 -0
- package/dist-types/submodules/signin/commands/index.d.ts +1 -0
- package/dist-types/submodules/signin/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/submodules/signin/models/models_0.d.ts +41 -3
- package/dist-types/submodules/signin/schemas/schemas_0.d.ts +3 -0
- 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 +20 -3
- package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +25 -27
- 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 +13 -18
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +9 -14
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +42 -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 +2 -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/models/models_0.d.ts +9 -0
- 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 +4 -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 -50
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
-
import {
|
|
3
|
-
AccessDeniedExceptionReason,
|
|
4
|
-
InvalidRequestExceptionReason,
|
|
5
|
-
} from "./enums";
|
|
2
|
+
import { AccessDeniedExceptionReason, InvalidRequestExceptionReason } from "./enums";
|
|
6
3
|
import { SSOOIDCServiceException as __BaseException } from "./SSOOIDCServiceException";
|
|
7
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
5
|
readonly name: "AccessDeniedException";
|
|
@@ -10,54 +7,42 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
7
|
error?: string | undefined;
|
|
11
8
|
reason?: AccessDeniedExceptionReason | undefined;
|
|
12
9
|
error_description?: string | undefined;
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
15
|
-
);
|
|
10
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
11
|
}
|
|
17
12
|
export declare class AuthorizationPendingException extends __BaseException {
|
|
18
13
|
readonly name: "AuthorizationPendingException";
|
|
19
14
|
readonly $fault: "client";
|
|
20
15
|
error?: string | undefined;
|
|
21
16
|
error_description?: string | undefined;
|
|
22
|
-
constructor(
|
|
23
|
-
opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>
|
|
24
|
-
);
|
|
17
|
+
constructor(opts: __ExceptionOptionType<AuthorizationPendingException, __BaseException>);
|
|
25
18
|
}
|
|
26
19
|
export declare class ExpiredTokenException extends __BaseException {
|
|
27
20
|
readonly name: "ExpiredTokenException";
|
|
28
21
|
readonly $fault: "client";
|
|
29
22
|
error?: string | undefined;
|
|
30
23
|
error_description?: string | undefined;
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
|
|
33
|
-
);
|
|
24
|
+
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
34
25
|
}
|
|
35
26
|
export declare class InternalServerException extends __BaseException {
|
|
36
27
|
readonly name: "InternalServerException";
|
|
37
28
|
readonly $fault: "server";
|
|
38
29
|
error?: string | undefined;
|
|
39
30
|
error_description?: string | undefined;
|
|
40
|
-
constructor(
|
|
41
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
42
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
43
32
|
}
|
|
44
33
|
export declare class InvalidClientException extends __BaseException {
|
|
45
34
|
readonly name: "InvalidClientException";
|
|
46
35
|
readonly $fault: "client";
|
|
47
36
|
error?: string | undefined;
|
|
48
37
|
error_description?: string | undefined;
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<InvalidClientException, __BaseException>
|
|
51
|
-
);
|
|
38
|
+
constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
|
|
52
39
|
}
|
|
53
40
|
export declare class InvalidGrantException extends __BaseException {
|
|
54
41
|
readonly name: "InvalidGrantException";
|
|
55
42
|
readonly $fault: "client";
|
|
56
43
|
error?: string | undefined;
|
|
57
44
|
error_description?: string | undefined;
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<InvalidGrantException, __BaseException>
|
|
60
|
-
);
|
|
45
|
+
constructor(opts: __ExceptionOptionType<InvalidGrantException, __BaseException>);
|
|
61
46
|
}
|
|
62
47
|
export declare class InvalidRequestException extends __BaseException {
|
|
63
48
|
readonly name: "InvalidRequestException";
|
|
@@ -65,18 +50,14 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
65
50
|
error?: string | undefined;
|
|
66
51
|
reason?: InvalidRequestExceptionReason | undefined;
|
|
67
52
|
error_description?: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
70
|
-
);
|
|
53
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
71
54
|
}
|
|
72
55
|
export declare class InvalidScopeException extends __BaseException {
|
|
73
56
|
readonly name: "InvalidScopeException";
|
|
74
57
|
readonly $fault: "client";
|
|
75
58
|
error?: string | undefined;
|
|
76
59
|
error_description?: string | undefined;
|
|
77
|
-
constructor(
|
|
78
|
-
opts: __ExceptionOptionType<InvalidScopeException, __BaseException>
|
|
79
|
-
);
|
|
60
|
+
constructor(opts: __ExceptionOptionType<InvalidScopeException, __BaseException>);
|
|
80
61
|
}
|
|
81
62
|
export declare class SlowDownException extends __BaseException {
|
|
82
63
|
readonly name: "SlowDownException";
|
|
@@ -90,16 +71,12 @@ export declare class UnauthorizedClientException extends __BaseException {
|
|
|
90
71
|
readonly $fault: "client";
|
|
91
72
|
error?: string | undefined;
|
|
92
73
|
error_description?: string | undefined;
|
|
93
|
-
constructor(
|
|
94
|
-
opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
|
|
95
|
-
);
|
|
74
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>);
|
|
96
75
|
}
|
|
97
76
|
export declare class UnsupportedGrantTypeException extends __BaseException {
|
|
98
77
|
readonly name: "UnsupportedGrantTypeException";
|
|
99
78
|
readonly $fault: "client";
|
|
100
79
|
error?: string | undefined;
|
|
101
80
|
error_description?: string | undefined;
|
|
102
|
-
constructor(
|
|
103
|
-
opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>
|
|
104
|
-
);
|
|
81
|
+
constructor(opts: __ExceptionOptionType<UnsupportedGrantTypeException, __BaseException>);
|
|
105
82
|
}
|
|
@@ -7,20 +7,14 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
defaultUserAgentProvider: (
|
|
10
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
10
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
11
11
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler:
|
|
15
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
16
|
-
| RequestHandler;
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
17
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
16
|
streamCollector: (
|
|
19
|
-
stream:
|
|
20
|
-
| import("stream").Readable
|
|
21
|
-
| import("stream/web").ReadableStream
|
|
22
|
-
| ReadableStream
|
|
23
|
-
| Blob
|
|
17
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
24
18
|
) => Promise<Uint8Array>;
|
|
25
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
26
20
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -48,13 +42,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
48
42
|
logger: import("@smithy/types").Logger;
|
|
49
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
44
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
51
|
-
userAgentAppId?:
|
|
52
|
-
|
|
53
|
-
| undefined
|
|
54
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
55
|
-
retryStrategy?:
|
|
56
|
-
| import("@smithy/types").RetryStrategy
|
|
57
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
45
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
46
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
58
47
|
endpoint?:
|
|
59
48
|
| ((
|
|
60
49
|
| string
|
|
@@ -76,7 +65,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
76
65
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
77
66
|
context?: {
|
|
78
67
|
logger?: import("@smithy/types").Logger;
|
|
79
|
-
}
|
|
68
|
+
},
|
|
80
69
|
) => import("@smithy/types").EndpointV2;
|
|
81
70
|
tls?: boolean;
|
|
82
71
|
serviceConfiguredEndpoint?: never;
|
|
@@ -87,22 +76,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
87
76
|
| {
|
|
88
77
|
schemeId: string;
|
|
89
78
|
identityProvider: (
|
|
90
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
79
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
91
80
|
) =>
|
|
92
|
-
| import("@smithy/types").IdentityProvider<
|
|
93
|
-
import("@smithy/types").Identity
|
|
94
|
-
>
|
|
81
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
95
82
|
| undefined;
|
|
96
83
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
97
84
|
}
|
|
98
85
|
| {
|
|
99
86
|
schemeId: string;
|
|
100
87
|
identityProvider: (
|
|
101
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
88
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
102
89
|
) =>
|
|
103
|
-
| import("@smithy/types").IdentityProvider<
|
|
104
|
-
import("@smithy/types").Identity
|
|
105
|
-
>
|
|
90
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
106
91
|
| (() => Promise<{}>);
|
|
107
92
|
signer: import("@smithy/core").NoAuthSigner;
|
|
108
93
|
}
|
|
@@ -114,13 +99,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
114
99
|
signer?:
|
|
115
100
|
| import("@smithy/types").RequestSigner
|
|
116
101
|
| ((
|
|
117
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
102
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
118
103
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
119
104
|
signingEscapePath?: boolean;
|
|
120
105
|
systemClockOffset?: number;
|
|
121
106
|
signingRegion?: string;
|
|
122
107
|
signerConstructor?: new (
|
|
123
108
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
124
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
109
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
125
110
|
) => import("@smithy/types").RequestSigner;
|
|
126
111
|
};
|
|
@@ -8,20 +8,14 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
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>;
|
|
@@ -48,9 +42,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
48
42
|
logger: import("@smithy/types").Logger;
|
|
49
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
50
44
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
51
|
-
retryStrategy?:
|
|
52
|
-
| import("@smithy/types").RetryStrategy
|
|
53
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
45
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
54
46
|
endpoint?:
|
|
55
47
|
| ((
|
|
56
48
|
| string
|
|
@@ -72,7 +64,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
72
64
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
73
65
|
context?: {
|
|
74
66
|
logger?: import("@smithy/types").Logger;
|
|
75
|
-
}
|
|
67
|
+
},
|
|
76
68
|
) => import("@smithy/types").EndpointV2;
|
|
77
69
|
tls?: boolean;
|
|
78
70
|
serviceConfiguredEndpoint?: never;
|
|
@@ -82,22 +74,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
82
74
|
| {
|
|
83
75
|
schemeId: string;
|
|
84
76
|
identityProvider: (
|
|
85
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
77
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
86
78
|
) =>
|
|
87
|
-
| import("@smithy/types").IdentityProvider<
|
|
88
|
-
import("@smithy/types").Identity
|
|
89
|
-
>
|
|
79
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
90
80
|
| undefined;
|
|
91
81
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
92
82
|
}
|
|
93
83
|
| {
|
|
94
84
|
schemeId: string;
|
|
95
85
|
identityProvider: (
|
|
96
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
97
87
|
) =>
|
|
98
|
-
| import("@smithy/types").IdentityProvider<
|
|
99
|
-
import("@smithy/types").Identity
|
|
100
|
-
>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
101
89
|
| (() => Promise<{}>);
|
|
102
90
|
signer: import("@smithy/core").NoAuthSigner;
|
|
103
91
|
}
|
|
@@ -109,13 +97,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
109
97
|
signer?:
|
|
110
98
|
| import("@smithy/types").RequestSigner
|
|
111
99
|
| ((
|
|
112
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
100
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
113
101
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
114
102
|
signingEscapePath?: boolean;
|
|
115
103
|
systemClockOffset?: number;
|
|
116
104
|
signingRegion?: string;
|
|
117
105
|
signerConstructor?: new (
|
|
118
106
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
119
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
107
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
120
108
|
) => import("@smithy/types").RequestSigner;
|
|
121
109
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
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,7 +36,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
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
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
46
42
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -48,17 +44,10 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
48
44
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
49
45
|
defaultsMode:
|
|
50
46
|
| import("@smithy/core/client").DefaultsMode
|
|
51
|
-
| import("@smithy/types").Provider<
|
|
52
|
-
import("@smithy/core/client").DefaultsMode
|
|
53
|
-
>;
|
|
47
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
54
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
55
|
-
userAgentAppId?:
|
|
56
|
-
|
|
57
|
-
| undefined
|
|
58
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
62
51
|
endpoint?:
|
|
63
52
|
| ((
|
|
64
53
|
| string
|
|
@@ -80,7 +69,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
80
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
81
70
|
context?: {
|
|
82
71
|
logger?: import("@smithy/types").Logger;
|
|
83
|
-
}
|
|
72
|
+
},
|
|
84
73
|
) => import("@smithy/types").EndpointV2;
|
|
85
74
|
tls?: boolean;
|
|
86
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,22 +80,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
91
80
|
| {
|
|
92
81
|
schemeId: string;
|
|
93
82
|
identityProvider: (
|
|
94
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
83
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
95
84
|
) =>
|
|
96
|
-
| import("@smithy/types").IdentityProvider<
|
|
97
|
-
import("@smithy/types").Identity
|
|
98
|
-
>
|
|
85
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
99
86
|
| undefined;
|
|
100
87
|
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
101
88
|
}
|
|
102
89
|
| {
|
|
103
90
|
schemeId: string;
|
|
104
91
|
identityProvider: (
|
|
105
|
-
ipc: import("@smithy/types").IdentityProviderConfig
|
|
92
|
+
ipc: import("@smithy/types").IdentityProviderConfig,
|
|
106
93
|
) =>
|
|
107
|
-
| import("@smithy/types").IdentityProvider<
|
|
108
|
-
import("@smithy/types").Identity
|
|
109
|
-
>
|
|
94
|
+
| import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>
|
|
110
95
|
| (() => Promise<{}>);
|
|
111
96
|
signer: import("@smithy/core").NoAuthSigner;
|
|
112
97
|
}
|
|
@@ -118,13 +103,13 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
118
103
|
signer?:
|
|
119
104
|
| import("@smithy/types").RequestSigner
|
|
120
105
|
| ((
|
|
121
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
106
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
122
107
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
123
108
|
signingEscapePath?: boolean;
|
|
124
109
|
systemClockOffset?: number;
|
|
125
110
|
signingRegion?: string;
|
|
126
111
|
signerConstructor?: new (
|
|
127
112
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
128
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
113
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
129
114
|
) => import("@smithy/types").RequestSigner;
|
|
130
115
|
};
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
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").SSOOIDCHttpAuthSchemeProvider;
|
|
@@ -22,22 +22,18 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
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 SSOOIDCServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var AuthorizationPendingException$: StaticErrorSchema;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
AssumeRoleCommandInput,
|
|
4
|
-
AssumeRoleCommandOutput,
|
|
5
|
-
} from "./commands/AssumeRoleCommand";
|
|
2
|
+
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
6
3
|
import {
|
|
7
4
|
AssumeRoleWithWebIdentityCommandInput,
|
|
8
5
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
@@ -11,29 +8,29 @@ import { STSClient } from "./STSClient";
|
|
|
11
8
|
export interface STS {
|
|
12
9
|
assumeRole(
|
|
13
10
|
args: AssumeRoleCommandInput,
|
|
14
|
-
options?: __HttpHandlerOptions
|
|
11
|
+
options?: __HttpHandlerOptions,
|
|
15
12
|
): Promise<AssumeRoleCommandOutput>;
|
|
16
13
|
assumeRole(
|
|
17
14
|
args: AssumeRoleCommandInput,
|
|
18
|
-
cb: (err: any, data?: AssumeRoleCommandOutput) => void
|
|
15
|
+
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
19
16
|
): void;
|
|
20
17
|
assumeRole(
|
|
21
18
|
args: AssumeRoleCommandInput,
|
|
22
19
|
options: __HttpHandlerOptions,
|
|
23
|
-
cb: (err: any, data?: AssumeRoleCommandOutput) => void
|
|
20
|
+
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
24
21
|
): void;
|
|
25
22
|
assumeRoleWithWebIdentity(
|
|
26
23
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
27
|
-
options?: __HttpHandlerOptions
|
|
24
|
+
options?: __HttpHandlerOptions,
|
|
28
25
|
): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
29
26
|
assumeRoleWithWebIdentity(
|
|
30
27
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
31
|
-
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
|
|
28
|
+
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
32
29
|
): void;
|
|
33
30
|
assumeRoleWithWebIdentity(
|
|
34
31
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
35
32
|
options: __HttpHandlerOptions,
|
|
36
|
-
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
|
|
33
|
+
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
37
34
|
): void;
|
|
38
35
|
}
|
|
39
36
|
export declare class STS extends STSClient implements STS {}
|
|
@@ -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 {
|
|
@@ -36,10 +33,7 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
AssumeRoleCommandInput,
|
|
41
|
-
AssumeRoleCommandOutput,
|
|
42
|
-
} from "./commands/AssumeRoleCommand";
|
|
36
|
+
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
43
37
|
import {
|
|
44
38
|
AssumeRoleWithWebIdentityCommandInput,
|
|
45
39
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
@@ -51,14 +45,9 @@ import {
|
|
|
51
45
|
} from "./endpoint/EndpointParameters";
|
|
52
46
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
53
47
|
export { __Client };
|
|
54
|
-
export type ServiceInputTypes =
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
export type ServiceOutputTypes =
|
|
58
|
-
| AssumeRoleCommandOutput
|
|
59
|
-
| AssumeRoleWithWebIdentityCommandOutput;
|
|
60
|
-
export interface ClientDefaults
|
|
61
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
48
|
+
export type ServiceInputTypes = AssumeRoleCommandInput | AssumeRoleWithWebIdentityCommandInput;
|
|
49
|
+
export type ServiceOutputTypes = AssumeRoleCommandOutput | AssumeRoleWithWebIdentityCommandOutput;
|
|
50
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
62
51
|
requestHandler?: __HttpHandlerUserInput;
|
|
63
52
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
64
53
|
urlParser?: __UrlParser;
|
|
@@ -83,9 +72,7 @@ export interface ClientDefaults
|
|
|
83
72
|
extensions?: RuntimeExtension[];
|
|
84
73
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
85
74
|
}
|
|
86
|
-
export type STSClientConfigType = Partial<
|
|
87
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
88
|
-
> &
|
|
75
|
+
export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
89
76
|
ClientDefaults &
|
|
90
77
|
UserAgentInputConfig &
|
|
91
78
|
RetryInputConfig &
|
|
@@ -95,17 +82,16 @@ export type STSClientConfigType = Partial<
|
|
|
95
82
|
HttpAuthSchemeInputConfig &
|
|
96
83
|
ClientInputEndpointParameters;
|
|
97
84
|
export interface STSClientConfig extends STSClientConfigType {}
|
|
98
|
-
export type STSClientResolvedConfigType =
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ClientResolvedEndpointParameters;
|
|
85
|
+
export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
86
|
+
Required<ClientDefaults> &
|
|
87
|
+
RuntimeExtensionsConfig &
|
|
88
|
+
UserAgentResolvedConfig &
|
|
89
|
+
RetryResolvedConfig &
|
|
90
|
+
RegionResolvedConfig &
|
|
91
|
+
HostHeaderResolvedConfig &
|
|
92
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
93
|
+
HttpAuthSchemeResolvedConfig &
|
|
94
|
+
ClientResolvedEndpointParameters;
|
|
109
95
|
export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
|
|
110
96
|
export declare class STSClient extends __Client<
|
|
111
97
|
__HttpHandlerOptions,
|
|
@@ -7,17 +7,10 @@ import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: STSHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: STSHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): STSHttpAuthSchemeProvider;
|
|
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;
|
|
@@ -20,31 +20,26 @@ interface _STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
|
20
20
|
region?: string;
|
|
21
21
|
}
|
|
22
22
|
export interface STSHttpAuthSchemeParameters
|
|
23
|
-
extends _STSHttpAuthSchemeParameters,
|
|
24
|
-
EndpointParameters {
|
|
23
|
+
extends _STSHttpAuthSchemeParameters, EndpointParameters {
|
|
25
24
|
region?: string;
|
|
26
25
|
}
|
|
27
|
-
export interface STSHttpAuthSchemeParametersProvider
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
> {}
|
|
26
|
+
export interface STSHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
27
|
+
STSClientResolvedConfig,
|
|
28
|
+
HandlerExecutionContext,
|
|
29
|
+
STSHttpAuthSchemeParameters,
|
|
30
|
+
object
|
|
31
|
+
> {}
|
|
34
32
|
export declare const defaultSTSHttpAuthSchemeParametersProvider: STSHttpAuthSchemeParametersProvider;
|
|
35
|
-
export interface STSHttpAuthSchemeProvider
|
|
36
|
-
extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
|
|
33
|
+
export interface STSHttpAuthSchemeProvider extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
|
|
37
34
|
export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
38
35
|
export interface HttpAuthSchemeInputConfig
|
|
39
|
-
extends AwsSdkSigV4AuthInputConfig,
|
|
40
|
-
AwsSdkSigV4AAuthInputConfig {
|
|
36
|
+
extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
|
|
41
37
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
42
38
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
43
39
|
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export interface HttpAuthSchemeResolvedConfig
|
|
46
|
-
extends AwsSdkSigV4AuthResolvedConfig,
|
|
47
|
-
AwsSdkSigV4AAuthResolvedConfig {
|
|
42
|
+
extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
|
|
48
43
|
readonly authSchemePreference: Provider<string[]>;
|
|
49
44
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
50
45
|
readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
@@ -53,6 +48,6 @@ export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
|
53
48
|
config: T &
|
|
54
49
|
HttpAuthSchemeInputConfig &
|
|
55
50
|
AwsSdkSigV4PreviouslyResolved &
|
|
56
|
-
AwsSdkSigV4APreviouslyResolved
|
|
51
|
+
AwsSdkSigV4APreviouslyResolved,
|
|
57
52
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
58
53
|
export {};
|