@aws-sdk/client-sts 3.1137.0 → 3.1138.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 +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/STS.d.ts +29 -23
- package/dist-types/ts3.4/STS.d.ts +29 -23
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -264,7 +264,7 @@ const commonParams = {
|
|
|
264
264
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
265
265
|
};
|
|
266
266
|
|
|
267
|
-
var version = "3.
|
|
267
|
+
var version = "3.1137.0";
|
|
268
268
|
var packageInfo = {
|
|
269
269
|
version: version};
|
|
270
270
|
|
|
@@ -536,10 +536,10 @@ const _tITT = "tradeInTokenType";
|
|
|
536
536
|
const _tLT = "tagListType";
|
|
537
537
|
const _wITT = "webIdentityTokenType";
|
|
538
538
|
const n0 = "com.amazonaws.sts";
|
|
539
|
-
const _s_registry = TypeRegistry
|
|
539
|
+
const _s_registry = new TypeRegistry(_s);
|
|
540
540
|
var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
541
541
|
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
542
|
-
const n0_registry = TypeRegistry
|
|
542
|
+
const n0_registry = new TypeRegistry(n0);
|
|
543
543
|
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
544
544
|
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
545
545
|
[_m],
|
|
@@ -116,10 +116,10 @@ const n0 = "com.amazonaws.sts";
|
|
|
116
116
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
117
117
|
import { ExpiredTokenException, ExpiredTradeInTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidAuthorizationMessageException, InvalidIdentityTokenException, JWTPayloadSizeExceededException, MalformedPolicyDocumentException, OutboundWebIdentityFederationDisabledException, PackedPolicyTooLargeException, RegionDisabledException, SessionDurationEscalationException, } from "../models/errors";
|
|
118
118
|
import { STSServiceException } from "../models/STSServiceException";
|
|
119
|
-
const _s_registry = TypeRegistry
|
|
119
|
+
const _s_registry = new TypeRegistry(_s);
|
|
120
120
|
export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
121
121
|
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
122
|
-
const n0_registry = TypeRegistry
|
|
122
|
+
const n0_registry = new TypeRegistry(n0);
|
|
123
123
|
export var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
124
124
|
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
125
125
|
[_m],
|
package/dist-types/STS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type AssumeRoleCommandInput, type AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
3
|
import { type AssumeRoleWithSAMLCommandInput, type AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
4
4
|
import { type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
|
|
@@ -11,75 +11,81 @@ import { type GetFederationTokenCommandInput, type GetFederationTokenCommandOutp
|
|
|
11
11
|
import { type GetSessionTokenCommandInput, type GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
12
12
|
import { type GetWebIdentityTokenCommandInput, type GetWebIdentityTokenCommandOutput } from "./commands/GetWebIdentityTokenCommand";
|
|
13
13
|
import { STSClient } from "./STSClient";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface STSRequestOptions extends __HttpHandlerOptions {
|
|
18
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
19
|
+
}
|
|
14
20
|
export interface STS {
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link AssumeRoleCommand}
|
|
17
23
|
*/
|
|
18
|
-
assumeRole(args: AssumeRoleCommandInput, options?:
|
|
24
|
+
assumeRole(args: AssumeRoleCommandInput, options?: STSRequestOptions): Promise<AssumeRoleCommandOutput>;
|
|
19
25
|
assumeRole(args: AssumeRoleCommandInput, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
|
|
20
|
-
assumeRole(args: AssumeRoleCommandInput, options:
|
|
26
|
+
assumeRole(args: AssumeRoleCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link AssumeRoleWithSAMLCommand}
|
|
23
29
|
*/
|
|
24
|
-
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options?:
|
|
30
|
+
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options?: STSRequestOptions): Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
25
31
|
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
|
|
26
|
-
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options:
|
|
32
|
+
assumeRoleWithSAML(args: AssumeRoleWithSAMLCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link AssumeRoleWithWebIdentityCommand}
|
|
29
35
|
*/
|
|
30
|
-
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?:
|
|
36
|
+
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: STSRequestOptions): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
31
37
|
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
|
|
32
|
-
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options:
|
|
38
|
+
assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link AssumeRootCommand}
|
|
35
41
|
*/
|
|
36
|
-
assumeRoot(args: AssumeRootCommandInput, options?:
|
|
42
|
+
assumeRoot(args: AssumeRootCommandInput, options?: STSRequestOptions): Promise<AssumeRootCommandOutput>;
|
|
37
43
|
assumeRoot(args: AssumeRootCommandInput, cb: (err: any, data?: AssumeRootCommandOutput) => void): void;
|
|
38
|
-
assumeRoot(args: AssumeRootCommandInput, options:
|
|
44
|
+
assumeRoot(args: AssumeRootCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRootCommandOutput) => void): void;
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link DecodeAuthorizationMessageCommand}
|
|
41
47
|
*/
|
|
42
|
-
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options?:
|
|
48
|
+
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options?: STSRequestOptions): Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
43
49
|
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
|
|
44
|
-
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options:
|
|
50
|
+
decodeAuthorizationMessage(args: DecodeAuthorizationMessageCommandInput, options: STSRequestOptions, cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link GetAccessKeyInfoCommand}
|
|
47
53
|
*/
|
|
48
|
-
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options?:
|
|
54
|
+
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options?: STSRequestOptions): Promise<GetAccessKeyInfoCommandOutput>;
|
|
49
55
|
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
|
|
50
|
-
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options:
|
|
56
|
+
getAccessKeyInfo(args: GetAccessKeyInfoCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link GetCallerIdentityCommand}
|
|
53
59
|
*/
|
|
54
60
|
getCallerIdentity(): Promise<GetCallerIdentityCommandOutput>;
|
|
55
|
-
getCallerIdentity(args: GetCallerIdentityCommandInput, options?:
|
|
61
|
+
getCallerIdentity(args: GetCallerIdentityCommandInput, options?: STSRequestOptions): Promise<GetCallerIdentityCommandOutput>;
|
|
56
62
|
getCallerIdentity(args: GetCallerIdentityCommandInput, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
|
|
57
|
-
getCallerIdentity(args: GetCallerIdentityCommandInput, options:
|
|
63
|
+
getCallerIdentity(args: GetCallerIdentityCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetCallerIdentityCommandOutput) => void): void;
|
|
58
64
|
/**
|
|
59
65
|
* @see {@link GetDelegatedAccessTokenCommand}
|
|
60
66
|
*/
|
|
61
|
-
getDelegatedAccessToken(args: GetDelegatedAccessTokenCommandInput, options?:
|
|
67
|
+
getDelegatedAccessToken(args: GetDelegatedAccessTokenCommandInput, options?: STSRequestOptions): Promise<GetDelegatedAccessTokenCommandOutput>;
|
|
62
68
|
getDelegatedAccessToken(args: GetDelegatedAccessTokenCommandInput, cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void): void;
|
|
63
|
-
getDelegatedAccessToken(args: GetDelegatedAccessTokenCommandInput, options:
|
|
69
|
+
getDelegatedAccessToken(args: GetDelegatedAccessTokenCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void): void;
|
|
64
70
|
/**
|
|
65
71
|
* @see {@link GetFederationTokenCommand}
|
|
66
72
|
*/
|
|
67
|
-
getFederationToken(args: GetFederationTokenCommandInput, options?:
|
|
73
|
+
getFederationToken(args: GetFederationTokenCommandInput, options?: STSRequestOptions): Promise<GetFederationTokenCommandOutput>;
|
|
68
74
|
getFederationToken(args: GetFederationTokenCommandInput, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
|
|
69
|
-
getFederationToken(args: GetFederationTokenCommandInput, options:
|
|
75
|
+
getFederationToken(args: GetFederationTokenCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetFederationTokenCommandOutput) => void): void;
|
|
70
76
|
/**
|
|
71
77
|
* @see {@link GetSessionTokenCommand}
|
|
72
78
|
*/
|
|
73
79
|
getSessionToken(): Promise<GetSessionTokenCommandOutput>;
|
|
74
|
-
getSessionToken(args: GetSessionTokenCommandInput, options?:
|
|
80
|
+
getSessionToken(args: GetSessionTokenCommandInput, options?: STSRequestOptions): Promise<GetSessionTokenCommandOutput>;
|
|
75
81
|
getSessionToken(args: GetSessionTokenCommandInput, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
|
|
76
|
-
getSessionToken(args: GetSessionTokenCommandInput, options:
|
|
82
|
+
getSessionToken(args: GetSessionTokenCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetSessionTokenCommandOutput) => void): void;
|
|
77
83
|
/**
|
|
78
84
|
* @see {@link GetWebIdentityTokenCommand}
|
|
79
85
|
*/
|
|
80
|
-
getWebIdentityToken(args: GetWebIdentityTokenCommandInput, options?:
|
|
86
|
+
getWebIdentityToken(args: GetWebIdentityTokenCommandInput, options?: STSRequestOptions): Promise<GetWebIdentityTokenCommandOutput>;
|
|
81
87
|
getWebIdentityToken(args: GetWebIdentityTokenCommandInput, cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void): void;
|
|
82
|
-
getWebIdentityToken(args: GetWebIdentityTokenCommandInput, options:
|
|
88
|
+
getWebIdentityToken(args: GetWebIdentityTokenCommandInput, options: STSRequestOptions, cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void): void;
|
|
83
89
|
}
|
|
84
90
|
/**
|
|
85
91
|
* <fullname>Security Token Service</fullname>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
3
6
|
import {
|
|
4
7
|
AssumeRoleWithSAMLCommandInput,
|
|
@@ -38,10 +41,13 @@ import {
|
|
|
38
41
|
GetWebIdentityTokenCommandOutput,
|
|
39
42
|
} from "./commands/GetWebIdentityTokenCommand";
|
|
40
43
|
import { STSClient } from "./STSClient";
|
|
44
|
+
export interface STSRequestOptions extends __HttpHandlerOptions {
|
|
45
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
46
|
+
}
|
|
41
47
|
export interface STS {
|
|
42
48
|
assumeRole(
|
|
43
49
|
args: AssumeRoleCommandInput,
|
|
44
|
-
options?:
|
|
50
|
+
options?: STSRequestOptions,
|
|
45
51
|
): Promise<AssumeRoleCommandOutput>;
|
|
46
52
|
assumeRole(
|
|
47
53
|
args: AssumeRoleCommandInput,
|
|
@@ -49,12 +55,12 @@ export interface STS {
|
|
|
49
55
|
): void;
|
|
50
56
|
assumeRole(
|
|
51
57
|
args: AssumeRoleCommandInput,
|
|
52
|
-
options:
|
|
58
|
+
options: STSRequestOptions,
|
|
53
59
|
cb: (err: any, data?: AssumeRoleCommandOutput) => void,
|
|
54
60
|
): void;
|
|
55
61
|
assumeRoleWithSAML(
|
|
56
62
|
args: AssumeRoleWithSAMLCommandInput,
|
|
57
|
-
options?:
|
|
63
|
+
options?: STSRequestOptions,
|
|
58
64
|
): Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
59
65
|
assumeRoleWithSAML(
|
|
60
66
|
args: AssumeRoleWithSAMLCommandInput,
|
|
@@ -62,12 +68,12 @@ export interface STS {
|
|
|
62
68
|
): void;
|
|
63
69
|
assumeRoleWithSAML(
|
|
64
70
|
args: AssumeRoleWithSAMLCommandInput,
|
|
65
|
-
options:
|
|
71
|
+
options: STSRequestOptions,
|
|
66
72
|
cb: (err: any, data?: AssumeRoleWithSAMLCommandOutput) => void,
|
|
67
73
|
): void;
|
|
68
74
|
assumeRoleWithWebIdentity(
|
|
69
75
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
70
|
-
options?:
|
|
76
|
+
options?: STSRequestOptions,
|
|
71
77
|
): Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
72
78
|
assumeRoleWithWebIdentity(
|
|
73
79
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
@@ -75,12 +81,12 @@ export interface STS {
|
|
|
75
81
|
): void;
|
|
76
82
|
assumeRoleWithWebIdentity(
|
|
77
83
|
args: AssumeRoleWithWebIdentityCommandInput,
|
|
78
|
-
options:
|
|
84
|
+
options: STSRequestOptions,
|
|
79
85
|
cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
|
|
80
86
|
): void;
|
|
81
87
|
assumeRoot(
|
|
82
88
|
args: AssumeRootCommandInput,
|
|
83
|
-
options?:
|
|
89
|
+
options?: STSRequestOptions,
|
|
84
90
|
): Promise<AssumeRootCommandOutput>;
|
|
85
91
|
assumeRoot(
|
|
86
92
|
args: AssumeRootCommandInput,
|
|
@@ -88,12 +94,12 @@ export interface STS {
|
|
|
88
94
|
): void;
|
|
89
95
|
assumeRoot(
|
|
90
96
|
args: AssumeRootCommandInput,
|
|
91
|
-
options:
|
|
97
|
+
options: STSRequestOptions,
|
|
92
98
|
cb: (err: any, data?: AssumeRootCommandOutput) => void,
|
|
93
99
|
): void;
|
|
94
100
|
decodeAuthorizationMessage(
|
|
95
101
|
args: DecodeAuthorizationMessageCommandInput,
|
|
96
|
-
options?:
|
|
102
|
+
options?: STSRequestOptions,
|
|
97
103
|
): Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
98
104
|
decodeAuthorizationMessage(
|
|
99
105
|
args: DecodeAuthorizationMessageCommandInput,
|
|
@@ -101,12 +107,12 @@ export interface STS {
|
|
|
101
107
|
): void;
|
|
102
108
|
decodeAuthorizationMessage(
|
|
103
109
|
args: DecodeAuthorizationMessageCommandInput,
|
|
104
|
-
options:
|
|
110
|
+
options: STSRequestOptions,
|
|
105
111
|
cb: (err: any, data?: DecodeAuthorizationMessageCommandOutput) => void,
|
|
106
112
|
): void;
|
|
107
113
|
getAccessKeyInfo(
|
|
108
114
|
args: GetAccessKeyInfoCommandInput,
|
|
109
|
-
options?:
|
|
115
|
+
options?: STSRequestOptions,
|
|
110
116
|
): Promise<GetAccessKeyInfoCommandOutput>;
|
|
111
117
|
getAccessKeyInfo(
|
|
112
118
|
args: GetAccessKeyInfoCommandInput,
|
|
@@ -114,13 +120,13 @@ export interface STS {
|
|
|
114
120
|
): void;
|
|
115
121
|
getAccessKeyInfo(
|
|
116
122
|
args: GetAccessKeyInfoCommandInput,
|
|
117
|
-
options:
|
|
123
|
+
options: STSRequestOptions,
|
|
118
124
|
cb: (err: any, data?: GetAccessKeyInfoCommandOutput) => void,
|
|
119
125
|
): void;
|
|
120
126
|
getCallerIdentity(): Promise<GetCallerIdentityCommandOutput>;
|
|
121
127
|
getCallerIdentity(
|
|
122
128
|
args: GetCallerIdentityCommandInput,
|
|
123
|
-
options?:
|
|
129
|
+
options?: STSRequestOptions,
|
|
124
130
|
): Promise<GetCallerIdentityCommandOutput>;
|
|
125
131
|
getCallerIdentity(
|
|
126
132
|
args: GetCallerIdentityCommandInput,
|
|
@@ -128,12 +134,12 @@ export interface STS {
|
|
|
128
134
|
): void;
|
|
129
135
|
getCallerIdentity(
|
|
130
136
|
args: GetCallerIdentityCommandInput,
|
|
131
|
-
options:
|
|
137
|
+
options: STSRequestOptions,
|
|
132
138
|
cb: (err: any, data?: GetCallerIdentityCommandOutput) => void,
|
|
133
139
|
): void;
|
|
134
140
|
getDelegatedAccessToken(
|
|
135
141
|
args: GetDelegatedAccessTokenCommandInput,
|
|
136
|
-
options?:
|
|
142
|
+
options?: STSRequestOptions,
|
|
137
143
|
): Promise<GetDelegatedAccessTokenCommandOutput>;
|
|
138
144
|
getDelegatedAccessToken(
|
|
139
145
|
args: GetDelegatedAccessTokenCommandInput,
|
|
@@ -141,12 +147,12 @@ export interface STS {
|
|
|
141
147
|
): void;
|
|
142
148
|
getDelegatedAccessToken(
|
|
143
149
|
args: GetDelegatedAccessTokenCommandInput,
|
|
144
|
-
options:
|
|
150
|
+
options: STSRequestOptions,
|
|
145
151
|
cb: (err: any, data?: GetDelegatedAccessTokenCommandOutput) => void,
|
|
146
152
|
): void;
|
|
147
153
|
getFederationToken(
|
|
148
154
|
args: GetFederationTokenCommandInput,
|
|
149
|
-
options?:
|
|
155
|
+
options?: STSRequestOptions,
|
|
150
156
|
): Promise<GetFederationTokenCommandOutput>;
|
|
151
157
|
getFederationToken(
|
|
152
158
|
args: GetFederationTokenCommandInput,
|
|
@@ -154,13 +160,13 @@ export interface STS {
|
|
|
154
160
|
): void;
|
|
155
161
|
getFederationToken(
|
|
156
162
|
args: GetFederationTokenCommandInput,
|
|
157
|
-
options:
|
|
163
|
+
options: STSRequestOptions,
|
|
158
164
|
cb: (err: any, data?: GetFederationTokenCommandOutput) => void,
|
|
159
165
|
): void;
|
|
160
166
|
getSessionToken(): Promise<GetSessionTokenCommandOutput>;
|
|
161
167
|
getSessionToken(
|
|
162
168
|
args: GetSessionTokenCommandInput,
|
|
163
|
-
options?:
|
|
169
|
+
options?: STSRequestOptions,
|
|
164
170
|
): Promise<GetSessionTokenCommandOutput>;
|
|
165
171
|
getSessionToken(
|
|
166
172
|
args: GetSessionTokenCommandInput,
|
|
@@ -168,12 +174,12 @@ export interface STS {
|
|
|
168
174
|
): void;
|
|
169
175
|
getSessionToken(
|
|
170
176
|
args: GetSessionTokenCommandInput,
|
|
171
|
-
options:
|
|
177
|
+
options: STSRequestOptions,
|
|
172
178
|
cb: (err: any, data?: GetSessionTokenCommandOutput) => void,
|
|
173
179
|
): void;
|
|
174
180
|
getWebIdentityToken(
|
|
175
181
|
args: GetWebIdentityTokenCommandInput,
|
|
176
|
-
options?:
|
|
182
|
+
options?: STSRequestOptions,
|
|
177
183
|
): Promise<GetWebIdentityTokenCommandOutput>;
|
|
178
184
|
getWebIdentityToken(
|
|
179
185
|
args: GetWebIdentityTokenCommandInput,
|
|
@@ -181,7 +187,7 @@ export interface STS {
|
|
|
181
187
|
): void;
|
|
182
188
|
getWebIdentityToken(
|
|
183
189
|
args: GetWebIdentityTokenCommandInput,
|
|
184
|
-
options:
|
|
190
|
+
options: STSRequestOptions,
|
|
185
191
|
cb: (err: any, data?: GetWebIdentityTokenCommandOutput) => void,
|
|
186
192
|
): void;
|
|
187
193
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.978.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
58
|
-
"@aws-sdk/types": "^3.974.
|
|
59
|
-
"@smithy/core": "^3.
|
|
60
|
-
"@smithy/fetch-http-handler": "^5.
|
|
61
|
-
"@smithy/node-http-handler": "^4.
|
|
62
|
-
"@smithy/types": "^4.
|
|
55
|
+
"@aws-sdk/core": "^3.978.1",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
57
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.47",
|
|
58
|
+
"@aws-sdk/types": "^3.974.6",
|
|
59
|
+
"@smithy/core": "^3.35.0",
|
|
60
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
61
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
62
|
+
"@smithy/types": "^4.19.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|