@aws-sdk/client-sts 3.948.0 → 3.953.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 +197 -144
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/AssumeRoleCommand.js +2 -2
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -2
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/dist-es/commands/AssumeRootCommand.js +2 -2
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -2
- package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -2
- package/dist-es/commands/GetCallerIdentityCommand.js +2 -2
- package/dist-es/commands/GetDelegatedAccessTokenCommand.js +2 -2
- package/dist-es/commands/GetFederationTokenCommand.js +2 -2
- package/dist-es/commands/GetSessionTokenCommand.js +2 -2
- package/dist-es/commands/GetWebIdentityTokenCommand.js +2 -2
- package/dist-es/defaultStsRoleAssumers.js +3 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +101 -101
- package/dist-types/STSClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +53 -63
- package/dist-types/ts3.4/STSClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -64
- package/package.json +34 -34
|
@@ -111,15 +111,15 @@ const _tLT = "tagListType";
|
|
|
111
111
|
const _wITT = "webIdentityTokenType";
|
|
112
112
|
const n0 = "com.amazonaws.sts";
|
|
113
113
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
114
|
-
import { ExpiredTokenException
|
|
115
|
-
import { STSServiceException
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
122
|
-
export var AssumeRoleRequest = [
|
|
114
|
+
import { ExpiredTokenException, ExpiredTradeInTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidAuthorizationMessageException, InvalidIdentityTokenException, JWTPayloadSizeExceededException, MalformedPolicyDocumentException, OutboundWebIdentityFederationDisabledException, PackedPolicyTooLargeException, RegionDisabledException, SessionDurationEscalationException, } from "../models/errors";
|
|
115
|
+
import { STSServiceException } from "../models/STSServiceException";
|
|
116
|
+
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
117
|
+
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
118
|
+
var SAMLAssertionType = [0, n0, _SAMLAT, 8, 0];
|
|
119
|
+
var tradeInTokenType = [0, n0, _tITT, 8, 0];
|
|
120
|
+
var webIdentityTokenType = [0, n0, _wITT, 8, 0];
|
|
121
|
+
export var AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
122
|
+
export var AssumeRoleRequest$ = [
|
|
123
123
|
3,
|
|
124
124
|
n0,
|
|
125
125
|
_ARR,
|
|
@@ -127,15 +127,15 @@ export var AssumeRoleRequest = [
|
|
|
127
127
|
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
128
128
|
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
129
129
|
];
|
|
130
|
-
export var AssumeRoleResponse = [
|
|
130
|
+
export var AssumeRoleResponse$ = [
|
|
131
131
|
3,
|
|
132
132
|
n0,
|
|
133
133
|
_ARRs,
|
|
134
134
|
0,
|
|
135
135
|
[_C, _ARU, _PPS, _SI],
|
|
136
|
-
[[() => Credentials
|
|
136
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0],
|
|
137
137
|
];
|
|
138
|
-
export var AssumeRoleWithSAMLRequest = [
|
|
138
|
+
export var AssumeRoleWithSAMLRequest$ = [
|
|
139
139
|
3,
|
|
140
140
|
n0,
|
|
141
141
|
_ARWSAMLR,
|
|
@@ -143,15 +143,15 @@ export var AssumeRoleWithSAMLRequest = [
|
|
|
143
143
|
[_RA, _PAr, _SAMLA, _PA, _P, _DS],
|
|
144
144
|
[0, 0, [() => SAMLAssertionType, 0], () => policyDescriptorListType, 0, 1],
|
|
145
145
|
];
|
|
146
|
-
export var AssumeRoleWithSAMLResponse = [
|
|
146
|
+
export var AssumeRoleWithSAMLResponse$ = [
|
|
147
147
|
3,
|
|
148
148
|
n0,
|
|
149
149
|
_ARWSAMLRs,
|
|
150
150
|
0,
|
|
151
151
|
[_C, _ARU, _PPS, _S, _ST, _I, _Au, _NQ, _SI],
|
|
152
|
-
[[() => Credentials
|
|
152
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0, 0, 0, 0, 0, 0],
|
|
153
153
|
];
|
|
154
|
-
export var AssumeRoleWithWebIdentityRequest = [
|
|
154
|
+
export var AssumeRoleWithWebIdentityRequest$ = [
|
|
155
155
|
3,
|
|
156
156
|
n0,
|
|
157
157
|
_ARWWIR,
|
|
@@ -159,24 +159,24 @@ export var AssumeRoleWithWebIdentityRequest = [
|
|
|
159
159
|
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
160
160
|
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
161
161
|
];
|
|
162
|
-
export var AssumeRoleWithWebIdentityResponse = [
|
|
162
|
+
export var AssumeRoleWithWebIdentityResponse$ = [
|
|
163
163
|
3,
|
|
164
164
|
n0,
|
|
165
165
|
_ARWWIRs,
|
|
166
166
|
0,
|
|
167
167
|
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
168
|
-
[[() => Credentials
|
|
168
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0],
|
|
169
169
|
];
|
|
170
|
-
export var AssumeRootRequest = [
|
|
170
|
+
export var AssumeRootRequest$ = [
|
|
171
171
|
3,
|
|
172
172
|
n0,
|
|
173
173
|
_ARRss,
|
|
174
174
|
0,
|
|
175
175
|
[_TP, _TPA, _DS],
|
|
176
|
-
[0, () => PolicyDescriptorType
|
|
176
|
+
[0, () => PolicyDescriptorType$, 1],
|
|
177
177
|
];
|
|
178
|
-
export var AssumeRootResponse = [3, n0, _ARRssu, 0, [_C, _SI], [[() => Credentials
|
|
179
|
-
export var Credentials = [
|
|
178
|
+
export var AssumeRootResponse$ = [3, n0, _ARRssu, 0, [_C, _SI], [[() => Credentials$, 0], 0]];
|
|
179
|
+
export var Credentials$ = [
|
|
180
180
|
3,
|
|
181
181
|
n0,
|
|
182
182
|
_C,
|
|
@@ -184,9 +184,9 @@ export var Credentials = [
|
|
|
184
184
|
[_AKI, _SAK, _STe, _E],
|
|
185
185
|
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
186
186
|
];
|
|
187
|
-
export var DecodeAuthorizationMessageRequest = [3, n0, _DAMR, 0, [_EM], [0]];
|
|
188
|
-
export var DecodeAuthorizationMessageResponse = [3, n0, _DAMRe, 0, [_DM], [0]];
|
|
189
|
-
export var ExpiredTokenException = [
|
|
187
|
+
export var DecodeAuthorizationMessageRequest$ = [3, n0, _DAMR, 0, [_EM], [0]];
|
|
188
|
+
export var DecodeAuthorizationMessageResponse$ = [3, n0, _DAMRe, 0, [_DM], [0]];
|
|
189
|
+
export var ExpiredTokenException$ = [
|
|
190
190
|
-3,
|
|
191
191
|
n0,
|
|
192
192
|
_ETE,
|
|
@@ -194,8 +194,8 @@ export var ExpiredTokenException = [
|
|
|
194
194
|
[_m],
|
|
195
195
|
[0],
|
|
196
196
|
];
|
|
197
|
-
TypeRegistry.for(n0).registerError(ExpiredTokenException
|
|
198
|
-
export var ExpiredTradeInTokenException = [
|
|
197
|
+
TypeRegistry.for(n0).registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
198
|
+
export var ExpiredTradeInTokenException$ = [
|
|
199
199
|
-3,
|
|
200
200
|
n0,
|
|
201
201
|
_ETITE,
|
|
@@ -203,13 +203,13 @@ export var ExpiredTradeInTokenException = [
|
|
|
203
203
|
[_m],
|
|
204
204
|
[0],
|
|
205
205
|
];
|
|
206
|
-
TypeRegistry.for(n0).registerError(ExpiredTradeInTokenException
|
|
207
|
-
export var FederatedUser = [3, n0, _FU, 0, [_FUI, _A], [0, 0]];
|
|
208
|
-
export var GetAccessKeyInfoRequest = [3, n0, _GAKIR, 0, [_AKI], [0]];
|
|
209
|
-
export var GetAccessKeyInfoResponse = [3, n0, _GAKIRe, 0, [_Ac], [0]];
|
|
210
|
-
export var GetCallerIdentityRequest = [3, n0, _GCIR, 0, [], []];
|
|
211
|
-
export var GetCallerIdentityResponse = [3, n0, _GCIRe, 0, [_UI, _Ac, _A], [0, 0, 0]];
|
|
212
|
-
export var GetDelegatedAccessTokenRequest = [
|
|
206
|
+
TypeRegistry.for(n0).registerError(ExpiredTradeInTokenException$, ExpiredTradeInTokenException);
|
|
207
|
+
export var FederatedUser$ = [3, n0, _FU, 0, [_FUI, _A], [0, 0]];
|
|
208
|
+
export var GetAccessKeyInfoRequest$ = [3, n0, _GAKIR, 0, [_AKI], [0]];
|
|
209
|
+
export var GetAccessKeyInfoResponse$ = [3, n0, _GAKIRe, 0, [_Ac], [0]];
|
|
210
|
+
export var GetCallerIdentityRequest$ = [3, n0, _GCIR, 0, [], []];
|
|
211
|
+
export var GetCallerIdentityResponse$ = [3, n0, _GCIRe, 0, [_UI, _Ac, _A], [0, 0, 0]];
|
|
212
|
+
export var GetDelegatedAccessTokenRequest$ = [
|
|
213
213
|
3,
|
|
214
214
|
n0,
|
|
215
215
|
_GDATR,
|
|
@@ -217,15 +217,15 @@ export var GetDelegatedAccessTokenRequest = [
|
|
|
217
217
|
[_TIT],
|
|
218
218
|
[[() => tradeInTokenType, 0]],
|
|
219
219
|
];
|
|
220
|
-
export var GetDelegatedAccessTokenResponse = [
|
|
220
|
+
export var GetDelegatedAccessTokenResponse$ = [
|
|
221
221
|
3,
|
|
222
222
|
n0,
|
|
223
223
|
_GDATRe,
|
|
224
224
|
0,
|
|
225
225
|
[_C, _PPS, _AP],
|
|
226
|
-
[[() => Credentials
|
|
226
|
+
[[() => Credentials$, 0], 1, 0],
|
|
227
227
|
];
|
|
228
|
-
export var GetFederationTokenRequest = [
|
|
228
|
+
export var GetFederationTokenRequest$ = [
|
|
229
229
|
3,
|
|
230
230
|
n0,
|
|
231
231
|
_GFTR,
|
|
@@ -233,17 +233,17 @@ export var GetFederationTokenRequest = [
|
|
|
233
233
|
[_N, _P, _PA, _DS, _T],
|
|
234
234
|
[0, 0, () => policyDescriptorListType, 1, () => tagListType],
|
|
235
235
|
];
|
|
236
|
-
export var GetFederationTokenResponse = [
|
|
236
|
+
export var GetFederationTokenResponse$ = [
|
|
237
237
|
3,
|
|
238
238
|
n0,
|
|
239
239
|
_GFTRe,
|
|
240
240
|
0,
|
|
241
241
|
[_C, _FU, _PPS],
|
|
242
|
-
[[() => Credentials
|
|
242
|
+
[[() => Credentials$, 0], () => FederatedUser$, 1],
|
|
243
243
|
];
|
|
244
|
-
export var GetSessionTokenRequest = [3, n0, _GSTR, 0, [_DS, _SN, _TC], [1, 0, 0]];
|
|
245
|
-
export var GetSessionTokenResponse = [3, n0, _GSTRe, 0, [_C], [[() => Credentials
|
|
246
|
-
export var GetWebIdentityTokenRequest = [
|
|
244
|
+
export var GetSessionTokenRequest$ = [3, n0, _GSTR, 0, [_DS, _SN, _TC], [1, 0, 0]];
|
|
245
|
+
export var GetSessionTokenResponse$ = [3, n0, _GSTRe, 0, [_C], [[() => Credentials$, 0]]];
|
|
246
|
+
export var GetWebIdentityTokenRequest$ = [
|
|
247
247
|
3,
|
|
248
248
|
n0,
|
|
249
249
|
_GWITR,
|
|
@@ -251,7 +251,7 @@ export var GetWebIdentityTokenRequest = [
|
|
|
251
251
|
[_Au, _DS, _SA, _T],
|
|
252
252
|
[64 | 0, 1, 0, () => tagListType],
|
|
253
253
|
];
|
|
254
|
-
export var GetWebIdentityTokenResponse = [
|
|
254
|
+
export var GetWebIdentityTokenResponse$ = [
|
|
255
255
|
3,
|
|
256
256
|
n0,
|
|
257
257
|
_GWITRe,
|
|
@@ -259,7 +259,7 @@ export var GetWebIdentityTokenResponse = [
|
|
|
259
259
|
[_WIT, _E],
|
|
260
260
|
[[() => webIdentityTokenType, 0], 4],
|
|
261
261
|
];
|
|
262
|
-
export var IDPCommunicationErrorException = [
|
|
262
|
+
export var IDPCommunicationErrorException$ = [
|
|
263
263
|
-3,
|
|
264
264
|
n0,
|
|
265
265
|
_IDPCEE,
|
|
@@ -267,8 +267,8 @@ export var IDPCommunicationErrorException = [
|
|
|
267
267
|
[_m],
|
|
268
268
|
[0],
|
|
269
269
|
];
|
|
270
|
-
TypeRegistry.for(n0).registerError(IDPCommunicationErrorException
|
|
271
|
-
export var IDPRejectedClaimException = [
|
|
270
|
+
TypeRegistry.for(n0).registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
271
|
+
export var IDPRejectedClaimException$ = [
|
|
272
272
|
-3,
|
|
273
273
|
n0,
|
|
274
274
|
_IDPRCE,
|
|
@@ -276,8 +276,8 @@ export var IDPRejectedClaimException = [
|
|
|
276
276
|
[_m],
|
|
277
277
|
[0],
|
|
278
278
|
];
|
|
279
|
-
TypeRegistry.for(n0).registerError(IDPRejectedClaimException
|
|
280
|
-
export var InvalidAuthorizationMessageException = [
|
|
279
|
+
TypeRegistry.for(n0).registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
280
|
+
export var InvalidAuthorizationMessageException$ = [
|
|
281
281
|
-3,
|
|
282
282
|
n0,
|
|
283
283
|
_IAME,
|
|
@@ -285,8 +285,8 @@ export var InvalidAuthorizationMessageException = [
|
|
|
285
285
|
[_m],
|
|
286
286
|
[0],
|
|
287
287
|
];
|
|
288
|
-
TypeRegistry.for(n0).registerError(InvalidAuthorizationMessageException
|
|
289
|
-
export var InvalidIdentityTokenException = [
|
|
288
|
+
TypeRegistry.for(n0).registerError(InvalidAuthorizationMessageException$, InvalidAuthorizationMessageException);
|
|
289
|
+
export var InvalidIdentityTokenException$ = [
|
|
290
290
|
-3,
|
|
291
291
|
n0,
|
|
292
292
|
_IITE,
|
|
@@ -294,8 +294,8 @@ export var InvalidIdentityTokenException = [
|
|
|
294
294
|
[_m],
|
|
295
295
|
[0],
|
|
296
296
|
];
|
|
297
|
-
TypeRegistry.for(n0).registerError(InvalidIdentityTokenException
|
|
298
|
-
export var JWTPayloadSizeExceededException = [
|
|
297
|
+
TypeRegistry.for(n0).registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
298
|
+
export var JWTPayloadSizeExceededException$ = [
|
|
299
299
|
-3,
|
|
300
300
|
n0,
|
|
301
301
|
_JWTPSEE,
|
|
@@ -303,8 +303,8 @@ export var JWTPayloadSizeExceededException = [
|
|
|
303
303
|
[_m],
|
|
304
304
|
[0],
|
|
305
305
|
];
|
|
306
|
-
TypeRegistry.for(n0).registerError(JWTPayloadSizeExceededException
|
|
307
|
-
export var MalformedPolicyDocumentException = [
|
|
306
|
+
TypeRegistry.for(n0).registerError(JWTPayloadSizeExceededException$, JWTPayloadSizeExceededException);
|
|
307
|
+
export var MalformedPolicyDocumentException$ = [
|
|
308
308
|
-3,
|
|
309
309
|
n0,
|
|
310
310
|
_MPDE,
|
|
@@ -312,8 +312,8 @@ export var MalformedPolicyDocumentException = [
|
|
|
312
312
|
[_m],
|
|
313
313
|
[0],
|
|
314
314
|
];
|
|
315
|
-
TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException
|
|
316
|
-
export var OutboundWebIdentityFederationDisabledException = [
|
|
315
|
+
TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
316
|
+
export var OutboundWebIdentityFederationDisabledException$ = [
|
|
317
317
|
-3,
|
|
318
318
|
n0,
|
|
319
319
|
_OWIFDE,
|
|
@@ -321,8 +321,8 @@ export var OutboundWebIdentityFederationDisabledException = [
|
|
|
321
321
|
[_m],
|
|
322
322
|
[0],
|
|
323
323
|
];
|
|
324
|
-
TypeRegistry.for(n0).registerError(OutboundWebIdentityFederationDisabledException
|
|
325
|
-
export var PackedPolicyTooLargeException = [
|
|
324
|
+
TypeRegistry.for(n0).registerError(OutboundWebIdentityFederationDisabledException$, OutboundWebIdentityFederationDisabledException);
|
|
325
|
+
export var PackedPolicyTooLargeException$ = [
|
|
326
326
|
-3,
|
|
327
327
|
n0,
|
|
328
328
|
_PPTLE,
|
|
@@ -330,10 +330,10 @@ export var PackedPolicyTooLargeException = [
|
|
|
330
330
|
[_m],
|
|
331
331
|
[0],
|
|
332
332
|
];
|
|
333
|
-
TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException
|
|
334
|
-
export var PolicyDescriptorType = [3, n0, _PDT, 0, [_a], [0]];
|
|
335
|
-
export var ProvidedContext = [3, n0, _PCr, 0, [_PAro, _CA], [0, 0]];
|
|
336
|
-
export var RegionDisabledException = [
|
|
333
|
+
TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
334
|
+
export var PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
|
|
335
|
+
export var ProvidedContext$ = [3, n0, _PCr, 0, [_PAro, _CA], [0, 0]];
|
|
336
|
+
export var RegionDisabledException$ = [
|
|
337
337
|
-3,
|
|
338
338
|
n0,
|
|
339
339
|
_RDE,
|
|
@@ -341,8 +341,8 @@ export var RegionDisabledException = [
|
|
|
341
341
|
[_m],
|
|
342
342
|
[0],
|
|
343
343
|
];
|
|
344
|
-
TypeRegistry.for(n0).registerError(RegionDisabledException
|
|
345
|
-
export var SessionDurationEscalationException = [
|
|
344
|
+
TypeRegistry.for(n0).registerError(RegionDisabledException$, RegionDisabledException);
|
|
345
|
+
export var SessionDurationEscalationException$ = [
|
|
346
346
|
-3,
|
|
347
347
|
n0,
|
|
348
348
|
_SDEE,
|
|
@@ -350,86 +350,86 @@ export var SessionDurationEscalationException = [
|
|
|
350
350
|
[_m],
|
|
351
351
|
[0],
|
|
352
352
|
];
|
|
353
|
-
TypeRegistry.for(n0).registerError(SessionDurationEscalationException
|
|
354
|
-
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
355
|
-
export var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
|
|
356
|
-
TypeRegistry.for(_s).registerError(STSServiceException
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
export var AssumeRole = [9, n0, _AR, 0, () => AssumeRoleRequest
|
|
363
|
-
export var AssumeRoleWithSAML = [
|
|
353
|
+
TypeRegistry.for(n0).registerError(SessionDurationEscalationException$, SessionDurationEscalationException);
|
|
354
|
+
export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
355
|
+
export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
356
|
+
TypeRegistry.for(_s).registerError(STSServiceException$, STSServiceException);
|
|
357
|
+
var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType$];
|
|
358
|
+
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext$];
|
|
359
|
+
var tagKeyListType = 64 | 0;
|
|
360
|
+
var tagListType = [1, n0, _tLT, 0, () => Tag$];
|
|
361
|
+
var webIdentityTokenAudienceListType = 64 | 0;
|
|
362
|
+
export var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$];
|
|
363
|
+
export var AssumeRoleWithSAML$ = [
|
|
364
364
|
9,
|
|
365
365
|
n0,
|
|
366
366
|
_ARWSAML,
|
|
367
367
|
0,
|
|
368
|
-
() => AssumeRoleWithSAMLRequest
|
|
369
|
-
() => AssumeRoleWithSAMLResponse
|
|
368
|
+
() => AssumeRoleWithSAMLRequest$,
|
|
369
|
+
() => AssumeRoleWithSAMLResponse$,
|
|
370
370
|
];
|
|
371
|
-
export var AssumeRoleWithWebIdentity = [
|
|
371
|
+
export var AssumeRoleWithWebIdentity$ = [
|
|
372
372
|
9,
|
|
373
373
|
n0,
|
|
374
374
|
_ARWWI,
|
|
375
375
|
0,
|
|
376
|
-
() => AssumeRoleWithWebIdentityRequest
|
|
377
|
-
() => AssumeRoleWithWebIdentityResponse
|
|
376
|
+
() => AssumeRoleWithWebIdentityRequest$,
|
|
377
|
+
() => AssumeRoleWithWebIdentityResponse$,
|
|
378
378
|
];
|
|
379
|
-
export var AssumeRoot = [9, n0, _ARs, 0, () => AssumeRootRequest
|
|
380
|
-
export var DecodeAuthorizationMessage = [
|
|
379
|
+
export var AssumeRoot$ = [9, n0, _ARs, 0, () => AssumeRootRequest$, () => AssumeRootResponse$];
|
|
380
|
+
export var DecodeAuthorizationMessage$ = [
|
|
381
381
|
9,
|
|
382
382
|
n0,
|
|
383
383
|
_DAM,
|
|
384
384
|
0,
|
|
385
|
-
() => DecodeAuthorizationMessageRequest
|
|
386
|
-
() => DecodeAuthorizationMessageResponse
|
|
385
|
+
() => DecodeAuthorizationMessageRequest$,
|
|
386
|
+
() => DecodeAuthorizationMessageResponse$,
|
|
387
387
|
];
|
|
388
|
-
export var GetAccessKeyInfo = [
|
|
388
|
+
export var GetAccessKeyInfo$ = [
|
|
389
389
|
9,
|
|
390
390
|
n0,
|
|
391
391
|
_GAKI,
|
|
392
392
|
0,
|
|
393
|
-
() => GetAccessKeyInfoRequest
|
|
394
|
-
() => GetAccessKeyInfoResponse
|
|
393
|
+
() => GetAccessKeyInfoRequest$,
|
|
394
|
+
() => GetAccessKeyInfoResponse$,
|
|
395
395
|
];
|
|
396
|
-
export var GetCallerIdentity = [
|
|
396
|
+
export var GetCallerIdentity$ = [
|
|
397
397
|
9,
|
|
398
398
|
n0,
|
|
399
399
|
_GCI,
|
|
400
400
|
0,
|
|
401
|
-
() => GetCallerIdentityRequest
|
|
402
|
-
() => GetCallerIdentityResponse
|
|
401
|
+
() => GetCallerIdentityRequest$,
|
|
402
|
+
() => GetCallerIdentityResponse$,
|
|
403
403
|
];
|
|
404
|
-
export var GetDelegatedAccessToken = [
|
|
404
|
+
export var GetDelegatedAccessToken$ = [
|
|
405
405
|
9,
|
|
406
406
|
n0,
|
|
407
407
|
_GDAT,
|
|
408
408
|
0,
|
|
409
|
-
() => GetDelegatedAccessTokenRequest
|
|
410
|
-
() => GetDelegatedAccessTokenResponse
|
|
409
|
+
() => GetDelegatedAccessTokenRequest$,
|
|
410
|
+
() => GetDelegatedAccessTokenResponse$,
|
|
411
411
|
];
|
|
412
|
-
export var GetFederationToken = [
|
|
412
|
+
export var GetFederationToken$ = [
|
|
413
413
|
9,
|
|
414
414
|
n0,
|
|
415
415
|
_GFT,
|
|
416
416
|
0,
|
|
417
|
-
() => GetFederationTokenRequest
|
|
418
|
-
() => GetFederationTokenResponse
|
|
417
|
+
() => GetFederationTokenRequest$,
|
|
418
|
+
() => GetFederationTokenResponse$,
|
|
419
419
|
];
|
|
420
|
-
export var GetSessionToken = [
|
|
420
|
+
export var GetSessionToken$ = [
|
|
421
421
|
9,
|
|
422
422
|
n0,
|
|
423
423
|
_GST,
|
|
424
424
|
0,
|
|
425
|
-
() => GetSessionTokenRequest
|
|
426
|
-
() => GetSessionTokenResponse
|
|
425
|
+
() => GetSessionTokenRequest$,
|
|
426
|
+
() => GetSessionTokenResponse$,
|
|
427
427
|
];
|
|
428
|
-
export var GetWebIdentityToken = [
|
|
428
|
+
export var GetWebIdentityToken$ = [
|
|
429
429
|
9,
|
|
430
430
|
n0,
|
|
431
431
|
_GWIT,
|
|
432
432
|
0,
|
|
433
|
-
() => GetWebIdentityTokenRequest
|
|
434
|
-
() => GetWebIdentityTokenResponse
|
|
433
|
+
() => GetWebIdentityTokenRequest$,
|
|
434
|
+
() => GetWebIdentityTokenResponse$,
|
|
435
435
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
|
|
11
11
|
import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
|
|
@@ -152,15 +152,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
152
152
|
* Optional extensions
|
|
153
153
|
*/
|
|
154
154
|
extensions?: RuntimeExtension[];
|
|
155
|
-
/**
|
|
156
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
157
|
-
* may be overridden. A default will always be set by the client.
|
|
158
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
159
|
-
* the client.
|
|
160
|
-
* @alpha
|
|
161
|
-
*
|
|
162
|
-
*/
|
|
163
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
164
155
|
/**
|
|
165
156
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
166
157
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
12
12
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
13
13
|
export type { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
|
+
export * from "./schemas/schemas_0";
|
|
15
16
|
export * from "./models/errors";
|
|
16
17
|
export type * from "./models/models_0";
|
|
17
18
|
export * from "./defaultRoleAssumers";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsQueryProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -26,8 +26,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsQueryProtocol;
|
|
31
|
+
protocolSettings: {
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
[setting: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
apiVersion: string;
|
|
31
36
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
37
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
38
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,7 +43,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
38
43
|
profile?: string;
|
|
39
44
|
logger: import("@smithy/types").Logger;
|
|
40
45
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
42
46
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
43
47
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
44
48
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsQueryProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
3
4
|
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
5
|
import type { STSClientConfig } from "./STSClient";
|
|
@@ -25,7 +26,11 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
25
26
|
signer: NoAuthSigner;
|
|
26
27
|
})[];
|
|
27
28
|
logger: import("@smithy/types").Logger;
|
|
28
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
29
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsQueryProtocol;
|
|
30
|
+
protocolSettings: {
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
};
|
|
29
34
|
serviceId: string;
|
|
30
35
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
36
|
utf8Decoder: import("@smithy/types").Decoder;
|