@aws-sdk/client-sts 3.1086.0 → 3.1088.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/index.js +1 -1
- package/dist-types/ts3.4/STS.d.ts +35 -41
- package/dist-types/ts3.4/STSClient.d.ts +15 -28
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +5 -10
- package/dist-types/ts3.4/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +5 -7
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +12 -49
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -34
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -31
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -34
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -10
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -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
|
AssumeRoleWithSAMLCommandInput,
|
|
8
5
|
AssumeRoleWithSAMLCommandOutput,
|
|
@@ -11,10 +8,7 @@ import {
|
|
|
11
8
|
AssumeRoleWithWebIdentityCommandInput,
|
|
12
9
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
13
10
|
} from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
14
|
-
import {
|
|
15
|
-
AssumeRootCommandInput,
|
|
16
|
-
AssumeRootCommandOutput,
|
|
17
|
-
} from "./commands/AssumeRootCommand";
|
|
11
|
+
import { AssumeRootCommandInput, AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
18
12
|
import {
|
|
19
13
|
DecodeAuthorizationMessageCommandInput,
|
|
20
14
|
DecodeAuthorizationMessageCommandOutput,
|
|
@@ -47,148 +41,148 @@ import { STSClient } from "./STSClient";
|
|
|
47
41
|
export interface STS {
|
|
48
42
|
assumeRole(
|
|
49
43
|
args: AssumeRoleCommandInput,
|
|
50
|
-
options?: __HttpHandlerOptions
|
|
44
|
+
options?: __HttpHandlerOptions,
|
|
51
45
|
): Promise<AssumeRoleCommandOutput>;
|
|
52
46
|
assumeRole(
|
|
53
47
|
args: AssumeRoleCommandInput,
|
|
54
|
-
cb: (err: any, data?: AssumeRoleCommandOutput) => void
|
|
48
|
+
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
55
49
|
): void;
|
|
56
50
|
assumeRole(
|
|
57
51
|
args: AssumeRoleCommandInput,
|
|
58
52
|
options: __HttpHandlerOptions,
|
|
59
|
-
cb: (err: any, data?: AssumeRoleCommandOutput) => void
|
|
53
|
+
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
60
54
|
): void;
|
|
61
55
|
assumeRoleWithSAML(
|
|
62
56
|
args: AssumeRoleWithSAMLCommandInput,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
57
|
+
options?: __HttpHandlerOptions,
|
|
64
58
|
): Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
65
59
|
assumeRoleWithSAML(
|
|
66
60
|
args: AssumeRoleWithSAMLCommandInput,
|
|
67
|
-
cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
|
|
61
|
+
cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void,
|
|
68
62
|
): void;
|
|
69
63
|
assumeRoleWithSAML(
|
|
70
64
|
args: AssumeRoleWithSAMLCommandInput,
|
|
71
65
|
options: __HttpHandlerOptions,
|
|
72
|
-
cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void
|
|
66
|
+
cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void,
|
|
73
67
|
): void;
|
|
74
68
|
assumeRoleWithWebIdentity(
|
|
75
69
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
76
|
-
options?: __HttpHandlerOptions
|
|
70
|
+
options?: __HttpHandlerOptions,
|
|
77
71
|
): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
78
72
|
assumeRoleWithWebIdentity(
|
|
79
73
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
80
|
-
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
|
|
74
|
+
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
81
75
|
): void;
|
|
82
76
|
assumeRoleWithWebIdentity(
|
|
83
77
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
84
78
|
options: __HttpHandlerOptions,
|
|
85
|
-
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void
|
|
79
|
+
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
86
80
|
): void;
|
|
87
81
|
assumeRoot(
|
|
88
82
|
args: AssumeRootCommandInput,
|
|
89
|
-
options?: __HttpHandlerOptions
|
|
83
|
+
options?: __HttpHandlerOptions,
|
|
90
84
|
): Promise<AssumeRootCommandOutput>;
|
|
91
85
|
assumeRoot(
|
|
92
86
|
args: AssumeRootCommandInput,
|
|
93
|
-
cb: (err: any, data?: AssumeRootCommandOutput) => void
|
|
87
|
+
cb: (err: any, data?: AssumeRootCommandOutput) => void,
|
|
94
88
|
): void;
|
|
95
89
|
assumeRoot(
|
|
96
90
|
args: AssumeRootCommandInput,
|
|
97
91
|
options: __HttpHandlerOptions,
|
|
98
|
-
cb: (err: any, data?: AssumeRootCommandOutput) => void
|
|
92
|
+
cb: (err: any, data?: AssumeRootCommandOutput) => void,
|
|
99
93
|
): void;
|
|
100
94
|
decodeAuthorizationMessage(
|
|
101
95
|
args: DecodeAuthorizationMessageCommandInput,
|
|
102
|
-
options?: __HttpHandlerOptions
|
|
96
|
+
options?: __HttpHandlerOptions,
|
|
103
97
|
): Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
104
98
|
decodeAuthorizationMessage(
|
|
105
99
|
args: DecodeAuthorizationMessageCommandInput,
|
|
106
|
-
cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
|
|
100
|
+
cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void,
|
|
107
101
|
): void;
|
|
108
102
|
decodeAuthorizationMessage(
|
|
109
103
|
args: DecodeAuthorizationMessageCommandInput,
|
|
110
104
|
options: __HttpHandlerOptions,
|
|
111
|
-
cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void
|
|
105
|
+
cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void,
|
|
112
106
|
): void;
|
|
113
107
|
getAccessKeyInfo(
|
|
114
108
|
args: GetAccessKeyInfoCommandInput,
|
|
115
|
-
options?: __HttpHandlerOptions
|
|
109
|
+
options?: __HttpHandlerOptions,
|
|
116
110
|
): Promise<GetAccessKeyInfoCommandOutput>;
|
|
117
111
|
getAccessKeyInfo(
|
|
118
112
|
args: GetAccessKeyInfoCommandInput,
|
|
119
|
-
cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
|
|
113
|
+
cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void,
|
|
120
114
|
): void;
|
|
121
115
|
getAccessKeyInfo(
|
|
122
116
|
args: GetAccessKeyInfoCommandInput,
|
|
123
117
|
options: __HttpHandlerOptions,
|
|
124
|
-
cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void
|
|
118
|
+
cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void,
|
|
125
119
|
): void;
|
|
126
120
|
getCallerIdentity(): Promise<GetCallerIdentityCommandOutput>;
|
|
127
121
|
getCallerIdentity(
|
|
128
122
|
args: GetCallerIdentityCommandInput,
|
|
129
|
-
options?: __HttpHandlerOptions
|
|
123
|
+
options?: __HttpHandlerOptions,
|
|
130
124
|
): Promise<GetCallerIdentityCommandOutput>;
|
|
131
125
|
getCallerIdentity(
|
|
132
126
|
args: GetCallerIdentityCommandInput,
|
|
133
|
-
cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: GetCallerIdentityCommandOutput) => void,
|
|
134
128
|
): void;
|
|
135
129
|
getCallerIdentity(
|
|
136
130
|
args: GetCallerIdentityCommandInput,
|
|
137
131
|
options: __HttpHandlerOptions,
|
|
138
|
-
cb: (err: any, data?: GetCallerIdentityCommandOutput) => void
|
|
132
|
+
cb: (err: any, data?: GetCallerIdentityCommandOutput) => void,
|
|
139
133
|
): void;
|
|
140
134
|
getDelegatedAccessToken(
|
|
141
135
|
args: GetDelegatedAccessTokenCommandInput,
|
|
142
|
-
options?: __HttpHandlerOptions
|
|
136
|
+
options?: __HttpHandlerOptions,
|
|
143
137
|
): Promise<GetDelegatedAccessTokenCommandOutput>;
|
|
144
138
|
getDelegatedAccessToken(
|
|
145
139
|
args: GetDelegatedAccessTokenCommandInput,
|
|
146
|
-
cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void
|
|
140
|
+
cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void,
|
|
147
141
|
): void;
|
|
148
142
|
getDelegatedAccessToken(
|
|
149
143
|
args: GetDelegatedAccessTokenCommandInput,
|
|
150
144
|
options: __HttpHandlerOptions,
|
|
151
|
-
cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void
|
|
145
|
+
cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void,
|
|
152
146
|
): void;
|
|
153
147
|
getFederationToken(
|
|
154
148
|
args: GetFederationTokenCommandInput,
|
|
155
|
-
options?: __HttpHandlerOptions
|
|
149
|
+
options?: __HttpHandlerOptions,
|
|
156
150
|
): Promise<GetFederationTokenCommandOutput>;
|
|
157
151
|
getFederationToken(
|
|
158
152
|
args: GetFederationTokenCommandInput,
|
|
159
|
-
cb: (err: any, data?: GetFederationTokenCommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: GetFederationTokenCommandOutput) => void,
|
|
160
154
|
): void;
|
|
161
155
|
getFederationToken(
|
|
162
156
|
args: GetFederationTokenCommandInput,
|
|
163
157
|
options: __HttpHandlerOptions,
|
|
164
|
-
cb: (err: any, data?: GetFederationTokenCommandOutput) => void
|
|
158
|
+
cb: (err: any, data?: GetFederationTokenCommandOutput) => void,
|
|
165
159
|
): void;
|
|
166
160
|
getSessionToken(): Promise<GetSessionTokenCommandOutput>;
|
|
167
161
|
getSessionToken(
|
|
168
162
|
args: GetSessionTokenCommandInput,
|
|
169
|
-
options?: __HttpHandlerOptions
|
|
163
|
+
options?: __HttpHandlerOptions,
|
|
170
164
|
): Promise<GetSessionTokenCommandOutput>;
|
|
171
165
|
getSessionToken(
|
|
172
166
|
args: GetSessionTokenCommandInput,
|
|
173
|
-
cb: (err: any, data?: GetSessionTokenCommandOutput) => void
|
|
167
|
+
cb: (err: any, data?: GetSessionTokenCommandOutput) => void,
|
|
174
168
|
): void;
|
|
175
169
|
getSessionToken(
|
|
176
170
|
args: GetSessionTokenCommandInput,
|
|
177
171
|
options: __HttpHandlerOptions,
|
|
178
|
-
cb: (err: any, data?: GetSessionTokenCommandOutput) => void
|
|
172
|
+
cb: (err: any, data?: GetSessionTokenCommandOutput) => void,
|
|
179
173
|
): void;
|
|
180
174
|
getWebIdentityToken(
|
|
181
175
|
args: GetWebIdentityTokenCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
176
|
+
options?: __HttpHandlerOptions,
|
|
183
177
|
): Promise<GetWebIdentityTokenCommandOutput>;
|
|
184
178
|
getWebIdentityToken(
|
|
185
179
|
args: GetWebIdentityTokenCommandInput,
|
|
186
|
-
cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void
|
|
180
|
+
cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void,
|
|
187
181
|
): void;
|
|
188
182
|
getWebIdentityToken(
|
|
189
183
|
args: GetWebIdentityTokenCommandInput,
|
|
190
184
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void
|
|
185
|
+
cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void,
|
|
192
186
|
): void;
|
|
193
187
|
}
|
|
194
188
|
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
|
AssumeRoleWithSAMLCommandInput,
|
|
45
39
|
AssumeRoleWithSAMLCommandOutput,
|
|
@@ -48,10 +42,7 @@ import {
|
|
|
48
42
|
AssumeRoleWithWebIdentityCommandInput,
|
|
49
43
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
50
44
|
} from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
51
|
-
import {
|
|
52
|
-
AssumeRootCommandInput,
|
|
53
|
-
AssumeRootCommandOutput,
|
|
54
|
-
} from "./commands/AssumeRootCommand";
|
|
45
|
+
import { AssumeRootCommandInput, AssumeRootCommandOutput } from "./commands/AssumeRootCommand";
|
|
55
46
|
import {
|
|
56
47
|
DecodeAuthorizationMessageCommandInput,
|
|
57
48
|
DecodeAuthorizationMessageCommandOutput,
|
|
@@ -111,8 +102,7 @@ export type ServiceOutputTypes =
|
|
|
111
102
|
| GetFederationTokenCommandOutput
|
|
112
103
|
| GetSessionTokenCommandOutput
|
|
113
104
|
| GetWebIdentityTokenCommandOutput;
|
|
114
|
-
export interface ClientDefaults
|
|
115
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
105
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
116
106
|
requestHandler?: __HttpHandlerUserInput;
|
|
117
107
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
118
108
|
urlParser?: __UrlParser;
|
|
@@ -137,9 +127,7 @@ export interface ClientDefaults
|
|
|
137
127
|
extensions?: RuntimeExtension[];
|
|
138
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
139
129
|
}
|
|
140
|
-
export type STSClientConfigType = Partial<
|
|
141
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
142
|
-
> &
|
|
130
|
+
export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
143
131
|
ClientDefaults &
|
|
144
132
|
UserAgentInputConfig &
|
|
145
133
|
RetryInputConfig &
|
|
@@ -149,17 +137,16 @@ export type STSClientConfigType = Partial<
|
|
|
149
137
|
HttpAuthSchemeInputConfig &
|
|
150
138
|
ClientInputEndpointParameters;
|
|
151
139
|
export interface STSClientConfig extends STSClientConfigType {}
|
|
152
|
-
export type STSClientResolvedConfigType =
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
ClientResolvedEndpointParameters;
|
|
140
|
+
export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
141
|
+
Required<ClientDefaults> &
|
|
142
|
+
RuntimeExtensionsConfig &
|
|
143
|
+
UserAgentResolvedConfig &
|
|
144
|
+
RetryResolvedConfig &
|
|
145
|
+
RegionResolvedConfig &
|
|
146
|
+
HostHeaderResolvedConfig &
|
|
147
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
148
|
+
HttpAuthSchemeResolvedConfig &
|
|
149
|
+
ClientResolvedEndpointParameters;
|
|
163
150
|
export interface STSClientResolvedConfig extends STSClientResolvedConfigType {}
|
|
164
151
|
export declare class STSClient extends __Client<
|
|
165
152
|
__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 {};
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
STSClientResolvedConfig,
|
|
6
|
-
} from "./STSClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
2
|
+
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "./STSClient";
|
|
3
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
4
|
added: EndpointParameterInstructions,
|
|
12
5
|
plugins: (
|
|
13
6
|
CommandCtor: any,
|
|
14
7
|
clientStack: any,
|
|
15
8
|
config: any,
|
|
16
|
-
options: any
|
|
9
|
+
options: any,
|
|
17
10
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
11
|
op: string,
|
|
19
12
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
13
|
+
smithyContext?: Record<string, unknown>,
|
|
21
14
|
) => {
|
|
22
|
-
new (
|
|
15
|
+
new (
|
|
16
|
+
input: I,
|
|
17
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
18
|
I,
|
|
24
19
|
O,
|
|
25
20
|
STSClientResolvedConfig,
|
|
@@ -38,9 +33,4 @@ export declare const command: <
|
|
|
38
33
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
34
|
};
|
|
40
35
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
36
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
|
|
5
|
-
export interface AssumeRoleCommandOutput
|
|
6
|
-
extends AssumeRoleResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {}
|
|
8
6
|
declare const AssumeRoleCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: AssumeRoleCommandInput
|
|
8
|
+
input: AssumeRoleCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
AssumeRoleCommandInput,
|
|
13
11
|
AssumeRoleCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const AssumeRoleCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: AssumeRoleCommandInput
|
|
17
|
+
input: AssumeRoleCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
AssumeRoleCommandInput,
|
|
22
20
|
AssumeRoleCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
AssumeRoleWithSAMLRequest,
|
|
4
|
-
AssumeRoleWithSAMLResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface AssumeRoleWithSAMLCommandInput
|
|
8
|
-
extends AssumeRoleWithSAMLRequest {}
|
|
4
|
+
export interface AssumeRoleWithSAMLCommandInput extends AssumeRoleWithSAMLRequest {}
|
|
9
5
|
export interface AssumeRoleWithSAMLCommandOutput
|
|
10
|
-
extends AssumeRoleWithSAMLResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends AssumeRoleWithSAMLResponse, __MetadataBearer {}
|
|
12
7
|
declare const AssumeRoleWithSAMLCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: AssumeRoleWithSAMLCommandInput
|
|
9
|
+
input: AssumeRoleWithSAMLCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
AssumeRoleWithSAMLCommandInput,
|
|
17
12
|
AssumeRoleWithSAMLCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const AssumeRoleWithSAMLCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: AssumeRoleWithSAMLCommandInput
|
|
18
|
+
input: AssumeRoleWithSAMLCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
AssumeRoleWithSAMLCommandInput,
|
|
26
21
|
AssumeRoleWithSAMLCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
AssumeRoleWithWebIdentityResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface AssumeRoleWithWebIdentityCommandInput
|
|
8
|
-
extends AssumeRoleWithWebIdentityRequest {}
|
|
7
|
+
export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWebIdentityRequest {}
|
|
9
8
|
export interface AssumeRoleWithWebIdentityCommandOutput
|
|
10
|
-
extends AssumeRoleWithWebIdentityResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {}
|
|
12
10
|
declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: AssumeRoleWithWebIdentityCommandInput
|
|
12
|
+
input: AssumeRoleWithWebIdentityCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
AssumeRoleWithWebIdentityCommandInput,
|
|
17
15
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: AssumeRoleWithWebIdentityCommandInput
|
|
21
|
+
input: AssumeRoleWithWebIdentityCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
AssumeRoleWithWebIdentityCommandInput,
|
|
26
24
|
AssumeRoleWithWebIdentityCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface AssumeRootCommandInput extends AssumeRootRequest {}
|
|
5
|
-
export interface AssumeRootCommandOutput
|
|
6
|
-
extends AssumeRootResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface AssumeRootCommandOutput extends AssumeRootResponse, __MetadataBearer {}
|
|
8
6
|
declare const AssumeRootCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: AssumeRootCommandInput
|
|
8
|
+
input: AssumeRootCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
AssumeRootCommandInput,
|
|
13
11
|
AssumeRootCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const AssumeRootCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: AssumeRootCommandInput
|
|
17
|
+
input: AssumeRootCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
AssumeRootCommandInput,
|
|
22
20
|
AssumeRootCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
DecodeAuthorizationMessageResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface DecodeAuthorizationMessageCommandInput
|
|
8
|
-
extends DecodeAuthorizationMessageRequest {}
|
|
7
|
+
export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizationMessageRequest {}
|
|
9
8
|
export interface DecodeAuthorizationMessageCommandOutput
|
|
10
|
-
extends DecodeAuthorizationMessageResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends DecodeAuthorizationMessageResponse, __MetadataBearer {}
|
|
12
10
|
declare const DecodeAuthorizationMessageCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: DecodeAuthorizationMessageCommandInput
|
|
12
|
+
input: DecodeAuthorizationMessageCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
DecodeAuthorizationMessageCommandInput,
|
|
17
15
|
DecodeAuthorizationMessageCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const DecodeAuthorizationMessageCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: DecodeAuthorizationMessageCommandInput
|
|
21
|
+
input: DecodeAuthorizationMessageCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
DecodeAuthorizationMessageCommandInput,
|
|
26
24
|
DecodeAuthorizationMessageCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetAccessKeyInfoRequest,
|
|
4
|
-
GetAccessKeyInfoResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
|
|
8
|
-
export interface GetAccessKeyInfoCommandOutput
|
|
9
|
-
extends GetAccessKeyInfoResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {}
|
|
11
6
|
declare const GetAccessKeyInfoCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: GetAccessKeyInfoCommandInput
|
|
8
|
+
input: GetAccessKeyInfoCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
GetAccessKeyInfoCommandInput,
|
|
16
11
|
GetAccessKeyInfoCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const GetAccessKeyInfoCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: GetAccessKeyInfoCommandInput
|
|
17
|
+
input: GetAccessKeyInfoCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
GetAccessKeyInfoCommandInput,
|
|
25
20
|
GetAccessKeyInfoCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetCallerIdentityRequest,
|
|
4
|
-
GetCallerIdentityResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetCallerIdentityCommandInput
|
|
8
|
-
extends GetCallerIdentityRequest {}
|
|
4
|
+
export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest {}
|
|
9
5
|
export interface GetCallerIdentityCommandOutput
|
|
10
|
-
extends GetCallerIdentityResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetCallerIdentityResponse, __MetadataBearer {}
|
|
12
7
|
declare const GetCallerIdentityCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetCallerIdentityCommandInput
|
|
9
|
+
input: GetCallerIdentityCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetCallerIdentityCommandInput,
|
|
17
12
|
GetCallerIdentityCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
GetDelegatedAccessTokenResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetDelegatedAccessTokenCommandInput
|
|
8
|
-
extends GetDelegatedAccessTokenRequest {}
|
|
7
|
+
export interface GetDelegatedAccessTokenCommandInput extends GetDelegatedAccessTokenRequest {}
|
|
9
8
|
export interface GetDelegatedAccessTokenCommandOutput
|
|
10
|
-
extends GetDelegatedAccessTokenResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends GetDelegatedAccessTokenResponse, __MetadataBearer {}
|
|
12
10
|
declare const GetDelegatedAccessTokenCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: GetDelegatedAccessTokenCommandInput
|
|
12
|
+
input: GetDelegatedAccessTokenCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
GetDelegatedAccessTokenCommandInput,
|
|
17
15
|
GetDelegatedAccessTokenCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const GetDelegatedAccessTokenCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: GetDelegatedAccessTokenCommandInput
|
|
21
|
+
input: GetDelegatedAccessTokenCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
GetDelegatedAccessTokenCommandInput,
|
|
26
24
|
GetDelegatedAccessTokenCommandOutput,
|