@aws-sdk/client-sts 3.1148.0 → 3.1150.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 CHANGED
@@ -264,11 +264,12 @@ const commonParams = {
264
264
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
265
265
  };
266
266
 
267
- var version = "3.1147.0";
267
+ var version = "3.1149.0";
268
268
  var packageInfo = {
269
269
  version: version};
270
270
 
271
271
  class STSServiceException extends ServiceException {
272
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException";
272
273
  constructor(options) {
273
274
  super(options);
274
275
  Object.setPrototypeOf(this, STSServiceException.prototype);
@@ -276,6 +277,7 @@ class STSServiceException extends ServiceException {
276
277
  }
277
278
 
278
279
  class ExpiredTokenException extends STSServiceException {
280
+ static shapeId = "com.amazonaws.sts#ExpiredTokenException";
279
281
  name = "ExpiredTokenException";
280
282
  $fault = "client";
281
283
  constructor(opts) {
@@ -288,6 +290,7 @@ class ExpiredTokenException extends STSServiceException {
288
290
  }
289
291
  }
290
292
  class MalformedPolicyDocumentException extends STSServiceException {
293
+ static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException";
291
294
  name = "MalformedPolicyDocumentException";
292
295
  $fault = "client";
293
296
  constructor(opts) {
@@ -300,6 +303,7 @@ class MalformedPolicyDocumentException extends STSServiceException {
300
303
  }
301
304
  }
302
305
  class PackedPolicyTooLargeException extends STSServiceException {
306
+ static shapeId = "com.amazonaws.sts#PackedPolicyTooLargeException";
303
307
  name = "PackedPolicyTooLargeException";
304
308
  $fault = "client";
305
309
  constructor(opts) {
@@ -312,6 +316,7 @@ class PackedPolicyTooLargeException extends STSServiceException {
312
316
  }
313
317
  }
314
318
  class RegionDisabledException extends STSServiceException {
319
+ static shapeId = "com.amazonaws.sts#RegionDisabledException";
315
320
  name = "RegionDisabledException";
316
321
  $fault = "client";
317
322
  constructor(opts) {
@@ -324,6 +329,7 @@ class RegionDisabledException extends STSServiceException {
324
329
  }
325
330
  }
326
331
  class IDPRejectedClaimException extends STSServiceException {
332
+ static shapeId = "com.amazonaws.sts#IDPRejectedClaimException";
327
333
  name = "IDPRejectedClaimException";
328
334
  $fault = "client";
329
335
  constructor(opts) {
@@ -336,6 +342,7 @@ class IDPRejectedClaimException extends STSServiceException {
336
342
  }
337
343
  }
338
344
  class InvalidIdentityTokenException extends STSServiceException {
345
+ static shapeId = "com.amazonaws.sts#InvalidIdentityTokenException";
339
346
  name = "InvalidIdentityTokenException";
340
347
  $fault = "client";
341
348
  constructor(opts) {
@@ -348,6 +355,7 @@ class InvalidIdentityTokenException extends STSServiceException {
348
355
  }
349
356
  }
350
357
  class IDPCommunicationErrorException extends STSServiceException {
358
+ static shapeId = "com.amazonaws.sts#IDPCommunicationErrorException";
351
359
  name = "IDPCommunicationErrorException";
352
360
  $fault = "client";
353
361
  $retryable = {};
@@ -361,6 +369,7 @@ class IDPCommunicationErrorException extends STSServiceException {
361
369
  }
362
370
  }
363
371
  class InvalidAuthorizationMessageException extends STSServiceException {
372
+ static shapeId = "com.amazonaws.sts#InvalidAuthorizationMessageException";
364
373
  name = "InvalidAuthorizationMessageException";
365
374
  $fault = "client";
366
375
  constructor(opts) {
@@ -373,6 +382,7 @@ class InvalidAuthorizationMessageException extends STSServiceException {
373
382
  }
374
383
  }
375
384
  class ExpiredTradeInTokenException extends STSServiceException {
385
+ static shapeId = "com.amazonaws.sts#ExpiredTradeInTokenException";
376
386
  name = "ExpiredTradeInTokenException";
377
387
  $fault = "client";
378
388
  constructor(opts) {
@@ -385,6 +395,7 @@ class ExpiredTradeInTokenException extends STSServiceException {
385
395
  }
386
396
  }
387
397
  class JWTPayloadSizeExceededException extends STSServiceException {
398
+ static shapeId = "com.amazonaws.sts#JWTPayloadSizeExceededException";
388
399
  name = "JWTPayloadSizeExceededException";
389
400
  $fault = "client";
390
401
  constructor(opts) {
@@ -397,6 +408,7 @@ class JWTPayloadSizeExceededException extends STSServiceException {
397
408
  }
398
409
  }
399
410
  class OutboundWebIdentityFederationDisabledException extends STSServiceException {
411
+ static shapeId = "com.amazonaws.sts#OutboundWebIdentityFederationDisabledException";
400
412
  name = "OutboundWebIdentityFederationDisabledException";
401
413
  $fault = "client";
402
414
  constructor(opts) {
@@ -409,6 +421,7 @@ class OutboundWebIdentityFederationDisabledException extends STSServiceException
409
421
  }
410
422
  }
411
423
  class SessionDurationEscalationException extends STSServiceException {
424
+ static shapeId = "com.amazonaws.sts#SessionDurationEscalationException";
412
425
  name = "SessionDurationEscalationException";
413
426
  $fault = "client";
414
427
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class STSServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sts#STSServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, STSServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { STSServiceException as __BaseException } from "./STSServiceException";
2
2
  export class ExpiredTokenException extends __BaseException {
3
+ static shapeId = "com.amazonaws.sts#ExpiredTokenException";
3
4
  name = "ExpiredTokenException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class ExpiredTokenException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class MalformedPolicyDocumentException extends __BaseException {
16
+ static shapeId = "com.amazonaws.sts#MalformedPolicyDocumentException";
15
17
  name = "MalformedPolicyDocumentException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class MalformedPolicyDocumentException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class PackedPolicyTooLargeException extends __BaseException {
29
+ static shapeId = "com.amazonaws.sts#PackedPolicyTooLargeException";
27
30
  name = "PackedPolicyTooLargeException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class PackedPolicyTooLargeException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class RegionDisabledException extends __BaseException {
42
+ static shapeId = "com.amazonaws.sts#RegionDisabledException";
39
43
  name = "RegionDisabledException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class RegionDisabledException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class IDPRejectedClaimException extends __BaseException {
55
+ static shapeId = "com.amazonaws.sts#IDPRejectedClaimException";
51
56
  name = "IDPRejectedClaimException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -60,6 +65,7 @@ export class IDPRejectedClaimException extends __BaseException {
60
65
  }
61
66
  }
62
67
  export class InvalidIdentityTokenException extends __BaseException {
68
+ static shapeId = "com.amazonaws.sts#InvalidIdentityTokenException";
63
69
  name = "InvalidIdentityTokenException";
64
70
  $fault = "client";
65
71
  constructor(opts) {
@@ -72,6 +78,7 @@ export class InvalidIdentityTokenException extends __BaseException {
72
78
  }
73
79
  }
74
80
  export class IDPCommunicationErrorException extends __BaseException {
81
+ static shapeId = "com.amazonaws.sts#IDPCommunicationErrorException";
75
82
  name = "IDPCommunicationErrorException";
76
83
  $fault = "client";
77
84
  $retryable = {};
@@ -85,6 +92,7 @@ export class IDPCommunicationErrorException extends __BaseException {
85
92
  }
86
93
  }
87
94
  export class InvalidAuthorizationMessageException extends __BaseException {
95
+ static shapeId = "com.amazonaws.sts#InvalidAuthorizationMessageException";
88
96
  name = "InvalidAuthorizationMessageException";
89
97
  $fault = "client";
90
98
  constructor(opts) {
@@ -97,6 +105,7 @@ export class InvalidAuthorizationMessageException extends __BaseException {
97
105
  }
98
106
  }
99
107
  export class ExpiredTradeInTokenException extends __BaseException {
108
+ static shapeId = "com.amazonaws.sts#ExpiredTradeInTokenException";
100
109
  name = "ExpiredTradeInTokenException";
101
110
  $fault = "client";
102
111
  constructor(opts) {
@@ -109,6 +118,7 @@ export class ExpiredTradeInTokenException extends __BaseException {
109
118
  }
110
119
  }
111
120
  export class JWTPayloadSizeExceededException extends __BaseException {
121
+ static shapeId = "com.amazonaws.sts#JWTPayloadSizeExceededException";
112
122
  name = "JWTPayloadSizeExceededException";
113
123
  $fault = "client";
114
124
  constructor(opts) {
@@ -121,6 +131,7 @@ export class JWTPayloadSizeExceededException extends __BaseException {
121
131
  }
122
132
  }
123
133
  export class OutboundWebIdentityFederationDisabledException extends __BaseException {
134
+ static shapeId = "com.amazonaws.sts#OutboundWebIdentityFederationDisabledException";
124
135
  name = "OutboundWebIdentityFederationDisabledException";
125
136
  $fault = "client";
126
137
  constructor(opts) {
@@ -133,6 +144,7 @@ export class OutboundWebIdentityFederationDisabledException extends __BaseExcept
133
144
  }
134
145
  }
135
146
  export class SessionDurationEscalationException extends __BaseException {
147
+ static shapeId = "com.amazonaws.sts#SessionDurationEscalationException";
136
148
  name = "SessionDurationEscalationException";
137
149
  $fault = "client";
138
150
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from STS service.
8
8
  */
9
9
  export declare class STSServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -6,6 +6,7 @@ import { STSServiceException as __BaseException } from "./STSServiceException";
6
6
  * @public
7
7
  */
8
8
  export declare class ExpiredTokenException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "ExpiredTokenException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -19,6 +20,7 @@ export declare class ExpiredTokenException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class MalformedPolicyDocumentException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "MalformedPolicyDocumentException";
23
25
  readonly $fault: "client";
24
26
  /**
@@ -39,6 +41,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
39
41
  * @public
40
42
  */
41
43
  export declare class PackedPolicyTooLargeException extends __BaseException {
44
+ static readonly shapeId: string;
42
45
  readonly name: "PackedPolicyTooLargeException";
43
46
  readonly $fault: "client";
44
47
  /**
@@ -54,6 +57,7 @@ export declare class PackedPolicyTooLargeException extends __BaseException {
54
57
  * @public
55
58
  */
56
59
  export declare class RegionDisabledException extends __BaseException {
60
+ static readonly shapeId: string;
57
61
  readonly name: "RegionDisabledException";
58
62
  readonly $fault: "client";
59
63
  /**
@@ -69,6 +73,7 @@ export declare class RegionDisabledException extends __BaseException {
69
73
  * @public
70
74
  */
71
75
  export declare class IDPRejectedClaimException extends __BaseException {
76
+ static readonly shapeId: string;
72
77
  readonly name: "IDPRejectedClaimException";
73
78
  readonly $fault: "client";
74
79
  /**
@@ -82,6 +87,7 @@ export declare class IDPRejectedClaimException extends __BaseException {
82
87
  * @public
83
88
  */
84
89
  export declare class InvalidIdentityTokenException extends __BaseException {
90
+ static readonly shapeId: string;
85
91
  readonly name: "InvalidIdentityTokenException";
86
92
  readonly $fault: "client";
87
93
  /**
@@ -98,6 +104,7 @@ export declare class InvalidIdentityTokenException extends __BaseException {
98
104
  * @public
99
105
  */
100
106
  export declare class IDPCommunicationErrorException extends __BaseException {
107
+ static readonly shapeId: string;
101
108
  readonly name: "IDPCommunicationErrorException";
102
109
  readonly $fault: "client";
103
110
  $retryable: {};
@@ -113,6 +120,7 @@ export declare class IDPCommunicationErrorException extends __BaseException {
113
120
  * @public
114
121
  */
115
122
  export declare class InvalidAuthorizationMessageException extends __BaseException {
123
+ static readonly shapeId: string;
116
124
  readonly name: "InvalidAuthorizationMessageException";
117
125
  readonly $fault: "client";
118
126
  /**
@@ -126,6 +134,7 @@ export declare class InvalidAuthorizationMessageException extends __BaseExceptio
126
134
  * @public
127
135
  */
128
136
  export declare class ExpiredTradeInTokenException extends __BaseException {
137
+ static readonly shapeId: string;
129
138
  readonly name: "ExpiredTradeInTokenException";
130
139
  readonly $fault: "client";
131
140
  /**
@@ -138,6 +147,7 @@ export declare class ExpiredTradeInTokenException extends __BaseException {
138
147
  * @public
139
148
  */
140
149
  export declare class JWTPayloadSizeExceededException extends __BaseException {
150
+ static readonly shapeId: string;
141
151
  readonly name: "JWTPayloadSizeExceededException";
142
152
  readonly $fault: "client";
143
153
  /**
@@ -151,6 +161,7 @@ export declare class JWTPayloadSizeExceededException extends __BaseException {
151
161
  * @public
152
162
  */
153
163
  export declare class OutboundWebIdentityFederationDisabledException extends __BaseException {
164
+ static readonly shapeId: string;
154
165
  readonly name: "OutboundWebIdentityFederationDisabledException";
155
166
  readonly $fault: "client";
156
167
  /**
@@ -164,6 +175,7 @@ export declare class OutboundWebIdentityFederationDisabledException extends __Ba
164
175
  * @public
165
176
  */
166
177
  export declare class SessionDurationEscalationException extends __BaseException {
178
+ static readonly shapeId: string;
167
179
  readonly name: "SessionDurationEscalationException";
168
180
  readonly $fault: "client";
169
181
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class STSServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,57 +1,68 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { STSServiceException as __BaseException } from "./STSServiceException";
3
3
  export declare class ExpiredTokenException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "ExpiredTokenException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
7
8
  }
8
9
  export declare class MalformedPolicyDocumentException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "MalformedPolicyDocumentException";
10
12
  readonly $fault: "client";
11
13
  constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
12
14
  }
13
15
  export declare class PackedPolicyTooLargeException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "PackedPolicyTooLargeException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
17
20
  }
18
21
  export declare class RegionDisabledException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "RegionDisabledException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
22
26
  }
23
27
  export declare class IDPRejectedClaimException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "IDPRejectedClaimException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
27
32
  }
28
33
  export declare class InvalidIdentityTokenException extends __BaseException {
34
+ static readonly shapeId: string;
29
35
  readonly name: "InvalidIdentityTokenException";
30
36
  readonly $fault: "client";
31
37
  constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
32
38
  }
33
39
  export declare class IDPCommunicationErrorException extends __BaseException {
40
+ static readonly shapeId: string;
34
41
  readonly name: "IDPCommunicationErrorException";
35
42
  readonly $fault: "client";
36
43
  $retryable: {};
37
44
  constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>);
38
45
  }
39
46
  export declare class InvalidAuthorizationMessageException extends __BaseException {
47
+ static readonly shapeId: string;
40
48
  readonly name: "InvalidAuthorizationMessageException";
41
49
  readonly $fault: "client";
42
50
  constructor(opts: __ExceptionOptionType<InvalidAuthorizationMessageException, __BaseException>);
43
51
  }
44
52
  export declare class ExpiredTradeInTokenException extends __BaseException {
53
+ static readonly shapeId: string;
45
54
  readonly name: "ExpiredTradeInTokenException";
46
55
  readonly $fault: "client";
47
56
  constructor(opts: __ExceptionOptionType<ExpiredTradeInTokenException, __BaseException>);
48
57
  }
49
58
  export declare class JWTPayloadSizeExceededException extends __BaseException {
59
+ static readonly shapeId: string;
50
60
  readonly name: "JWTPayloadSizeExceededException";
51
61
  readonly $fault: "client";
52
62
  constructor(opts: __ExceptionOptionType<JWTPayloadSizeExceededException, __BaseException>);
53
63
  }
54
64
  export declare class OutboundWebIdentityFederationDisabledException extends __BaseException {
65
+ static readonly shapeId: string;
55
66
  readonly name: "OutboundWebIdentityFederationDisabledException";
56
67
  readonly $fault: "client";
57
68
  constructor(
@@ -59,6 +70,7 @@ export declare class OutboundWebIdentityFederationDisabledException extends __Ba
59
70
  );
60
71
  }
61
72
  export declare class SessionDurationEscalationException extends __BaseException {
73
+ static readonly shapeId: string;
62
74
  readonly name: "SessionDurationEscalationException";
63
75
  readonly $fault: "client";
64
76
  constructor(opts: __ExceptionOptionType<SessionDurationEscalationException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",
6
6
  "license": "Apache-2.0",
@@ -52,11 +52,11 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.1",
56
- "@aws-sdk/credential-provider-node": "^3.972.84",
57
- "@aws-sdk/signature-v4-multi-region": "^3.996.47",
55
+ "@aws-sdk/core": "^3.978.3",
56
+ "@aws-sdk/credential-provider-node": "^3.972.86",
57
+ "@aws-sdk/signature-v4-multi-region": "^3.996.48",
58
58
  "@aws-sdk/types": "^3.974.6",
59
- "@smithy/core": "^3.35.0",
59
+ "@smithy/core": "^3.35.2",
60
60
  "@smithy/fetch-http-handler": "^5.8.0",
61
61
  "@smithy/node-http-handler": "^4.12.1",
62
62
  "@smithy/types": "^4.19.0",