@aws-sdk/client-sts 3.934.0 → 3.936.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/README.md +8 -0
- package/dist-cjs/index.js +125 -0
- package/dist-es/STS.js +2 -0
- package/dist-es/commands/GetWebIdentityTokenCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +1 -109
- package/dist-es/schemas/schemas_0.js +74 -1
- package/dist-types/STS.d.ts +7 -0
- package/dist-types/STSClient.d.ts +3 -2
- package/dist-types/commands/AssumeRoleCommand.d.ts +2 -3
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -3
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -3
- package/dist-types/commands/AssumeRootCommand.d.ts +2 -3
- package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +19 -5
- package/dist-types/commands/GetFederationTokenCommand.d.ts +2 -3
- package/dist-types/commands/GetSessionTokenCommand.d.ts +2 -3
- package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +172 -0
- package/dist-types/models/models_0.d.ts +61 -137
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/STS.d.ts +17 -0
- package/dist-types/ts3.4/STSClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +101 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -71
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -287,3 +287,11 @@ GetSessionToken
|
|
|
287
287
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetSessionTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sts/Interface/GetSessionTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sts/Interface/GetSessionTokenCommandOutput/)
|
|
288
288
|
|
|
289
289
|
</details>
|
|
290
|
+
<details>
|
|
291
|
+
<summary>
|
|
292
|
+
GetWebIdentityToken
|
|
293
|
+
</summary>
|
|
294
|
+
|
|
295
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sts/command/GetWebIdentityTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sts/Interface/GetWebIdentityTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sts/Interface/GetWebIdentityTokenCommandOutput/)
|
|
296
|
+
|
|
297
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -123,6 +123,42 @@ let ExpiredTradeInTokenException$1 = class ExpiredTradeInTokenException extends
|
|
|
123
123
|
Object.setPrototypeOf(this, ExpiredTradeInTokenException.prototype);
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
|
+
let JWTPayloadSizeExceededException$1 = class JWTPayloadSizeExceededException extends STSServiceException$1 {
|
|
127
|
+
name = "JWTPayloadSizeExceededException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "JWTPayloadSizeExceededException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, JWTPayloadSizeExceededException.prototype);
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
let OutboundWebIdentityFederationDisabledException$1 = class OutboundWebIdentityFederationDisabledException extends STSServiceException$1 {
|
|
139
|
+
name = "OutboundWebIdentityFederationDisabledException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "OutboundWebIdentityFederationDisabledException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, OutboundWebIdentityFederationDisabledException.prototype);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
let SessionDurationEscalationException$1 = class SessionDurationEscalationException extends STSServiceException$1 {
|
|
151
|
+
name = "SessionDurationEscalationException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "SessionDurationEscalationException",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, SessionDurationEscalationException.prototype);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
126
162
|
|
|
127
163
|
const _A = "Arn";
|
|
128
164
|
const _AKI = "AccessKeyId";
|
|
@@ -172,15 +208,20 @@ const _GFTRe = "GetFederationTokenResponse";
|
|
|
172
208
|
const _GST = "GetSessionToken";
|
|
173
209
|
const _GSTR = "GetSessionTokenRequest";
|
|
174
210
|
const _GSTRe = "GetSessionTokenResponse";
|
|
211
|
+
const _GWIT = "GetWebIdentityToken";
|
|
212
|
+
const _GWITR = "GetWebIdentityTokenRequest";
|
|
213
|
+
const _GWITRe = "GetWebIdentityTokenResponse";
|
|
175
214
|
const _I = "Issuer";
|
|
176
215
|
const _IAME = "InvalidAuthorizationMessageException";
|
|
177
216
|
const _IDPCEE = "IDPCommunicationErrorException";
|
|
178
217
|
const _IDPRCE = "IDPRejectedClaimException";
|
|
179
218
|
const _IITE = "InvalidIdentityTokenException";
|
|
219
|
+
const _JWTPSEE = "JWTPayloadSizeExceededException";
|
|
180
220
|
const _K = "Key";
|
|
181
221
|
const _MPDE = "MalformedPolicyDocumentException";
|
|
182
222
|
const _N = "Name";
|
|
183
223
|
const _NQ = "NameQualifier";
|
|
224
|
+
const _OWIFDE = "OutboundWebIdentityFederationDisabledException";
|
|
184
225
|
const _P = "Policy";
|
|
185
226
|
const _PA = "PolicyArns";
|
|
186
227
|
const _PAr = "PrincipalArn";
|
|
@@ -197,9 +238,11 @@ const _RA = "RoleArn";
|
|
|
197
238
|
const _RDE = "RegionDisabledException";
|
|
198
239
|
const _RSN = "RoleSessionName";
|
|
199
240
|
const _S = "Subject";
|
|
241
|
+
const _SA = "SigningAlgorithm";
|
|
200
242
|
const _SAK = "SecretAccessKey";
|
|
201
243
|
const _SAMLA = "SAMLAssertion";
|
|
202
244
|
const _SAMLAT = "SAMLAssertionType";
|
|
245
|
+
const _SDEE = "SessionDurationEscalationException";
|
|
203
246
|
const _SFWIT = "SubjectFromWebIdentityToken";
|
|
204
247
|
const _SI = "SourceIdentity";
|
|
205
248
|
const _SN = "SerialNumber";
|
|
@@ -227,11 +270,13 @@ const _pDLT = "policyDescriptorListType";
|
|
|
227
270
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
228
271
|
const _tITT = "tradeInTokenType";
|
|
229
272
|
const _tLT = "tagListType";
|
|
273
|
+
const _wITT = "webIdentityTokenType";
|
|
230
274
|
const n0 = "com.amazonaws.sts";
|
|
231
275
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
232
276
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
233
277
|
var SAMLAssertionType = [0, n0, _SAMLAT, 8, 0];
|
|
234
278
|
var tradeInTokenType = [0, n0, _tITT, 8, 0];
|
|
279
|
+
var webIdentityTokenType = [0, n0, _wITT, 8, 0];
|
|
235
280
|
var AssumedRoleUser = [3, n0, _ARU, 0, [_ARI, _A], [0, 0]];
|
|
236
281
|
var AssumeRoleRequest = [
|
|
237
282
|
3,
|
|
@@ -365,6 +410,22 @@ var GetFederationTokenResponse = [
|
|
|
365
410
|
];
|
|
366
411
|
var GetSessionTokenRequest = [3, n0, _GSTR, 0, [_DS, _SN, _TC], [1, 0, 0]];
|
|
367
412
|
var GetSessionTokenResponse = [3, n0, _GSTRe, 0, [_C], [[() => Credentials, 0]]];
|
|
413
|
+
var GetWebIdentityTokenRequest = [
|
|
414
|
+
3,
|
|
415
|
+
n0,
|
|
416
|
+
_GWITR,
|
|
417
|
+
0,
|
|
418
|
+
[_Au, _DS, _SA, _T],
|
|
419
|
+
[64 | 0, 1, 0, () => tagListType],
|
|
420
|
+
];
|
|
421
|
+
var GetWebIdentityTokenResponse = [
|
|
422
|
+
3,
|
|
423
|
+
n0,
|
|
424
|
+
_GWITRe,
|
|
425
|
+
0,
|
|
426
|
+
[_WIT, _E],
|
|
427
|
+
[[() => webIdentityTokenType, 0], 4],
|
|
428
|
+
];
|
|
368
429
|
var IDPCommunicationErrorException = [
|
|
369
430
|
-3,
|
|
370
431
|
n0,
|
|
@@ -417,6 +478,19 @@ var InvalidIdentityTokenException = [
|
|
|
417
478
|
[0],
|
|
418
479
|
];
|
|
419
480
|
schema.TypeRegistry.for(n0).registerError(InvalidIdentityTokenException, InvalidIdentityTokenException$1);
|
|
481
|
+
var JWTPayloadSizeExceededException = [
|
|
482
|
+
-3,
|
|
483
|
+
n0,
|
|
484
|
+
_JWTPSEE,
|
|
485
|
+
{
|
|
486
|
+
[_e]: _c,
|
|
487
|
+
[_hE]: 400,
|
|
488
|
+
[_aQE]: [`JWTPayloadSizeExceededException`, 400],
|
|
489
|
+
},
|
|
490
|
+
[_m],
|
|
491
|
+
[0],
|
|
492
|
+
];
|
|
493
|
+
schema.TypeRegistry.for(n0).registerError(JWTPayloadSizeExceededException, JWTPayloadSizeExceededException$1);
|
|
420
494
|
var MalformedPolicyDocumentException = [
|
|
421
495
|
-3,
|
|
422
496
|
n0,
|
|
@@ -430,6 +504,19 @@ var MalformedPolicyDocumentException = [
|
|
|
430
504
|
[0],
|
|
431
505
|
];
|
|
432
506
|
schema.TypeRegistry.for(n0).registerError(MalformedPolicyDocumentException, MalformedPolicyDocumentException$1);
|
|
507
|
+
var OutboundWebIdentityFederationDisabledException = [
|
|
508
|
+
-3,
|
|
509
|
+
n0,
|
|
510
|
+
_OWIFDE,
|
|
511
|
+
{
|
|
512
|
+
[_e]: _c,
|
|
513
|
+
[_hE]: 403,
|
|
514
|
+
[_aQE]: [`OutboundWebIdentityFederationDisabledException`, 403],
|
|
515
|
+
},
|
|
516
|
+
[_m],
|
|
517
|
+
[0],
|
|
518
|
+
];
|
|
519
|
+
schema.TypeRegistry.for(n0).registerError(OutboundWebIdentityFederationDisabledException, OutboundWebIdentityFederationDisabledException$1);
|
|
433
520
|
var PackedPolicyTooLargeException = [
|
|
434
521
|
-3,
|
|
435
522
|
n0,
|
|
@@ -458,6 +545,19 @@ var RegionDisabledException = [
|
|
|
458
545
|
[0],
|
|
459
546
|
];
|
|
460
547
|
schema.TypeRegistry.for(n0).registerError(RegionDisabledException, RegionDisabledException$1);
|
|
548
|
+
var SessionDurationEscalationException = [
|
|
549
|
+
-3,
|
|
550
|
+
n0,
|
|
551
|
+
_SDEE,
|
|
552
|
+
{
|
|
553
|
+
[_e]: _c,
|
|
554
|
+
[_hE]: 403,
|
|
555
|
+
[_aQE]: [`SessionDurationEscalationException`, 403],
|
|
556
|
+
},
|
|
557
|
+
[_m],
|
|
558
|
+
[0],
|
|
559
|
+
];
|
|
560
|
+
schema.TypeRegistry.for(n0).registerError(SessionDurationEscalationException, SessionDurationEscalationException$1);
|
|
461
561
|
var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
462
562
|
var STSServiceException = [-3, _s, "STSServiceException", 0, [], []];
|
|
463
563
|
schema.TypeRegistry.for(_s).registerError(STSServiceException, STSServiceException$1);
|
|
@@ -530,6 +630,14 @@ var GetSessionToken = [
|
|
|
530
630
|
() => GetSessionTokenRequest,
|
|
531
631
|
() => GetSessionTokenResponse,
|
|
532
632
|
];
|
|
633
|
+
var GetWebIdentityToken = [
|
|
634
|
+
9,
|
|
635
|
+
n0,
|
|
636
|
+
_GWIT,
|
|
637
|
+
0,
|
|
638
|
+
() => GetWebIdentityTokenRequest,
|
|
639
|
+
() => GetWebIdentityTokenResponse,
|
|
640
|
+
];
|
|
533
641
|
|
|
534
642
|
class AssumeRoleCommand extends smithyClient.Command
|
|
535
643
|
.classBuilder()
|
|
@@ -651,6 +759,18 @@ class GetSessionTokenCommand extends smithyClient.Command
|
|
|
651
759
|
.build() {
|
|
652
760
|
}
|
|
653
761
|
|
|
762
|
+
class GetWebIdentityTokenCommand extends smithyClient.Command
|
|
763
|
+
.classBuilder()
|
|
764
|
+
.ep(EndpointParameters.commonParams)
|
|
765
|
+
.m(function (Command, cs, config, o) {
|
|
766
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
767
|
+
})
|
|
768
|
+
.s("AWSSecurityTokenServiceV20110615", "GetWebIdentityToken", {})
|
|
769
|
+
.n("STSClient", "GetWebIdentityTokenCommand")
|
|
770
|
+
.sc(GetWebIdentityToken)
|
|
771
|
+
.build() {
|
|
772
|
+
}
|
|
773
|
+
|
|
654
774
|
const commands = {
|
|
655
775
|
AssumeRoleCommand,
|
|
656
776
|
AssumeRoleWithSAMLCommand,
|
|
@@ -662,6 +782,7 @@ const commands = {
|
|
|
662
782
|
GetDelegatedAccessTokenCommand,
|
|
663
783
|
GetFederationTokenCommand,
|
|
664
784
|
GetSessionTokenCommand,
|
|
785
|
+
GetWebIdentityTokenCommand,
|
|
665
786
|
};
|
|
666
787
|
class STS extends STSClient.STSClient {
|
|
667
788
|
}
|
|
@@ -802,15 +923,19 @@ exports.GetCallerIdentityCommand = GetCallerIdentityCommand;
|
|
|
802
923
|
exports.GetDelegatedAccessTokenCommand = GetDelegatedAccessTokenCommand;
|
|
803
924
|
exports.GetFederationTokenCommand = GetFederationTokenCommand;
|
|
804
925
|
exports.GetSessionTokenCommand = GetSessionTokenCommand;
|
|
926
|
+
exports.GetWebIdentityTokenCommand = GetWebIdentityTokenCommand;
|
|
805
927
|
exports.IDPCommunicationErrorException = IDPCommunicationErrorException$1;
|
|
806
928
|
exports.IDPRejectedClaimException = IDPRejectedClaimException$1;
|
|
807
929
|
exports.InvalidAuthorizationMessageException = InvalidAuthorizationMessageException$1;
|
|
808
930
|
exports.InvalidIdentityTokenException = InvalidIdentityTokenException$1;
|
|
931
|
+
exports.JWTPayloadSizeExceededException = JWTPayloadSizeExceededException$1;
|
|
809
932
|
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException$1;
|
|
933
|
+
exports.OutboundWebIdentityFederationDisabledException = OutboundWebIdentityFederationDisabledException$1;
|
|
810
934
|
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException$1;
|
|
811
935
|
exports.RegionDisabledException = RegionDisabledException$1;
|
|
812
936
|
exports.STS = STS;
|
|
813
937
|
exports.STSServiceException = STSServiceException$1;
|
|
938
|
+
exports.SessionDurationEscalationException = SessionDurationEscalationException$1;
|
|
814
939
|
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
815
940
|
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
816
941
|
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
package/dist-es/STS.js
CHANGED
|
@@ -9,6 +9,7 @@ import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand";
|
|
|
9
9
|
import { GetDelegatedAccessTokenCommand, } from "./commands/GetDelegatedAccessTokenCommand";
|
|
10
10
|
import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand";
|
|
11
11
|
import { GetSessionTokenCommand, } from "./commands/GetSessionTokenCommand";
|
|
12
|
+
import { GetWebIdentityTokenCommand, } from "./commands/GetWebIdentityTokenCommand";
|
|
12
13
|
import { STSClient } from "./STSClient";
|
|
13
14
|
const commands = {
|
|
14
15
|
AssumeRoleCommand,
|
|
@@ -21,6 +22,7 @@ const commands = {
|
|
|
21
22
|
GetDelegatedAccessTokenCommand,
|
|
22
23
|
GetFederationTokenCommand,
|
|
23
24
|
GetSessionTokenCommand,
|
|
25
|
+
GetWebIdentityTokenCommand,
|
|
24
26
|
};
|
|
25
27
|
export class STS extends STSClient {
|
|
26
28
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetWebIdentityToken } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetWebIdentityTokenCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSSecurityTokenServiceV20110615", "GetWebIdentityToken", {})
|
|
13
|
+
.n("STSClient", "GetWebIdentityTokenCommand")
|
|
14
|
+
.sc(GetWebIdentityToken)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { STSServiceException as __BaseException } from "./STSServiceException";
|
|
2
|
+
export class ExpiredTokenException extends __BaseException {
|
|
3
|
+
name = "ExpiredTokenException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ExpiredTokenException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class MalformedPolicyDocumentException extends __BaseException {
|
|
15
|
+
name = "MalformedPolicyDocumentException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "MalformedPolicyDocumentException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class PackedPolicyTooLargeException extends __BaseException {
|
|
27
|
+
name = "PackedPolicyTooLargeException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "PackedPolicyTooLargeException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class RegionDisabledException extends __BaseException {
|
|
39
|
+
name = "RegionDisabledException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "RegionDisabledException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class IDPRejectedClaimException extends __BaseException {
|
|
51
|
+
name = "IDPRejectedClaimException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "IDPRejectedClaimException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export class InvalidIdentityTokenException extends __BaseException {
|
|
63
|
+
name = "InvalidIdentityTokenException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "InvalidIdentityTokenException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class IDPCommunicationErrorException extends __BaseException {
|
|
75
|
+
name = "IDPCommunicationErrorException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "IDPCommunicationErrorException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
export class InvalidAuthorizationMessageException extends __BaseException {
|
|
87
|
+
name = "InvalidAuthorizationMessageException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "InvalidAuthorizationMessageException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ExpiredTradeInTokenException extends __BaseException {
|
|
99
|
+
name = "ExpiredTradeInTokenException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ExpiredTradeInTokenException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ExpiredTradeInTokenException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export class JWTPayloadSizeExceededException extends __BaseException {
|
|
111
|
+
name = "JWTPayloadSizeExceededException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "JWTPayloadSizeExceededException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
Object.setPrototypeOf(this, JWTPayloadSizeExceededException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
export class OutboundWebIdentityFederationDisabledException extends __BaseException {
|
|
123
|
+
name = "OutboundWebIdentityFederationDisabledException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "OutboundWebIdentityFederationDisabledException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, OutboundWebIdentityFederationDisabledException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
export class SessionDurationEscalationException extends __BaseException {
|
|
135
|
+
name = "SessionDurationEscalationException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "SessionDurationEscalationException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
Object.setPrototypeOf(this, SessionDurationEscalationException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -1,109 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class ExpiredTokenException extends __BaseException {
|
|
3
|
-
name = "ExpiredTokenException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "ExpiredTokenException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class MalformedPolicyDocumentException extends __BaseException {
|
|
15
|
-
name = "MalformedPolicyDocumentException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
constructor(opts) {
|
|
18
|
-
super({
|
|
19
|
-
name: "MalformedPolicyDocumentException",
|
|
20
|
-
$fault: "client",
|
|
21
|
-
...opts,
|
|
22
|
-
});
|
|
23
|
-
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
export class PackedPolicyTooLargeException extends __BaseException {
|
|
27
|
-
name = "PackedPolicyTooLargeException";
|
|
28
|
-
$fault = "client";
|
|
29
|
-
constructor(opts) {
|
|
30
|
-
super({
|
|
31
|
-
name: "PackedPolicyTooLargeException",
|
|
32
|
-
$fault: "client",
|
|
33
|
-
...opts,
|
|
34
|
-
});
|
|
35
|
-
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export class RegionDisabledException extends __BaseException {
|
|
39
|
-
name = "RegionDisabledException";
|
|
40
|
-
$fault = "client";
|
|
41
|
-
constructor(opts) {
|
|
42
|
-
super({
|
|
43
|
-
name: "RegionDisabledException",
|
|
44
|
-
$fault: "client",
|
|
45
|
-
...opts,
|
|
46
|
-
});
|
|
47
|
-
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
export class IDPRejectedClaimException extends __BaseException {
|
|
51
|
-
name = "IDPRejectedClaimException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "IDPRejectedClaimException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
export class InvalidIdentityTokenException extends __BaseException {
|
|
63
|
-
name = "InvalidIdentityTokenException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "InvalidIdentityTokenException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class IDPCommunicationErrorException extends __BaseException {
|
|
75
|
-
name = "IDPCommunicationErrorException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "IDPCommunicationErrorException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export class InvalidAuthorizationMessageException extends __BaseException {
|
|
87
|
-
name = "InvalidAuthorizationMessageException";
|
|
88
|
-
$fault = "client";
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "InvalidAuthorizationMessageException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, InvalidAuthorizationMessageException.prototype);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
export class ExpiredTradeInTokenException extends __BaseException {
|
|
99
|
-
name = "ExpiredTradeInTokenException";
|
|
100
|
-
$fault = "client";
|
|
101
|
-
constructor(opts) {
|
|
102
|
-
super({
|
|
103
|
-
name: "ExpiredTradeInTokenException",
|
|
104
|
-
$fault: "client",
|
|
105
|
-
...opts,
|
|
106
|
-
});
|
|
107
|
-
Object.setPrototypeOf(this, ExpiredTradeInTokenException.prototype);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
1
|
+
export {};
|