@aws-sdk/client-sts 3.928.0 → 3.930.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.
Files changed (35) hide show
  1. package/dist-cjs/STSClient.js +2 -0
  2. package/dist-cjs/index.js +400 -1095
  3. package/dist-cjs/runtimeConfig.shared.js +7 -0
  4. package/dist-es/STSClient.js +2 -0
  5. package/dist-es/commands/AssumeRoleCommand.js +3 -10
  6. package/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -10
  7. package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -10
  8. package/dist-es/commands/AssumeRootCommand.js +3 -10
  9. package/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -9
  10. package/dist-es/commands/GetAccessKeyInfoCommand.js +3 -9
  11. package/dist-es/commands/GetCallerIdentityCommand.js +3 -9
  12. package/dist-es/commands/GetDelegatedAccessTokenCommand.js +3 -10
  13. package/dist-es/commands/GetFederationTokenCommand.js +3 -10
  14. package/dist-es/commands/GetSessionTokenCommand.js +3 -10
  15. package/dist-es/models/models_0.js +0 -45
  16. package/dist-es/runtimeConfig.shared.js +7 -0
  17. package/dist-es/schemas/schemas_0.js +410 -0
  18. package/dist-types/STSClient.d.ts +10 -1
  19. package/dist-types/models/models_0.d.ts +0 -44
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  21. package/dist-types/runtimeConfig.d.ts +1 -0
  22. package/dist-types/runtimeConfig.native.d.ts +1 -0
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/schemas/schemas_0.d.ts +55 -0
  25. package/dist-types/ts3.4/STSClient.d.ts +4 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
  32. package/package.json +33 -33
  33. package/dist-es/protocols/Aws_query.js +0 -1003
  34. package/dist-types/protocols/Aws_query.d.ts +0 -92
  35. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -125
@@ -0,0 +1,410 @@
1
+ const _A = "Arn";
2
+ const _AKI = "AccessKeyId";
3
+ const _AP = "AssumedPrincipal";
4
+ const _AR = "AssumeRole";
5
+ const _ARI = "AssumedRoleId";
6
+ const _ARR = "AssumeRoleRequest";
7
+ const _ARRs = "AssumeRoleResponse";
8
+ const _ARRss = "AssumeRootRequest";
9
+ const _ARRssu = "AssumeRootResponse";
10
+ const _ARU = "AssumedRoleUser";
11
+ const _ARWSAML = "AssumeRoleWithSAML";
12
+ const _ARWSAMLR = "AssumeRoleWithSAMLRequest";
13
+ const _ARWSAMLRs = "AssumeRoleWithSAMLResponse";
14
+ const _ARWWI = "AssumeRoleWithWebIdentity";
15
+ const _ARWWIR = "AssumeRoleWithWebIdentityRequest";
16
+ const _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
17
+ const _ARs = "AssumeRoot";
18
+ const _Ac = "Account";
19
+ const _Au = "Audience";
20
+ const _C = "Credentials";
21
+ const _CA = "ContextAssertion";
22
+ const _DAM = "DecodeAuthorizationMessage";
23
+ const _DAMR = "DecodeAuthorizationMessageRequest";
24
+ const _DAMRe = "DecodeAuthorizationMessageResponse";
25
+ const _DM = "DecodedMessage";
26
+ const _DS = "DurationSeconds";
27
+ const _E = "Expiration";
28
+ const _EI = "ExternalId";
29
+ const _EM = "EncodedMessage";
30
+ const _ETE = "ExpiredTokenException";
31
+ const _ETITE = "ExpiredTradeInTokenException";
32
+ const _FU = "FederatedUser";
33
+ const _FUI = "FederatedUserId";
34
+ const _GAKI = "GetAccessKeyInfo";
35
+ const _GAKIR = "GetAccessKeyInfoRequest";
36
+ const _GAKIRe = "GetAccessKeyInfoResponse";
37
+ const _GCI = "GetCallerIdentity";
38
+ const _GCIR = "GetCallerIdentityRequest";
39
+ const _GCIRe = "GetCallerIdentityResponse";
40
+ const _GDAT = "GetDelegatedAccessToken";
41
+ const _GDATR = "GetDelegatedAccessTokenRequest";
42
+ const _GDATRe = "GetDelegatedAccessTokenResponse";
43
+ const _GFT = "GetFederationToken";
44
+ const _GFTR = "GetFederationTokenRequest";
45
+ const _GFTRe = "GetFederationTokenResponse";
46
+ const _GST = "GetSessionToken";
47
+ const _GSTR = "GetSessionTokenRequest";
48
+ const _GSTRe = "GetSessionTokenResponse";
49
+ const _I = "Issuer";
50
+ const _IAME = "InvalidAuthorizationMessageException";
51
+ const _IDPCEE = "IDPCommunicationErrorException";
52
+ const _IDPRCE = "IDPRejectedClaimException";
53
+ const _IITE = "InvalidIdentityTokenException";
54
+ const _K = "Key";
55
+ const _MPDE = "MalformedPolicyDocumentException";
56
+ const _N = "Name";
57
+ const _NQ = "NameQualifier";
58
+ const _P = "Policy";
59
+ const _PA = "PolicyArns";
60
+ const _PAr = "PrincipalArn";
61
+ const _PAro = "ProviderArn";
62
+ const _PC = "ProvidedContexts";
63
+ const _PCLT = "ProvidedContextsListType";
64
+ const _PCr = "ProvidedContext";
65
+ const _PDT = "PolicyDescriptorType";
66
+ const _PI = "ProviderId";
67
+ const _PPS = "PackedPolicySize";
68
+ const _PPTLE = "PackedPolicyTooLargeException";
69
+ const _Pr = "Provider";
70
+ const _RA = "RoleArn";
71
+ const _RDE = "RegionDisabledException";
72
+ const _RSN = "RoleSessionName";
73
+ const _S = "Subject";
74
+ const _SAK = "SecretAccessKey";
75
+ const _SAMLA = "SAMLAssertion";
76
+ const _SAMLAT = "SAMLAssertionType";
77
+ const _SFWIT = "SubjectFromWebIdentityToken";
78
+ const _SI = "SourceIdentity";
79
+ const _SN = "SerialNumber";
80
+ const _ST = "SubjectType";
81
+ const _STe = "SessionToken";
82
+ const _T = "Tags";
83
+ const _TC = "TokenCode";
84
+ const _TIT = "TradeInToken";
85
+ const _TP = "TargetPrincipal";
86
+ const _TPA = "TaskPolicyArn";
87
+ const _TTK = "TransitiveTagKeys";
88
+ const _Ta = "Tag";
89
+ const _UI = "UserId";
90
+ const _V = "Value";
91
+ const _WIT = "WebIdentityToken";
92
+ const _a = "arn";
93
+ const _aKST = "accessKeySecretType";
94
+ const _aQE = "awsQueryError";
95
+ const _c = "client";
96
+ const _cTT = "clientTokenType";
97
+ const _e = "error";
98
+ const _hE = "httpError";
99
+ const _m = "message";
100
+ const _pDLT = "policyDescriptorListType";
101
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
102
+ const _tITT = "tradeInTokenType";
103
+ const _tLT = "tagListType";
104
+ const n0 = "com.amazonaws.sts";
105
+ import { TypeRegistry } from "@smithy/core/schema";
106
+ import { ExpiredTokenException as __ExpiredTokenException, ExpiredTradeInTokenException as __ExpiredTradeInTokenException, IDPCommunicationErrorException as __IDPCommunicationErrorException, IDPRejectedClaimException as __IDPRejectedClaimException, InvalidAuthorizationMessageException as __InvalidAuthorizationMessageException, InvalidIdentityTokenException as __InvalidIdentityTokenException, MalformedPolicyDocumentException as __MalformedPolicyDocumentException, PackedPolicyTooLargeException as __PackedPolicyTooLargeException, RegionDisabledException as __RegionDisabledException, } from "../models/index";
107
+ import { STSServiceException as __STSServiceException } from "../models/STSServiceException";
108
+ export var accessKeySecretType = [0, n0, _aKST, 8, 0];
109
+ export var clientTokenType = [0, n0, _cTT, 8, 0];
110
+ export var SAMLAssertionType = [0, n0, _SAMLAT, 8, 0];
111
+ export var tradeInTokenType = [0, n0, _tITT, 8, 0];
112
+ export var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
113
+ export var AssumeRoleRequest = [
114
+ 3,
115
+ n0,
116
+ _ARR,
117
+ 0,
118
+ [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
119
+ [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
120
+ ];
121
+ export var AssumeRoleResponse = [
122
+ 3,
123
+ n0,
124
+ _ARRs,
125
+ 0,
126
+ [_C, _ARU, _PPS, _SI],
127
+ [[() => Credentials, 0], () => AssumedRoleUser, 1, 0],
128
+ ];
129
+ export var AssumeRoleWithSAMLRequest = [
130
+ 3,
131
+ n0,
132
+ _ARWSAMLR,
133
+ 0,
134
+ [_RA, _PAr, _SAMLA, _PA, _P, _DS],
135
+ [0, 0, [() => SAMLAssertionType, 0], () => policyDescriptorListType, 0, 1],
136
+ ];
137
+ export var AssumeRoleWithSAMLResponse = [
138
+ 3,
139
+ n0,
140
+ _ARWSAMLRs,
141
+ 0,
142
+ [_C, _ARU, _PPS, _S, _ST, _I, _Au, _NQ, _SI],
143
+ [[() => Credentials, 0], () => AssumedRoleUser, 1, 0, 0, 0, 0, 0, 0],
144
+ ];
145
+ export var AssumeRoleWithWebIdentityRequest = [
146
+ 3,
147
+ n0,
148
+ _ARWWIR,
149
+ 0,
150
+ [_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
151
+ [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
152
+ ];
153
+ export var AssumeRoleWithWebIdentityResponse = [
154
+ 3,
155
+ n0,
156
+ _ARWWIRs,
157
+ 0,
158
+ [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
159
+ [[() => Credentials, 0], 0, () => AssumedRoleUser, 1, 0, 0, 0],
160
+ ];
161
+ export var AssumeRootRequest = [
162
+ 3,
163
+ n0,
164
+ _ARRss,
165
+ 0,
166
+ [_TP, _TPA, _DS],
167
+ [0, () => PolicyDescriptorType, 1],
168
+ ];
169
+ export var AssumeRootResponse = [3, n0, _ARRssu, 0, [_C, _SI], [[() => Credentials, 0], 0]];
170
+ export var Credentials = [
171
+ 3,
172
+ n0,
173
+ _C,
174
+ 0,
175
+ [_AKI, _SAK, _STe, _E],
176
+ [0, [() => accessKeySecretType, 0], 0, 4],
177
+ ];
178
+ export var DecodeAuthorizationMessageRequest = [3, n0, _DAMR, 0, [_EM], [0]];
179
+ export var DecodeAuthorizationMessageResponse = [3, n0, _DAMRe, 0, [_DM], [0]];
180
+ export var ExpiredTokenException = [
181
+ -3,
182
+ n0,
183
+ _ETE,
184
+ {
185
+ [_e]: _c,
186
+ [_hE]: 400,
187
+ [_aQE]: [`ExpiredTokenException`, 400],
188
+ },
189
+ [_m],
190
+ [0],
191
+ ];
192
+ TypeRegistry.for(n0).registerError(ExpiredTokenException, __ExpiredTokenException);
193
+ export var ExpiredTradeInTokenException = [
194
+ -3,
195
+ n0,
196
+ _ETITE,
197
+ {
198
+ [_e]: _c,
199
+ [_hE]: 400,
200
+ [_aQE]: [`ExpiredTradeInTokenException`, 400],
201
+ },
202
+ [_m],
203
+ [0],
204
+ ];
205
+ TypeRegistry.for(n0).registerError(ExpiredTradeInTokenException, __ExpiredTradeInTokenException);
206
+ export var FederatedUser = [3, n0, _FU, 0, [_FUI, _A], [0, 0]];
207
+ export var GetAccessKeyInfoRequest = [3, n0, _GAKIR, 0, [_AKI], [0]];
208
+ export var GetAccessKeyInfoResponse = [3, n0, _GAKIRe, 0, [_Ac], [0]];
209
+ export var GetCallerIdentityRequest = [3, n0, _GCIR, 0, [], []];
210
+ export var GetCallerIdentityResponse = [3, n0, _GCIRe, 0, [_UI, _Ac, _A], [0, 0, 0]];
211
+ export var GetDelegatedAccessTokenRequest = [
212
+ 3,
213
+ n0,
214
+ _GDATR,
215
+ 0,
216
+ [_TIT],
217
+ [[() => tradeInTokenType, 0]],
218
+ ];
219
+ export var GetDelegatedAccessTokenResponse = [
220
+ 3,
221
+ n0,
222
+ _GDATRe,
223
+ 0,
224
+ [_C, _PPS, _AP],
225
+ [[() => Credentials, 0], 1, 0],
226
+ ];
227
+ export var GetFederationTokenRequest = [
228
+ 3,
229
+ n0,
230
+ _GFTR,
231
+ 0,
232
+ [_N, _P, _PA, _DS, _T],
233
+ [0, 0, () => policyDescriptorListType, 1, () => tagListType],
234
+ ];
235
+ export var GetFederationTokenResponse = [
236
+ 3,
237
+ n0,
238
+ _GFTRe,
239
+ 0,
240
+ [_C, _FU, _PPS],
241
+ [[() => Credentials, 0], () => FederatedUser, 1],
242
+ ];
243
+ export var GetSessionTokenRequest = [3, n0, _GSTR, 0, [_DS, _SN, _TC], [1, 0, 0]];
244
+ export var GetSessionTokenResponse = [3, n0, _GSTRe, 0, [_C], [[() => Credentials, 0]]];
245
+ export var IDPCommunicationErrorException = [
246
+ -3,
247
+ n0,
248
+ _IDPCEE,
249
+ {
250
+ [_e]: _c,
251
+ [_hE]: 400,
252
+ [_aQE]: [`IDPCommunicationError`, 400],
253
+ },
254
+ [_m],
255
+ [0],
256
+ ];
257
+ TypeRegistry.for(n0).registerError(IDPCommunicationErrorException, __IDPCommunicationErrorException);
258
+ export var IDPRejectedClaimException = [
259
+ -3,
260
+ n0,
261
+ _IDPRCE,
262
+ {
263
+ [_e]: _c,
264
+ [_hE]: 403,
265
+ [_aQE]: [`IDPRejectedClaim`, 403],
266
+ },
267
+ [_m],
268
+ [0],
269
+ ];
270
+ TypeRegistry.for(n0).registerError(IDPRejectedClaimException, __IDPRejectedClaimException);
271
+ export var InvalidAuthorizationMessageException = [
272
+ -3,
273
+ n0,
274
+ _IAME,
275
+ {
276
+ [_e]: _c,
277
+ [_hE]: 400,
278
+ [_aQE]: [`InvalidAuthorizationMessageException`, 400],
279
+ },
280
+ [_m],
281
+ [0],
282
+ ];
283
+ TypeRegistry.for(n0).registerError(InvalidAuthorizationMessageException, __InvalidAuthorizationMessageException);
284
+ export var InvalidIdentityTokenException = [
285
+ -3,
286
+ n0,
287
+ _IITE,
288
+ {
289
+ [_e]: _c,
290
+ [_hE]: 400,
291
+ [_aQE]: [`InvalidIdentityToken`, 400],
292
+ },
293
+ [_m],
294
+ [0],
295
+ ];
296
+ TypeRegistry.for(n0).registerError(InvalidIdentityTokenException, __InvalidIdentityTokenException);
297
+ export var MalformedPolicyDocumentException = [
298
+ -3,
299
+ n0,
300
+ _MPDE,
301
+ {
302
+ [_e]: _c,
303
+ [_hE]: 400,
304
+ [_aQE]: [`MalformedPolicyDocument`, 400],
305
+ },
306
+ [_m],
307
+ [0],
308
+ ];
309
+ TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, __MalformedPolicyDocumentException);
310
+ export var PackedPolicyTooLargeException = [
311
+ -3,
312
+ n0,
313
+ _PPTLE,
314
+ {
315
+ [_e]: _c,
316
+ [_hE]: 400,
317
+ [_aQE]: [`PackedPolicyTooLarge`, 400],
318
+ },
319
+ [_m],
320
+ [0],
321
+ ];
322
+ TypeRegistry.for(n0).registerError(PackedPolicyTooLargeException, __PackedPolicyTooLargeException);
323
+ export var PolicyDescriptorType = [3, n0, _PDT, 0, [_a], [0]];
324
+ export var ProvidedContext = [3, n0, _PCr, 0, [_PAro, _CA], [0, 0]];
325
+ export var RegionDisabledException = [
326
+ -3,
327
+ n0,
328
+ _RDE,
329
+ {
330
+ [_e]: _c,
331
+ [_hE]: 403,
332
+ [_aQE]: [`RegionDisabledException`, 403],
333
+ },
334
+ [_m],
335
+ [0],
336
+ ];
337
+ TypeRegistry.for(n0).registerError(RegionDisabledException, __RegionDisabledException);
338
+ export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
339
+ export var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
340
+ TypeRegistry.for(_s).registerError(STSServiceException, __STSServiceException);
341
+ export var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType];
342
+ export var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext];
343
+ export var tagKeyListType = 64 | 0;
344
+ export var tagListType = [1, n0, _tLT, 0, () => Tag];
345
+ export var AssumeRole = [9, n0, _AR, 0, () => AssumeRoleRequest, () => AssumeRoleResponse];
346
+ export var AssumeRoleWithSAML = [
347
+ 9,
348
+ n0,
349
+ _ARWSAML,
350
+ 0,
351
+ () => AssumeRoleWithSAMLRequest,
352
+ () => AssumeRoleWithSAMLResponse,
353
+ ];
354
+ export var AssumeRoleWithWebIdentity = [
355
+ 9,
356
+ n0,
357
+ _ARWWI,
358
+ 0,
359
+ () => AssumeRoleWithWebIdentityRequest,
360
+ () => AssumeRoleWithWebIdentityResponse,
361
+ ];
362
+ export var AssumeRoot = [9, n0, _ARs, 0, () => AssumeRootRequest, () => AssumeRootResponse];
363
+ export var DecodeAuthorizationMessage = [
364
+ 9,
365
+ n0,
366
+ _DAM,
367
+ 0,
368
+ () => DecodeAuthorizationMessageRequest,
369
+ () => DecodeAuthorizationMessageResponse,
370
+ ];
371
+ export var GetAccessKeyInfo = [
372
+ 9,
373
+ n0,
374
+ _GAKI,
375
+ 0,
376
+ () => GetAccessKeyInfoRequest,
377
+ () => GetAccessKeyInfoResponse,
378
+ ];
379
+ export var GetCallerIdentity = [
380
+ 9,
381
+ n0,
382
+ _GCI,
383
+ 0,
384
+ () => GetCallerIdentityRequest,
385
+ () => GetCallerIdentityResponse,
386
+ ];
387
+ export var GetDelegatedAccessToken = [
388
+ 9,
389
+ n0,
390
+ _GDAT,
391
+ 0,
392
+ () => GetDelegatedAccessTokenRequest,
393
+ () => GetDelegatedAccessTokenResponse,
394
+ ];
395
+ export var GetFederationToken = [
396
+ 9,
397
+ n0,
398
+ _GFT,
399
+ 0,
400
+ () => GetFederationTokenRequest,
401
+ () => GetFederationTokenResponse,
402
+ ];
403
+ export var GetSessionToken = [
404
+ 9,
405
+ n0,
406
+ _GST,
407
+ 0,
408
+ () => GetSessionTokenRequest,
409
+ () => GetSessionTokenResponse,
410
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
11
11
  import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
@@ -151,6 +151,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
151
  * Optional extensions
152
152
  */
153
153
  extensions?: RuntimeExtension[];
154
+ /**
155
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
156
+ * may be overridden. A default will always be set by the client.
157
+ * Available options depend on the service's supported protocols and will not be validated by
158
+ * the client.
159
+ * @alpha
160
+ *
161
+ */
162
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
163
  /**
155
164
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
165
  */
@@ -1332,47 +1332,3 @@ export interface GetSessionTokenResponse {
1332
1332
  */
1333
1333
  Credentials?: Credentials | undefined;
1334
1334
  }
1335
- /**
1336
- * @internal
1337
- */
1338
- export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1339
- /**
1340
- * @internal
1341
- */
1342
- export declare const AssumeRoleResponseFilterSensitiveLog: (obj: AssumeRoleResponse) => any;
1343
- /**
1344
- * @internal
1345
- */
1346
- export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
1347
- /**
1348
- * @internal
1349
- */
1350
- export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
1351
- /**
1352
- * @internal
1353
- */
1354
- export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
1355
- /**
1356
- * @internal
1357
- */
1358
- export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
1359
- /**
1360
- * @internal
1361
- */
1362
- export declare const AssumeRootResponseFilterSensitiveLog: (obj: AssumeRootResponse) => any;
1363
- /**
1364
- * @internal
1365
- */
1366
- export declare const GetDelegatedAccessTokenRequestFilterSensitiveLog: (obj: GetDelegatedAccessTokenRequest) => any;
1367
- /**
1368
- * @internal
1369
- */
1370
- export declare const GetDelegatedAccessTokenResponseFilterSensitiveLog: (obj: GetDelegatedAccessTokenResponse) => any;
1371
- /**
1372
- * @internal
1373
- */
1374
- export declare const GetFederationTokenResponseFilterSensitiveLog: (obj: GetFederationTokenResponse) => any;
1375
- /**
1376
- * @internal
1377
- */
1378
- export declare const GetSessionTokenResponseFilterSensitiveLog: (obj: GetSessionTokenResponse) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
41
42
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
43
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
43
44
  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;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
25
25
  signer: NoAuthSigner;
26
26
  })[];
27
27
  logger: import("@smithy/types").Logger;
28
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
28
29
  serviceId: string;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,55 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var accessKeySecretType: StaticSimpleSchema;
3
+ export declare var clientTokenType: StaticSimpleSchema;
4
+ export declare var SAMLAssertionType: StaticSimpleSchema;
5
+ export declare var tradeInTokenType: StaticSimpleSchema;
6
+ export declare var AssumedRoleUser: StaticStructureSchema;
7
+ export declare var AssumeRoleRequest: StaticStructureSchema;
8
+ export declare var AssumeRoleResponse: StaticStructureSchema;
9
+ export declare var AssumeRoleWithSAMLRequest: StaticStructureSchema;
10
+ export declare var AssumeRoleWithSAMLResponse: StaticStructureSchema;
11
+ export declare var AssumeRoleWithWebIdentityRequest: StaticStructureSchema;
12
+ export declare var AssumeRoleWithWebIdentityResponse: StaticStructureSchema;
13
+ export declare var AssumeRootRequest: StaticStructureSchema;
14
+ export declare var AssumeRootResponse: StaticStructureSchema;
15
+ export declare var Credentials: StaticStructureSchema;
16
+ export declare var DecodeAuthorizationMessageRequest: StaticStructureSchema;
17
+ export declare var DecodeAuthorizationMessageResponse: StaticStructureSchema;
18
+ export declare var ExpiredTokenException: StaticErrorSchema;
19
+ export declare var ExpiredTradeInTokenException: StaticErrorSchema;
20
+ export declare var FederatedUser: StaticStructureSchema;
21
+ export declare var GetAccessKeyInfoRequest: StaticStructureSchema;
22
+ export declare var GetAccessKeyInfoResponse: StaticStructureSchema;
23
+ export declare var GetCallerIdentityRequest: StaticStructureSchema;
24
+ export declare var GetCallerIdentityResponse: StaticStructureSchema;
25
+ export declare var GetDelegatedAccessTokenRequest: StaticStructureSchema;
26
+ export declare var GetDelegatedAccessTokenResponse: StaticStructureSchema;
27
+ export declare var GetFederationTokenRequest: StaticStructureSchema;
28
+ export declare var GetFederationTokenResponse: StaticStructureSchema;
29
+ export declare var GetSessionTokenRequest: StaticStructureSchema;
30
+ export declare var GetSessionTokenResponse: StaticStructureSchema;
31
+ export declare var IDPCommunicationErrorException: StaticErrorSchema;
32
+ export declare var IDPRejectedClaimException: StaticErrorSchema;
33
+ export declare var InvalidAuthorizationMessageException: StaticErrorSchema;
34
+ export declare var InvalidIdentityTokenException: StaticErrorSchema;
35
+ export declare var MalformedPolicyDocumentException: StaticErrorSchema;
36
+ export declare var PackedPolicyTooLargeException: StaticErrorSchema;
37
+ export declare var PolicyDescriptorType: StaticStructureSchema;
38
+ export declare var ProvidedContext: StaticStructureSchema;
39
+ export declare var RegionDisabledException: StaticErrorSchema;
40
+ export declare var Tag: StaticStructureSchema;
41
+ export declare var STSServiceException: StaticErrorSchema;
42
+ export declare var policyDescriptorListType: StaticListSchema;
43
+ export declare var ProvidedContextsListType: StaticListSchema;
44
+ export declare var tagKeyListType: number;
45
+ export declare var tagListType: StaticListSchema;
46
+ export declare var AssumeRole: StaticOperationSchema;
47
+ export declare var AssumeRoleWithSAML: StaticOperationSchema;
48
+ export declare var AssumeRoleWithWebIdentity: StaticOperationSchema;
49
+ export declare var AssumeRoot: StaticOperationSchema;
50
+ export declare var DecodeAuthorizationMessage: StaticOperationSchema;
51
+ export declare var GetAccessKeyInfo: StaticOperationSchema;
52
+ export declare var GetCallerIdentity: StaticOperationSchema;
53
+ export declare var GetDelegatedAccessToken: StaticOperationSchema;
54
+ export declare var GetFederationToken: StaticOperationSchema;
55
+ export declare var GetSessionToken: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -138,6 +141,7 @@ export interface ClientDefaults
138
141
  retryMode?: string | __Provider<string>;
139
142
  logger?: __Logger;
140
143
  extensions?: RuntimeExtension[];
144
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
141
145
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
142
146
  }
143
147
  export type STSClientConfigType = Partial<
@@ -206,34 +206,3 @@ export interface GetSessionTokenRequest {
206
206
  export interface GetSessionTokenResponse {
207
207
  Credentials?: Credentials | undefined;
208
208
  }
209
- export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
210
- export declare const AssumeRoleResponseFilterSensitiveLog: (
211
- obj: AssumeRoleResponse
212
- ) => any;
213
- export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (
214
- obj: AssumeRoleWithSAMLRequest
215
- ) => any;
216
- export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (
217
- obj: AssumeRoleWithSAMLResponse
218
- ) => any;
219
- export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
220
- obj: AssumeRoleWithWebIdentityRequest
221
- ) => any;
222
- export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
223
- obj: AssumeRoleWithWebIdentityResponse
224
- ) => any;
225
- export declare const AssumeRootResponseFilterSensitiveLog: (
226
- obj: AssumeRootResponse
227
- ) => any;
228
- export declare const GetDelegatedAccessTokenRequestFilterSensitiveLog: (
229
- obj: GetDelegatedAccessTokenRequest
230
- ) => any;
231
- export declare const GetDelegatedAccessTokenResponseFilterSensitiveLog: (
232
- obj: GetDelegatedAccessTokenResponse
233
- ) => any;
234
- export declare const GetFederationTokenResponseFilterSensitiveLog: (
235
- obj: GetFederationTokenResponse
236
- ) => any;
237
- export declare const GetSessionTokenResponseFilterSensitiveLog: (
238
- obj: GetSessionTokenResponse
239
- ) => any;
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
38
38
  profile?: string;
39
39
  logger: import("@smithy/types").Logger;
40
40
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ protocol: import("@smithy/types").ClientProtocol<
42
+ import("@smithy/types").HttpRequest,
43
+ import("@smithy/types").HttpResponse
44
+ >;
41
45
  customUserAgent?: string | import("@smithy/types").UserAgent;
42
46
  userAgentAppId?:
43
47
  | string
@@ -53,6 +53,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
53
53
  profile?: string;
54
54
  logger: import("@smithy/types").Logger;
55
55
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
+ protocol: import("@smithy/types").ClientProtocol<
57
+ import("@smithy/types").HttpRequest,
58
+ import("@smithy/types").HttpResponse
59
+ >;
56
60
  customUserAgent?: string | import("@smithy/types").UserAgent;
57
61
  retryStrategy?:
58
62
  | import("@smithy/types").RetryStrategy
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
37
37
  retryMode: string | import("@smithy/types").Provider<string>;
38
38
  logger: import("@smithy/types").Logger;
39
39
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ protocol: import("@smithy/types").ClientProtocol<
41
+ import("@smithy/types").HttpRequest,
42
+ import("@smithy/types").HttpResponse
43
+ >;
40
44
  defaultsMode:
41
45
  | import("@smithy/smithy-client").DefaultsMode
42
46
  | import("@smithy/types").Provider<
@@ -42,6 +42,10 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
42
42
  }
43
43
  )[];
44
44
  logger: import("@smithy/types").Logger;
45
+ protocol: import("@smithy/types").ClientProtocol<
46
+ import("@smithy/types").HttpRequest,
47
+ import("@smithy/types").HttpResponse
48
+ >;
45
49
  serviceId: string;
46
50
  urlParser: import("@smithy/types").UrlParser;
47
51
  utf8Decoder: import("@smithy/types").Decoder;