@aws-sdk/client-sts 3.1045.0 → 3.1047.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/auth/httpAuthSchemeProvider.js +11 -17
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +155 -57
- package/dist-cjs/models/STSServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +19 -23
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/STS.js +1 -1
- package/dist-es/STSClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +5 -10
- package/dist-es/commands/AssumeRoleCommand.js +2 -2
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -2
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/dist-es/commands/AssumeRootCommand.js +2 -2
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -2
- package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -2
- package/dist-es/commands/GetCallerIdentityCommand.js +2 -2
- package/dist-es/commands/GetDelegatedAccessTokenCommand.js +2 -2
- package/dist-es/commands/GetFederationTokenCommand.js +2 -2
- package/dist-es/commands/GetSessionTokenCommand.js +2 -2
- package/dist-es/commands/GetWebIdentityTokenCommand.js +2 -2
- package/dist-es/defaultStsRoleAssumers.js +0 -5
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/STSServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/STSClient.d.ts +5 -5
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -13
- package/dist-types/commands/AssumeRoleCommand.d.ts +6 -4
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +6 -4
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
- package/dist-types/commands/AssumeRootCommand.d.ts +6 -4
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -4
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -4
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
- package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetFederationTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetSessionTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +6 -4
- package/dist-types/defaultStsRoleAssumers.d.ts +0 -9
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/STSServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/STSClient.d.ts +8 -14
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +2 -12
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +0 -3
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/STSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +15 -36
- package/dist-cjs/STSClient.js +0 -55
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/endpoint/EndpointParameters.js +0 -19
- package/dist-cjs/runtimeExtensions.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The web identity token that was passed is expired or is not valid. Get a new identity
|
|
@@ -5,13 +5,13 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => 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: import("@smithy/
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -59,7 +59,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
59
59
|
signingEscapePath?: boolean;
|
|
60
60
|
systemClockOffset?: number;
|
|
61
61
|
signingRegion?: string;
|
|
62
|
-
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner)
|
|
62
|
+
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
63
63
|
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
64
64
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
65
65
|
};
|
|
@@ -8,7 +8,7 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
10
10
|
runtime: string;
|
|
11
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
11
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
12
12
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
13
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
14
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
@@ -24,7 +24,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
24
24
|
})[];
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
region: string | import("@smithy/types").Provider<string>;
|
|
27
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
27
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
28
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
29
|
sha256: import("@smithy/types").HashConstructor;
|
|
30
30
|
sigv4aSigningRegionSet: string[] | import("@smithy/types").Provider<string[] | undefined>;
|
|
@@ -63,6 +63,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
63
63
|
signingEscapePath?: boolean;
|
|
64
64
|
systemClockOffset?: number;
|
|
65
65
|
signingRegion?: string;
|
|
66
|
-
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner)
|
|
66
|
+
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
67
67
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
68
68
|
};
|
|
@@ -5,7 +5,7 @@ import type { STSClientConfig } from "./STSClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
10
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsQueryProtocol;
|
|
11
11
|
protocolSettings: {
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/
|
|
35
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -58,7 +58,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
58
58
|
signingEscapePath?: boolean;
|
|
59
59
|
systemClockOffset?: number;
|
|
60
60
|
signingRegion?: string;
|
|
61
|
-
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner)
|
|
61
|
+
signerConstructor: typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
62
62
|
sigv4aSigningRegionSet?: string[] | undefined | import("@smithy/types").Provider<string[] | undefined>;
|
|
63
63
|
useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
|
|
64
64
|
};
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
33
33
|
defaultNamespace?: string;
|
|
34
34
|
};
|
|
35
35
|
serviceId: string;
|
|
36
|
-
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner)
|
|
36
|
+
signerConstructor: typeof SignatureV4MultiRegion | (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner);
|
|
37
37
|
urlParser: import("@smithy/types").UrlParser;
|
|
38
38
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
39
39
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -6,25 +6,19 @@ import {
|
|
|
6
6
|
UserAgentInputConfig,
|
|
7
7
|
UserAgentResolvedConfig,
|
|
8
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
-
import {
|
|
10
|
-
RegionInputConfig,
|
|
11
|
-
RegionResolvedConfig,
|
|
12
|
-
} from "@smithy/config-resolver";
|
|
13
|
-
import {
|
|
14
|
-
EndpointInputConfig,
|
|
15
|
-
EndpointResolvedConfig,
|
|
16
|
-
} from "@smithy/middleware-endpoint";
|
|
17
|
-
import {
|
|
18
|
-
RetryInputConfig,
|
|
19
|
-
RetryResolvedConfig,
|
|
20
|
-
} from "@smithy/middleware-retry";
|
|
21
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
9
|
import {
|
|
23
10
|
DefaultsMode as __DefaultsMode,
|
|
24
11
|
SmithyConfiguration as __SmithyConfiguration,
|
|
25
12
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
13
|
Client as __Client,
|
|
27
|
-
} from "@smithy/
|
|
14
|
+
} from "@smithy/core/client";
|
|
15
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
16
|
+
import {
|
|
17
|
+
EndpointInputConfig,
|
|
18
|
+
EndpointResolvedConfig,
|
|
19
|
+
} from "@smithy/core/endpoints";
|
|
20
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
21
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
28
22
|
import {
|
|
29
23
|
AwsCredentialIdentityProvider,
|
|
30
24
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
AwsSdkSigV4PreviouslyResolved,
|
|
8
8
|
} from "@aws-sdk/core/httpAuthSchemes";
|
|
9
9
|
import {
|
|
10
|
-
Client,
|
|
11
10
|
HandlerExecutionContext,
|
|
12
11
|
HttpAuthScheme,
|
|
13
12
|
HttpAuthSchemeParameters,
|
|
@@ -36,24 +35,15 @@ export declare const defaultSTSHttpAuthSchemeParametersProvider: STSHttpAuthSche
|
|
|
36
35
|
export interface STSHttpAuthSchemeProvider
|
|
37
36
|
extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
|
|
38
37
|
export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
39
|
-
export interface StsAuthInputConfig {}
|
|
40
|
-
export interface StsAuthResolvedConfig {
|
|
41
|
-
stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
|
|
42
|
-
}
|
|
43
|
-
export declare const resolveStsAuthConfig: <T>(
|
|
44
|
-
input: T & StsAuthInputConfig
|
|
45
|
-
) => T & StsAuthResolvedConfig;
|
|
46
38
|
export interface HttpAuthSchemeInputConfig
|
|
47
|
-
extends
|
|
48
|
-
AwsSdkSigV4AuthInputConfig,
|
|
39
|
+
extends AwsSdkSigV4AuthInputConfig,
|
|
49
40
|
AwsSdkSigV4AAuthInputConfig {
|
|
50
41
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
51
42
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
52
43
|
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
|
53
44
|
}
|
|
54
45
|
export interface HttpAuthSchemeResolvedConfig
|
|
55
|
-
extends
|
|
56
|
-
AwsSdkSigV4AuthResolvedConfig,
|
|
46
|
+
extends AwsSdkSigV4AuthResolvedConfig,
|
|
57
47
|
AwsSdkSigV4AAuthResolvedConfig {
|
|
58
48
|
readonly authSchemePreference: Provider<string[]>;
|
|
59
49
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
4
4
|
import {
|
|
@@ -15,7 +15,7 @@ export interface AssumeRoleCommandOutput
|
|
|
15
15
|
declare const AssumeRoleCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: AssumeRoleCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
AssumeRoleCommandInput,
|
|
20
20
|
AssumeRoleCommandOutput,
|
|
21
21
|
STSClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const AssumeRoleCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: AssumeRoleCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
AssumeRoleCommandInput,
|
|
29
29
|
AssumeRoleCommandOutput,
|
|
30
30
|
STSClientResolvedConfig,
|
|
31
31
|
ServiceInputTypes,
|
|
32
32
|
ServiceOutputTypes
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
35
37
|
};
|
|
36
38
|
export declare class AssumeRoleCommand extends AssumeRoleCommand_base {
|
|
37
39
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
AssumeRoleWithSAMLRequest,
|
|
@@ -19,7 +19,7 @@ export interface AssumeRoleWithSAMLCommandOutput
|
|
|
19
19
|
declare const AssumeRoleWithSAMLCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: AssumeRoleWithSAMLCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
AssumeRoleWithSAMLCommandInput,
|
|
24
24
|
AssumeRoleWithSAMLCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const AssumeRoleWithSAMLCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: AssumeRoleWithSAMLCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
AssumeRoleWithSAMLCommandInput,
|
|
33
33
|
AssumeRoleWithSAMLCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
AssumeRoleWithWebIdentityRequest,
|
|
@@ -19,7 +19,7 @@ export interface AssumeRoleWithWebIdentityCommandOutput
|
|
|
19
19
|
declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: AssumeRoleWithWebIdentityCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
AssumeRoleWithWebIdentityCommandInput,
|
|
24
24
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: AssumeRoleWithWebIdentityCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
AssumeRoleWithWebIdentityCommandInput,
|
|
33
33
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
|
|
4
4
|
import {
|
|
@@ -15,7 +15,7 @@ export interface AssumeRootCommandOutput
|
|
|
15
15
|
declare const AssumeRootCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: AssumeRootCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
AssumeRootCommandInput,
|
|
20
20
|
AssumeRootCommandOutput,
|
|
21
21
|
STSClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const AssumeRootCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: AssumeRootCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
AssumeRootCommandInput,
|
|
29
29
|
AssumeRootCommandOutput,
|
|
30
30
|
STSClientResolvedConfig,
|
|
31
31
|
ServiceInputTypes,
|
|
32
32
|
ServiceOutputTypes
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
35
37
|
};
|
|
36
38
|
export declare class AssumeRootCommand extends AssumeRootCommand_base {
|
|
37
39
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
DecodeAuthorizationMessageRequest,
|
|
@@ -19,7 +19,7 @@ export interface DecodeAuthorizationMessageCommandOutput
|
|
|
19
19
|
declare const DecodeAuthorizationMessageCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: DecodeAuthorizationMessageCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
DecodeAuthorizationMessageCommandInput,
|
|
24
24
|
DecodeAuthorizationMessageCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const DecodeAuthorizationMessageCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: DecodeAuthorizationMessageCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
DecodeAuthorizationMessageCommandInput,
|
|
33
33
|
DecodeAuthorizationMessageCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetAccessKeyInfoRequest,
|
|
@@ -18,7 +18,7 @@ export interface GetAccessKeyInfoCommandOutput
|
|
|
18
18
|
declare const GetAccessKeyInfoCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: GetAccessKeyInfoCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
GetAccessKeyInfoCommandInput,
|
|
23
23
|
GetAccessKeyInfoCommandOutput,
|
|
24
24
|
STSClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const GetAccessKeyInfoCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
input: GetAccessKeyInfoCommandInput
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
GetAccessKeyInfoCommandInput,
|
|
32
32
|
GetAccessKeyInfoCommandOutput,
|
|
33
33
|
STSClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetCallerIdentityRequest,
|
|
@@ -19,7 +19,7 @@ export interface GetCallerIdentityCommandOutput
|
|
|
19
19
|
declare const GetCallerIdentityCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: GetCallerIdentityCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
GetCallerIdentityCommandInput,
|
|
24
24
|
GetCallerIdentityCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const GetCallerIdentityCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
...[input]: [] | [GetCallerIdentityCommandInput]
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
GetCallerIdentityCommandInput,
|
|
33
33
|
GetCallerIdentityCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetDelegatedAccessTokenRequest,
|
|
@@ -19,7 +19,7 @@ export interface GetDelegatedAccessTokenCommandOutput
|
|
|
19
19
|
declare const GetDelegatedAccessTokenCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: GetDelegatedAccessTokenCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
GetDelegatedAccessTokenCommandInput,
|
|
24
24
|
GetDelegatedAccessTokenCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const GetDelegatedAccessTokenCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: GetDelegatedAccessTokenCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
GetDelegatedAccessTokenCommandInput,
|
|
33
33
|
GetDelegatedAccessTokenCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class GetDelegatedAccessTokenCommand extends GetDelegatedAccessTokenCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetFederationTokenRequest,
|
|
@@ -19,7 +19,7 @@ export interface GetFederationTokenCommandOutput
|
|
|
19
19
|
declare const GetFederationTokenCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: GetFederationTokenCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
GetFederationTokenCommandInput,
|
|
24
24
|
GetFederationTokenCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const GetFederationTokenCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: GetFederationTokenCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
GetFederationTokenCommandInput,
|
|
33
33
|
GetFederationTokenCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetSessionTokenRequest,
|
|
@@ -18,7 +18,7 @@ export interface GetSessionTokenCommandOutput
|
|
|
18
18
|
declare const GetSessionTokenCommand_base: {
|
|
19
19
|
new (
|
|
20
20
|
input: GetSessionTokenCommandInput
|
|
21
|
-
): import("@smithy/
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
22
|
GetSessionTokenCommandInput,
|
|
23
23
|
GetSessionTokenCommandOutput,
|
|
24
24
|
STSClientResolvedConfig,
|
|
@@ -27,14 +27,16 @@ declare const GetSessionTokenCommand_base: {
|
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
29
|
...[input]: [] | [GetSessionTokenCommandInput]
|
|
30
|
-
): import("@smithy/
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
31
|
GetSessionTokenCommandInput,
|
|
32
32
|
GetSessionTokenCommandOutput,
|
|
33
33
|
STSClientResolvedConfig,
|
|
34
34
|
ServiceInputTypes,
|
|
35
35
|
ServiceOutputTypes
|
|
36
36
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
38
40
|
};
|
|
39
41
|
export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {
|
|
40
42
|
protected static __types: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
GetWebIdentityTokenRequest,
|
|
@@ -19,7 +19,7 @@ export interface GetWebIdentityTokenCommandOutput
|
|
|
19
19
|
declare const GetWebIdentityTokenCommand_base: {
|
|
20
20
|
new (
|
|
21
21
|
input: GetWebIdentityTokenCommandInput
|
|
22
|
-
): import("@smithy/
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
23
|
GetWebIdentityTokenCommandInput,
|
|
24
24
|
GetWebIdentityTokenCommandOutput,
|
|
25
25
|
STSClientResolvedConfig,
|
|
@@ -28,14 +28,16 @@ declare const GetWebIdentityTokenCommand_base: {
|
|
|
28
28
|
>;
|
|
29
29
|
new (
|
|
30
30
|
input: GetWebIdentityTokenCommandInput
|
|
31
|
-
): import("@smithy/
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
32
|
GetWebIdentityTokenCommandInput,
|
|
33
33
|
GetWebIdentityTokenCommandOutput,
|
|
34
34
|
STSClientResolvedConfig,
|
|
35
35
|
ServiceInputTypes,
|
|
36
36
|
ServiceOutputTypes
|
|
37
37
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
39
41
|
};
|
|
40
42
|
export declare class GetWebIdentityTokenCommand extends GetWebIdentityTokenCommand_base {
|
|
41
43
|
protected static __types: {
|
|
@@ -28,6 +28,3 @@ export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
|
28
28
|
export type DefaultCredentialProvider = (
|
|
29
29
|
input: any
|
|
30
30
|
) => Provider<AwsCredentialIdentity>;
|
|
31
|
-
export declare const decorateDefaultCredentialProvider: (
|
|
32
|
-
provider: DefaultCredentialProvider
|
|
33
|
-
) => DefaultCredentialProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface STSExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class STSServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
3
|
export declare class ExpiredTokenException extends __BaseException {
|
|
4
4
|
readonly name: "ExpiredTokenException";
|
|
@@ -3,7 +3,7 @@ import { STSClientConfig } from "./STSClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
4
4
|
runtime: string;
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
-
import("@smithy/
|
|
6
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
19
|
requestHandler:
|
|
20
|
-
| import("@smithy/
|
|
20
|
+
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
21
|
| RequestHandler;
|
|
22
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
23
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -119,11 +119,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
119
119
|
systemClockOffset?: number;
|
|
120
120
|
signingRegion?: string;
|
|
121
121
|
signerConstructor:
|
|
122
|
+
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion
|
|
122
123
|
| (new (
|
|
123
124
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
124
125
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
125
|
-
) => import("@smithy/types").RequestSigner)
|
|
126
|
-
| typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
126
|
+
) => import("@smithy/types").RequestSigner);
|
|
127
127
|
sigv4aSigningRegionSet?:
|
|
128
128
|
| string[]
|
|
129
129
|
| undefined
|