@aws-sdk/client-sts 3.128.0 → 3.137.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/CHANGELOG.md +27 -0
- package/dist-cjs/commands/AssumeRoleCommand.js +2 -2
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -2
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -2
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -2
- package/dist-cjs/commands/GetCallerIdentityCommand.js +2 -2
- package/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
- package/dist-cjs/commands/GetSessionTokenCommand.js +2 -2
- package/dist-cjs/models/models_0.js +85 -127
- package/dist-es/commands/AssumeRoleCommand.js +3 -3
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -3
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -3
- package/dist-es/commands/GetAccessKeyInfoCommand.js +3 -3
- package/dist-es/commands/GetCallerIdentityCommand.js +3 -3
- package/dist-es/commands/GetFederationTokenCommand.js +3 -3
- package/dist-es/commands/GetSessionTokenCommand.js +3 -3
- package/dist-es/models/models_0.js +21 -84
- package/dist-types/models/models_0.d.ts +84 -126
- package/dist-types/ts3.4/models/models_0.d.ts +42 -84
- package/package.json +9 -9
|
@@ -7,19 +7,11 @@ export interface AssumedRoleUser {
|
|
|
7
7
|
|
|
8
8
|
Arn: string | undefined;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AssumedRoleUser {
|
|
11
|
-
|
|
12
|
-
const filterSensitiveLog: (obj: AssumedRoleUser) => any;
|
|
13
|
-
}
|
|
14
10
|
|
|
15
11
|
export interface PolicyDescriptorType {
|
|
16
12
|
|
|
17
13
|
arn?: string;
|
|
18
14
|
}
|
|
19
|
-
export declare namespace PolicyDescriptorType {
|
|
20
|
-
|
|
21
|
-
const filterSensitiveLog: (obj: PolicyDescriptorType) => any;
|
|
22
|
-
}
|
|
23
15
|
|
|
24
16
|
export interface Tag {
|
|
25
17
|
|
|
@@ -27,10 +19,6 @@ export interface Tag {
|
|
|
27
19
|
|
|
28
20
|
Value: string | undefined;
|
|
29
21
|
}
|
|
30
|
-
export declare namespace Tag {
|
|
31
|
-
|
|
32
|
-
const filterSensitiveLog: (obj: Tag) => any;
|
|
33
|
-
}
|
|
34
22
|
export interface AssumeRoleRequest {
|
|
35
23
|
|
|
36
24
|
RoleArn: string | undefined;
|
|
@@ -55,10 +43,6 @@ export interface AssumeRoleRequest {
|
|
|
55
43
|
|
|
56
44
|
SourceIdentity?: string;
|
|
57
45
|
}
|
|
58
|
-
export declare namespace AssumeRoleRequest {
|
|
59
|
-
|
|
60
|
-
const filterSensitiveLog: (obj: AssumeRoleRequest) => any;
|
|
61
|
-
}
|
|
62
46
|
|
|
63
47
|
export interface Credentials {
|
|
64
48
|
|
|
@@ -70,10 +54,6 @@ export interface Credentials {
|
|
|
70
54
|
|
|
71
55
|
Expiration: Date | undefined;
|
|
72
56
|
}
|
|
73
|
-
export declare namespace Credentials {
|
|
74
|
-
|
|
75
|
-
const filterSensitiveLog: (obj: Credentials) => any;
|
|
76
|
-
}
|
|
77
57
|
|
|
78
58
|
export interface AssumeRoleResponse {
|
|
79
59
|
|
|
@@ -85,10 +65,6 @@ export interface AssumeRoleResponse {
|
|
|
85
65
|
|
|
86
66
|
SourceIdentity?: string;
|
|
87
67
|
}
|
|
88
|
-
export declare namespace AssumeRoleResponse {
|
|
89
|
-
|
|
90
|
-
const filterSensitiveLog: (obj: AssumeRoleResponse) => any;
|
|
91
|
-
}
|
|
92
68
|
|
|
93
69
|
export declare class ExpiredTokenException extends __BaseException {
|
|
94
70
|
readonly name: "ExpiredTokenException";
|
|
@@ -131,10 +107,6 @@ export interface AssumeRoleWithSAMLRequest {
|
|
|
131
107
|
|
|
132
108
|
DurationSeconds?: number;
|
|
133
109
|
}
|
|
134
|
-
export declare namespace AssumeRoleWithSAMLRequest {
|
|
135
|
-
|
|
136
|
-
const filterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
|
|
137
|
-
}
|
|
138
110
|
|
|
139
111
|
export interface AssumeRoleWithSAMLResponse {
|
|
140
112
|
|
|
@@ -156,10 +128,6 @@ export interface AssumeRoleWithSAMLResponse {
|
|
|
156
128
|
|
|
157
129
|
SourceIdentity?: string;
|
|
158
130
|
}
|
|
159
|
-
export declare namespace AssumeRoleWithSAMLResponse {
|
|
160
|
-
|
|
161
|
-
const filterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
|
|
162
|
-
}
|
|
163
131
|
|
|
164
132
|
export declare class IDPRejectedClaimException extends __BaseException {
|
|
165
133
|
readonly name: "IDPRejectedClaimException";
|
|
@@ -190,10 +158,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
190
158
|
|
|
191
159
|
DurationSeconds?: number;
|
|
192
160
|
}
|
|
193
|
-
export declare namespace AssumeRoleWithWebIdentityRequest {
|
|
194
|
-
|
|
195
|
-
const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
|
|
196
|
-
}
|
|
197
161
|
|
|
198
162
|
export interface AssumeRoleWithWebIdentityResponse {
|
|
199
163
|
|
|
@@ -211,10 +175,6 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
211
175
|
|
|
212
176
|
SourceIdentity?: string;
|
|
213
177
|
}
|
|
214
|
-
export declare namespace AssumeRoleWithWebIdentityResponse {
|
|
215
|
-
|
|
216
|
-
const filterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
|
|
217
|
-
}
|
|
218
178
|
|
|
219
179
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
|
220
180
|
readonly name: "IDPCommunicationErrorException";
|
|
@@ -226,19 +186,11 @@ export interface DecodeAuthorizationMessageRequest {
|
|
|
226
186
|
|
|
227
187
|
EncodedMessage: string | undefined;
|
|
228
188
|
}
|
|
229
|
-
export declare namespace DecodeAuthorizationMessageRequest {
|
|
230
|
-
|
|
231
|
-
const filterSensitiveLog: (obj: DecodeAuthorizationMessageRequest) => any;
|
|
232
|
-
}
|
|
233
189
|
|
|
234
190
|
export interface DecodeAuthorizationMessageResponse {
|
|
235
191
|
|
|
236
192
|
DecodedMessage?: string;
|
|
237
193
|
}
|
|
238
|
-
export declare namespace DecodeAuthorizationMessageResponse {
|
|
239
|
-
|
|
240
|
-
const filterSensitiveLog: (obj: DecodeAuthorizationMessageResponse) => any;
|
|
241
|
-
}
|
|
242
194
|
|
|
243
195
|
export declare class InvalidAuthorizationMessageException extends __BaseException {
|
|
244
196
|
readonly name: "InvalidAuthorizationMessageException";
|
|
@@ -250,24 +202,12 @@ export interface GetAccessKeyInfoRequest {
|
|
|
250
202
|
|
|
251
203
|
AccessKeyId: string | undefined;
|
|
252
204
|
}
|
|
253
|
-
export declare namespace GetAccessKeyInfoRequest {
|
|
254
|
-
|
|
255
|
-
const filterSensitiveLog: (obj: GetAccessKeyInfoRequest) => any;
|
|
256
|
-
}
|
|
257
205
|
export interface GetAccessKeyInfoResponse {
|
|
258
206
|
|
|
259
207
|
Account?: string;
|
|
260
208
|
}
|
|
261
|
-
export declare namespace GetAccessKeyInfoResponse {
|
|
262
|
-
|
|
263
|
-
const filterSensitiveLog: (obj: GetAccessKeyInfoResponse) => any;
|
|
264
|
-
}
|
|
265
209
|
export interface GetCallerIdentityRequest {
|
|
266
210
|
}
|
|
267
|
-
export declare namespace GetCallerIdentityRequest {
|
|
268
|
-
|
|
269
|
-
const filterSensitiveLog: (obj: GetCallerIdentityRequest) => any;
|
|
270
|
-
}
|
|
271
211
|
|
|
272
212
|
export interface GetCallerIdentityResponse {
|
|
273
213
|
|
|
@@ -277,10 +217,6 @@ export interface GetCallerIdentityResponse {
|
|
|
277
217
|
|
|
278
218
|
Arn?: string;
|
|
279
219
|
}
|
|
280
|
-
export declare namespace GetCallerIdentityResponse {
|
|
281
|
-
|
|
282
|
-
const filterSensitiveLog: (obj: GetCallerIdentityResponse) => any;
|
|
283
|
-
}
|
|
284
220
|
export interface GetFederationTokenRequest {
|
|
285
221
|
|
|
286
222
|
Name: string | undefined;
|
|
@@ -293,10 +229,6 @@ export interface GetFederationTokenRequest {
|
|
|
293
229
|
|
|
294
230
|
Tags?: Tag[];
|
|
295
231
|
}
|
|
296
|
-
export declare namespace GetFederationTokenRequest {
|
|
297
|
-
|
|
298
|
-
const filterSensitiveLog: (obj: GetFederationTokenRequest) => any;
|
|
299
|
-
}
|
|
300
232
|
|
|
301
233
|
export interface FederatedUser {
|
|
302
234
|
|
|
@@ -304,10 +236,6 @@ export interface FederatedUser {
|
|
|
304
236
|
|
|
305
237
|
Arn: string | undefined;
|
|
306
238
|
}
|
|
307
|
-
export declare namespace FederatedUser {
|
|
308
|
-
|
|
309
|
-
const filterSensitiveLog: (obj: FederatedUser) => any;
|
|
310
|
-
}
|
|
311
239
|
|
|
312
240
|
export interface GetFederationTokenResponse {
|
|
313
241
|
|
|
@@ -317,10 +245,6 @@ export interface GetFederationTokenResponse {
|
|
|
317
245
|
|
|
318
246
|
PackedPolicySize?: number;
|
|
319
247
|
}
|
|
320
|
-
export declare namespace GetFederationTokenResponse {
|
|
321
|
-
|
|
322
|
-
const filterSensitiveLog: (obj: GetFederationTokenResponse) => any;
|
|
323
|
-
}
|
|
324
248
|
export interface GetSessionTokenRequest {
|
|
325
249
|
|
|
326
250
|
DurationSeconds?: number;
|
|
@@ -329,16 +253,50 @@ export interface GetSessionTokenRequest {
|
|
|
329
253
|
|
|
330
254
|
TokenCode?: string;
|
|
331
255
|
}
|
|
332
|
-
export declare namespace GetSessionTokenRequest {
|
|
333
|
-
|
|
334
|
-
const filterSensitiveLog: (obj: GetSessionTokenRequest) => any;
|
|
335
|
-
}
|
|
336
256
|
|
|
337
257
|
export interface GetSessionTokenResponse {
|
|
338
258
|
|
|
339
259
|
Credentials?: Credentials;
|
|
340
260
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
261
|
+
|
|
262
|
+
export declare const AssumedRoleUserFilterSensitiveLog: (obj: AssumedRoleUser) => any;
|
|
263
|
+
|
|
264
|
+
export declare const PolicyDescriptorTypeFilterSensitiveLog: (obj: PolicyDescriptorType) => any;
|
|
265
|
+
|
|
266
|
+
export declare const TagFilterSensitiveLog: (obj: Tag) => any;
|
|
267
|
+
|
|
268
|
+
export declare const AssumeRoleRequestFilterSensitiveLog: (obj: AssumeRoleRequest) => any;
|
|
269
|
+
|
|
270
|
+
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
|
271
|
+
|
|
272
|
+
export declare const AssumeRoleResponseFilterSensitiveLog: (obj: AssumeRoleResponse) => any;
|
|
273
|
+
|
|
274
|
+
export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
|
|
275
|
+
|
|
276
|
+
export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
|
|
277
|
+
|
|
278
|
+
export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
|
|
279
|
+
|
|
280
|
+
export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
|
|
281
|
+
|
|
282
|
+
export declare const DecodeAuthorizationMessageRequestFilterSensitiveLog: (obj: DecodeAuthorizationMessageRequest) => any;
|
|
283
|
+
|
|
284
|
+
export declare const DecodeAuthorizationMessageResponseFilterSensitiveLog: (obj: DecodeAuthorizationMessageResponse) => any;
|
|
285
|
+
|
|
286
|
+
export declare const GetAccessKeyInfoRequestFilterSensitiveLog: (obj: GetAccessKeyInfoRequest) => any;
|
|
287
|
+
|
|
288
|
+
export declare const GetAccessKeyInfoResponseFilterSensitiveLog: (obj: GetAccessKeyInfoResponse) => any;
|
|
289
|
+
|
|
290
|
+
export declare const GetCallerIdentityRequestFilterSensitiveLog: (obj: GetCallerIdentityRequest) => any;
|
|
291
|
+
|
|
292
|
+
export declare const GetCallerIdentityResponseFilterSensitiveLog: (obj: GetCallerIdentityResponse) => any;
|
|
293
|
+
|
|
294
|
+
export declare const GetFederationTokenRequestFilterSensitiveLog: (obj: GetFederationTokenRequest) => any;
|
|
295
|
+
|
|
296
|
+
export declare const FederatedUserFilterSensitiveLog: (obj: FederatedUser) => any;
|
|
297
|
+
|
|
298
|
+
export declare const GetFederationTokenResponseFilterSensitiveLog: (obj: GetFederationTokenResponse) => any;
|
|
299
|
+
|
|
300
|
+
export declare const GetSessionTokenRequestFilterSensitiveLog: (obj: GetSessionTokenRequest) => any;
|
|
301
|
+
|
|
302
|
+
export declare const GetSessionTokenResponseFilterSensitiveLog: (obj: GetSessionTokenResponse) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.137.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/config-resolver": "3.
|
|
22
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
22
|
+
"@aws-sdk/credential-provider-node": "3.137.0",
|
|
23
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
24
24
|
"@aws-sdk/hash-node": "3.127.0",
|
|
25
25
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
26
26
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.127.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
30
30
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
31
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
31
|
+
"@aws-sdk/middleware-sdk-sts": "3.130.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|