@aws-sdk/nested-clients 3.730.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/README.md +13 -0
- package/dist-cjs/index.js +2 -0
- package/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +56 -0
- package/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +106 -0
- package/dist-cjs/submodules/sso-oidc/index.js +804 -0
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +38 -0
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.js +50 -0
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +40 -0
- package/dist-cjs/submodules/sts/STSClient.js +51 -0
- package/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +63 -0
- package/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +20 -0
- package/dist-cjs/submodules/sts/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/sts/endpoint/ruleset.js +145 -0
- package/dist-cjs/submodules/sts/index.js +950 -0
- package/dist-cjs/submodules/sts/runtimeConfig.browser.js +39 -0
- package/dist-cjs/submodules/sts/runtimeConfig.js +64 -0
- package/dist-cjs/submodules/sts/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/sts/runtimeConfig.shared.js +40 -0
- package/dist-cjs/submodules/sts/runtimeExtensions.js +25 -0
- package/dist-es/index.js +1 -0
- package/dist-es/submodules/sso-oidc/SSOOIDC.js +9 -0
- package/dist-es/submodules/sso-oidc/SSOOIDCClient.js +47 -0
- package/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +50 -0
- package/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +23 -0
- package/dist-es/submodules/sso-oidc/commands/index.js +1 -0
- package/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +14 -0
- package/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/sso-oidc/endpoint/ruleset.js +103 -0
- package/dist-es/submodules/sso-oidc/extensionConfiguration.js +1 -0
- package/dist-es/submodules/sso-oidc/index.js +5 -0
- package/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +8 -0
- package/dist-es/submodules/sso-oidc/models/index.js +1 -0
- package/dist-es/submodules/sso-oidc/models/models_0.js +190 -0
- package/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +255 -0
- package/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +33 -0
- package/dist-es/submodules/sso-oidc/runtimeConfig.js +45 -0
- package/dist-es/submodules/sso-oidc/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +36 -0
- package/dist-es/submodules/sso-oidc/runtimeExtensions.js +21 -0
- package/dist-es/submodules/sts/STS.js +11 -0
- package/dist-es/submodules/sts/STSClient.js +47 -0
- package/dist-es/submodules/sts/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +56 -0
- package/dist-es/submodules/sts/commands/AssumeRoleCommand.js +23 -0
- package/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +23 -0
- package/dist-es/submodules/sts/commands/index.js +2 -0
- package/dist-es/submodules/sts/defaultRoleAssumers.js +22 -0
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +93 -0
- package/dist-es/submodules/sts/endpoint/EndpointParameters.js +16 -0
- package/dist-es/submodules/sts/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/sts/endpoint/ruleset.js +142 -0
- package/dist-es/submodules/sts/extensionConfiguration.js +1 -0
- package/dist-es/submodules/sts/index.js +6 -0
- package/dist-es/submodules/sts/models/STSServiceException.js +8 -0
- package/dist-es/submodules/sts/models/index.js +1 -0
- package/dist-es/submodules/sts/models/models_0.js +102 -0
- package/dist-es/submodules/sts/protocols/Aws_query.js +528 -0
- package/dist-es/submodules/sts/runtimeConfig.browser.js +34 -0
- package/dist-es/submodules/sts/runtimeConfig.js +59 -0
- package/dist-es/submodules/sts/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/sts/runtimeConfig.shared.js +36 -0
- package/dist-es/submodules/sts/runtimeExtensions.js +21 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +54 -0
- package/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +219 -0
- package/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +128 -0
- package/dist-types/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/submodules/sso-oidc/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/sso-oidc/index.d.ts +50 -0
- package/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +14 -0
- package/dist-types/submodules/sso-oidc/models/index.d.ts +1 -0
- package/dist-types/submodules/sso-oidc/models/models_0.d.ts +396 -0
- package/dist-types/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +11 -0
- package/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +56 -0
- package/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +55 -0
- package/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/submodules/sso-oidc/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/sts/STS.d.ts +27 -0
- package/dist-types/submodules/sts/STSClient.d.ts +192 -0
- package/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +71 -0
- package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +222 -0
- package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +254 -0
- package/dist-types/submodules/sts/commands/index.d.ts +2 -0
- package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +23 -0
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +43 -0
- package/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +46 -0
- package/dist-types/submodules/sts/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/submodules/sts/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/sts/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/sts/index.d.ts +17 -0
- package/dist-types/submodules/sts/models/STSServiceException.d.ts +14 -0
- package/dist-types/submodules/sts/models/index.d.ts +1 -0
- package/dist-types/submodules/sts/models/models_0.d.ts +712 -0
- package/dist-types/submodules/sts/protocols/Aws_query.d.ts +20 -0
- package/dist-types/submodules/sts/runtimeConfig.browser.d.ts +58 -0
- package/dist-types/submodules/sts/runtimeConfig.d.ts +56 -0
- package/dist-types/submodules/sts/runtimeConfig.native.d.ts +57 -0
- package/dist-types/submodules/sts/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/submodules/sts/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +22 -0
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +121 -0
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +43 -0
- package/dist-types/ts3.4/submodules/sso-oidc/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +8 -0
- package/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso-oidc/models/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +123 -0
- package/dist-types/ts3.4/submodules/sso-oidc/protocols/Aws_restJson1.d.ts +17 -0
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +116 -0
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +113 -0
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +120 -0
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +49 -0
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/submodules/sts/STS.d.ts +39 -0
- package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +128 -0
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +54 -0
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/submodules/sts/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/submodules/sts/defaultRoleAssumers.d.ts +19 -0
- package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +33 -0
- package/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +57 -0
- package/dist-types/ts3.4/submodules/sts/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sts/index.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sts/models/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +123 -0
- package/dist-types/ts3.4/submodules/sts/protocols/Aws_query.d.ts +29 -0
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +127 -0
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +111 -0
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +131 -0
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +51 -0
- package/dist-types/ts3.4/submodules/sts/runtimeExtensions.d.ts +11 -0
- package/package.json +115 -0
- package/sso-oidc.d.ts +7 -0
- package/sso-oidc.js +5 -0
- package/sts.d.ts +7 -0
- package/sts.js +5 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
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
|
+
import {
|
|
23
|
+
Client as __Client,
|
|
24
|
+
DefaultsMode as __DefaultsMode,
|
|
25
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
26
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
AwsCredentialIdentityProvider,
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
StreamCollector as __StreamCollector,
|
|
41
|
+
UrlParser as __UrlParser,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
AssumeRoleCommandInput,
|
|
50
|
+
AssumeRoleCommandOutput,
|
|
51
|
+
} from "./commands/AssumeRoleCommand";
|
|
52
|
+
import {
|
|
53
|
+
AssumeRoleWithWebIdentityCommandInput,
|
|
54
|
+
AssumeRoleWithWebIdentityCommandOutput,
|
|
55
|
+
} from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
56
|
+
import {
|
|
57
|
+
ClientInputEndpointParameters,
|
|
58
|
+
ClientResolvedEndpointParameters,
|
|
59
|
+
EndpointParameters,
|
|
60
|
+
} from "./endpoint/EndpointParameters";
|
|
61
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
62
|
+
export { __Client };
|
|
63
|
+
export type ServiceInputTypes =
|
|
64
|
+
| AssumeRoleCommandInput
|
|
65
|
+
| AssumeRoleWithWebIdentityCommandInput;
|
|
66
|
+
export type ServiceOutputTypes =
|
|
67
|
+
| AssumeRoleCommandOutput
|
|
68
|
+
| AssumeRoleWithWebIdentityCommandOutput;
|
|
69
|
+
export interface ClientDefaults
|
|
70
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
71
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
72
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
73
|
+
urlParser?: __UrlParser;
|
|
74
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
75
|
+
streamCollector?: __StreamCollector;
|
|
76
|
+
base64Decoder?: __Decoder;
|
|
77
|
+
base64Encoder?: __Encoder;
|
|
78
|
+
utf8Decoder?: __Decoder;
|
|
79
|
+
utf8Encoder?: __Encoder;
|
|
80
|
+
runtime?: string;
|
|
81
|
+
disableHostPrefix?: boolean;
|
|
82
|
+
serviceId?: string;
|
|
83
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
84
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
85
|
+
region?: string | __Provider<string>;
|
|
86
|
+
profile?: string;
|
|
87
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
88
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
89
|
+
maxAttempts?: number | __Provider<number>;
|
|
90
|
+
retryMode?: string | __Provider<string>;
|
|
91
|
+
logger?: __Logger;
|
|
92
|
+
extensions?: RuntimeExtension[];
|
|
93
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
94
|
+
}
|
|
95
|
+
export type STSClientConfigType = Partial<
|
|
96
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
97
|
+
> &
|
|
98
|
+
ClientDefaults &
|
|
99
|
+
UserAgentInputConfig &
|
|
100
|
+
RetryInputConfig &
|
|
101
|
+
RegionInputConfig &
|
|
102
|
+
HostHeaderInputConfig &
|
|
103
|
+
EndpointInputConfig<EndpointParameters> &
|
|
104
|
+
HttpAuthSchemeInputConfig &
|
|
105
|
+
ClientInputEndpointParameters;
|
|
106
|
+
export interface STSClientConfig extends STSClientConfigType {}
|
|
107
|
+
export type STSClientResolvedConfigType =
|
|
108
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
109
|
+
Required<ClientDefaults> &
|
|
110
|
+
RuntimeExtensionsConfig &
|
|
111
|
+
UserAgentResolvedConfig &
|
|
112
|
+
RetryResolvedConfig &
|
|
113
|
+
RegionResolvedConfig &
|
|
114
|
+
HostHeaderResolvedConfig &
|
|
115
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
116
|
+
HttpAuthSchemeResolvedConfig &
|
|
117
|
+
ClientResolvedEndpointParameters;
|
|
118
|
+
export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
|
|
119
|
+
export declare class STSClient extends __Client<
|
|
120
|
+
__HttpHandlerOptions,
|
|
121
|
+
ServiceInputTypes,
|
|
122
|
+
ServiceOutputTypes,
|
|
123
|
+
STSClientResolvedConfig
|
|
124
|
+
> {
|
|
125
|
+
readonly config: STSClientResolvedConfig;
|
|
126
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<STSClientConfig>);
|
|
127
|
+
destroy(): void;
|
|
128
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: STSHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): STSHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
Client,
|
|
8
|
+
HandlerExecutionContext,
|
|
9
|
+
HttpAuthScheme,
|
|
10
|
+
HttpAuthSchemeParameters,
|
|
11
|
+
HttpAuthSchemeParametersProvider,
|
|
12
|
+
HttpAuthSchemeProvider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { STSClientResolvedConfig } from "../STSClient";
|
|
15
|
+
export interface STSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface STSHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
STSClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
STSHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultSTSHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: STSClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<STSHttpAuthSchemeParameters>;
|
|
30
|
+
export interface STSHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<STSHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
33
|
+
export interface StsAuthInputConfig {}
|
|
34
|
+
export interface StsAuthResolvedConfig {
|
|
35
|
+
stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
|
|
36
|
+
}
|
|
37
|
+
export declare const resolveStsAuthConfig: <T>(
|
|
38
|
+
input: T & StsAuthInputConfig
|
|
39
|
+
) => T & StsAuthResolvedConfig;
|
|
40
|
+
export interface HttpAuthSchemeInputConfig
|
|
41
|
+
extends StsAuthInputConfig,
|
|
42
|
+
AwsSdkSigV4AuthInputConfig {
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
httpAuthSchemeProvider?: STSHttpAuthSchemeProvider;
|
|
45
|
+
}
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
47
|
+
extends StsAuthResolvedConfig,
|
|
48
|
+
AwsSdkSigV4AuthResolvedConfig {
|
|
49
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
50
|
+
readonly httpAuthSchemeProvider: STSHttpAuthSchemeProvider;
|
|
51
|
+
}
|
|
52
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
53
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
54
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
STSClientResolvedConfig,
|
|
8
|
+
} from "../STSClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
|
|
12
|
+
export interface AssumeRoleCommandOutput
|
|
13
|
+
extends AssumeRoleResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const AssumeRoleCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: AssumeRoleCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
AssumeRoleCommandInput,
|
|
20
|
+
AssumeRoleCommandOutput,
|
|
21
|
+
STSClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: AssumeRoleCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
AssumeRoleCommandInput,
|
|
29
|
+
AssumeRoleCommandOutput,
|
|
30
|
+
STSClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class AssumeRoleCommand extends AssumeRoleCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: AssumeRoleRequest;
|
|
40
|
+
output: AssumeRoleResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: AssumeRoleCommandInput;
|
|
44
|
+
output: AssumeRoleCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AssumeRoleWithWebIdentityRequest,
|
|
5
|
+
AssumeRoleWithWebIdentityResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
STSClientResolvedConfig,
|
|
11
|
+
} from "../STSClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface AssumeRoleWithWebIdentityCommandInput
|
|
15
|
+
extends AssumeRoleWithWebIdentityRequest {}
|
|
16
|
+
export interface AssumeRoleWithWebIdentityCommandOutput
|
|
17
|
+
extends AssumeRoleWithWebIdentityResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: AssumeRoleWithWebIdentityCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
AssumeRoleWithWebIdentityCommandInput,
|
|
24
|
+
AssumeRoleWithWebIdentityCommandOutput,
|
|
25
|
+
STSClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: AssumeRoleWithWebIdentityCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
AssumeRoleWithWebIdentityCommandInput,
|
|
33
|
+
AssumeRoleWithWebIdentityCommandOutput,
|
|
34
|
+
STSClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: AssumeRoleWithWebIdentityRequest;
|
|
44
|
+
output: AssumeRoleWithWebIdentityResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: AssumeRoleWithWebIdentityCommandInput;
|
|
48
|
+
output: AssumeRoleWithWebIdentityCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Pluggable } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DefaultCredentialProvider,
|
|
4
|
+
RoleAssumer,
|
|
5
|
+
RoleAssumerWithWebIdentity,
|
|
6
|
+
STSRoleAssumerOptions,
|
|
7
|
+
} from "./defaultStsRoleAssumers";
|
|
8
|
+
import { ServiceInputTypes, ServiceOutputTypes } from "./STSClient";
|
|
9
|
+
export declare const getDefaultRoleAssumer: (
|
|
10
|
+
stsOptions?: STSRoleAssumerOptions,
|
|
11
|
+
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
|
|
12
|
+
) => RoleAssumer;
|
|
13
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
14
|
+
stsOptions?: STSRoleAssumerOptions,
|
|
15
|
+
stsPlugins?: Pluggable<ServiceInputTypes, ServiceOutputTypes>[]
|
|
16
|
+
) => RoleAssumerWithWebIdentity;
|
|
17
|
+
export declare const decorateDefaultCredentialProvider: (
|
|
18
|
+
provider: DefaultCredentialProvider
|
|
19
|
+
) => DefaultCredentialProvider;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CredentialProviderOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AwsCredentialIdentity, Logger, Provider } from "@smithy/types";
|
|
3
|
+
import { AssumeRoleCommandInput } from "./commands/AssumeRoleCommand";
|
|
4
|
+
import { AssumeRoleWithWebIdentityCommandInput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
5
|
+
import { STSClient, STSClientConfig } from "./STSClient";
|
|
6
|
+
export type STSRoleAssumerOptions = Pick<
|
|
7
|
+
STSClientConfig,
|
|
8
|
+
"logger" | "region" | "requestHandler"
|
|
9
|
+
> & {
|
|
10
|
+
credentialProviderLogger?: Logger;
|
|
11
|
+
parentClientConfig?: CredentialProviderOptions["parentClientConfig"];
|
|
12
|
+
};
|
|
13
|
+
export type RoleAssumer = (
|
|
14
|
+
sourceCreds: AwsCredentialIdentity,
|
|
15
|
+
params: AssumeRoleCommandInput
|
|
16
|
+
) => Promise<AwsCredentialIdentity>;
|
|
17
|
+
export declare const getDefaultRoleAssumer: (
|
|
18
|
+
stsOptions: STSRoleAssumerOptions,
|
|
19
|
+
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
20
|
+
) => RoleAssumer;
|
|
21
|
+
export type RoleAssumerWithWebIdentity = (
|
|
22
|
+
params: AssumeRoleWithWebIdentityCommandInput
|
|
23
|
+
) => Promise<AwsCredentialIdentity>;
|
|
24
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
25
|
+
stsOptions: STSRoleAssumerOptions,
|
|
26
|
+
stsClientCtor: new (options: STSClientConfig) => STSClient
|
|
27
|
+
) => RoleAssumerWithWebIdentity;
|
|
28
|
+
export type DefaultCredentialProvider = (
|
|
29
|
+
input: any
|
|
30
|
+
) => Provider<AwsCredentialIdentity>;
|
|
31
|
+
export declare const decorateDefaultCredentialProvider: (
|
|
32
|
+
provider: DefaultCredentialProvider
|
|
33
|
+
) => DefaultCredentialProvider;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
useGlobalEndpoint?: boolean | Provider<boolean>;
|
|
19
|
+
}
|
|
20
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
21
|
+
defaultSigningName: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
24
|
+
options: T & ClientInputEndpointParameters
|
|
25
|
+
) => T &
|
|
26
|
+
ClientInputEndpointParameters & {
|
|
27
|
+
defaultSigningName: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const commonParams: {
|
|
30
|
+
readonly UseGlobalEndpoint: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useGlobalEndpoint";
|
|
33
|
+
};
|
|
34
|
+
readonly UseFIPS: {
|
|
35
|
+
readonly type: "builtInParams";
|
|
36
|
+
readonly name: "useFipsEndpoint";
|
|
37
|
+
};
|
|
38
|
+
readonly Endpoint: {
|
|
39
|
+
readonly type: "builtInParams";
|
|
40
|
+
readonly name: "endpoint";
|
|
41
|
+
};
|
|
42
|
+
readonly Region: {
|
|
43
|
+
readonly type: "builtInParams";
|
|
44
|
+
readonly name: "region";
|
|
45
|
+
};
|
|
46
|
+
readonly UseDualStack: {
|
|
47
|
+
readonly type: "builtInParams";
|
|
48
|
+
readonly name: "useDualstackEndpoint";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
52
|
+
Region?: string;
|
|
53
|
+
UseDualStack?: boolean;
|
|
54
|
+
UseFIPS?: boolean;
|
|
55
|
+
Endpoint?: string;
|
|
56
|
+
UseGlobalEndpoint?: boolean;
|
|
57
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface STSExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./STSClient";
|
|
2
|
+
export * from "./STS";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./models";
|
|
8
|
+
export * from "./defaultRoleAssumers";
|
|
9
|
+
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class STSServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
3
|
+
export interface AssumedRoleUser {
|
|
4
|
+
AssumedRoleId: string | undefined;
|
|
5
|
+
Arn: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface PolicyDescriptorType {
|
|
8
|
+
arn?: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface ProvidedContext {
|
|
11
|
+
ProviderArn?: string | undefined;
|
|
12
|
+
ContextAssertion?: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface Tag {
|
|
15
|
+
Key: string | undefined;
|
|
16
|
+
Value: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface AssumeRoleRequest {
|
|
19
|
+
RoleArn: string | undefined;
|
|
20
|
+
RoleSessionName: string | undefined;
|
|
21
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
|
22
|
+
Policy?: string | undefined;
|
|
23
|
+
DurationSeconds?: number | undefined;
|
|
24
|
+
Tags?: Tag[] | undefined;
|
|
25
|
+
TransitiveTagKeys?: string[] | undefined;
|
|
26
|
+
ExternalId?: string | undefined;
|
|
27
|
+
SerialNumber?: string | undefined;
|
|
28
|
+
TokenCode?: string | undefined;
|
|
29
|
+
SourceIdentity?: string | undefined;
|
|
30
|
+
ProvidedContexts?: ProvidedContext[] | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface Credentials {
|
|
33
|
+
AccessKeyId: string | undefined;
|
|
34
|
+
SecretAccessKey: string | undefined;
|
|
35
|
+
SessionToken: string | undefined;
|
|
36
|
+
Expiration: Date | undefined;
|
|
37
|
+
}
|
|
38
|
+
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
39
|
+
export interface AssumeRoleResponse {
|
|
40
|
+
Credentials?: Credentials | undefined;
|
|
41
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
42
|
+
PackedPolicySize?: number | undefined;
|
|
43
|
+
SourceIdentity?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
export declare const AssumeRoleResponseFilterSensitiveLog: (
|
|
46
|
+
obj: AssumeRoleResponse
|
|
47
|
+
) => any;
|
|
48
|
+
export declare class ExpiredTokenException extends __BaseException {
|
|
49
|
+
readonly name: "ExpiredTokenException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
56
|
+
readonly name: "MalformedPolicyDocumentException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<
|
|
60
|
+
MalformedPolicyDocumentException,
|
|
61
|
+
__BaseException
|
|
62
|
+
>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class PackedPolicyTooLargeException extends __BaseException {
|
|
66
|
+
readonly name: "PackedPolicyTooLargeException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export declare class RegionDisabledException extends __BaseException {
|
|
73
|
+
readonly name: "RegionDisabledException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
constructor(
|
|
76
|
+
opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
export declare class IDPRejectedClaimException extends __BaseException {
|
|
80
|
+
readonly name: "IDPRejectedClaimException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
constructor(
|
|
83
|
+
opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
export declare class InvalidIdentityTokenException extends __BaseException {
|
|
87
|
+
readonly name: "InvalidIdentityTokenException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
constructor(
|
|
90
|
+
opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
export interface AssumeRoleWithWebIdentityRequest {
|
|
94
|
+
RoleArn: string | undefined;
|
|
95
|
+
RoleSessionName: string | undefined;
|
|
96
|
+
WebIdentityToken: string | undefined;
|
|
97
|
+
ProviderId?: string | undefined;
|
|
98
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
|
99
|
+
Policy?: string | undefined;
|
|
100
|
+
DurationSeconds?: number | undefined;
|
|
101
|
+
}
|
|
102
|
+
export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
|
|
103
|
+
obj: AssumeRoleWithWebIdentityRequest
|
|
104
|
+
) => any;
|
|
105
|
+
export interface AssumeRoleWithWebIdentityResponse {
|
|
106
|
+
Credentials?: Credentials | undefined;
|
|
107
|
+
SubjectFromWebIdentityToken?: string | undefined;
|
|
108
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
109
|
+
PackedPolicySize?: number | undefined;
|
|
110
|
+
Provider?: string | undefined;
|
|
111
|
+
Audience?: string | undefined;
|
|
112
|
+
SourceIdentity?: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
|
|
115
|
+
obj: AssumeRoleWithWebIdentityResponse
|
|
116
|
+
) => any;
|
|
117
|
+
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
118
|
+
readonly name: "IDPCommunicationErrorException";
|
|
119
|
+
readonly $fault: "client";
|
|
120
|
+
constructor(
|
|
121
|
+
opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
|
|
122
|
+
);
|
|
123
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AssumeRoleCommandInput,
|
|
8
|
+
AssumeRoleCommandOutput,
|
|
9
|
+
} from "../commands/AssumeRoleCommand";
|
|
10
|
+
import {
|
|
11
|
+
AssumeRoleWithWebIdentityCommandInput,
|
|
12
|
+
AssumeRoleWithWebIdentityCommandOutput,
|
|
13
|
+
} from "../commands/AssumeRoleWithWebIdentityCommand";
|
|
14
|
+
export declare const se_AssumeRoleCommand: (
|
|
15
|
+
input: AssumeRoleCommandInput,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const se_AssumeRoleWithWebIdentityCommand: (
|
|
19
|
+
input: AssumeRoleWithWebIdentityCommandInput,
|
|
20
|
+
context: __SerdeContext
|
|
21
|
+
) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const de_AssumeRoleCommand: (
|
|
23
|
+
output: __HttpResponse,
|
|
24
|
+
context: __SerdeContext
|
|
25
|
+
) => Promise<AssumeRoleCommandOutput>;
|
|
26
|
+
export declare const de_AssumeRoleWithWebIdentityCommand: (
|
|
27
|
+
output: __HttpResponse,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|