@cdk8s/awscdk-resolver 0.0.749 → 0.0.750
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -4
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +66 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +48 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +12 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +20 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +22 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +109 -53
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/package.json +4 -4
|
@@ -19,6 +19,7 @@ export declare const OAuth2ErrorCode: {
|
|
|
19
19
|
* The request is missing a required parameter, includes an invalid parameter value, or is otherwise malformed.
|
|
20
20
|
*/
|
|
21
21
|
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
22
|
+
readonly OAUTH_INVALID_CLIENT: "invalid_client";
|
|
22
23
|
readonly OAUTH_INVALID_GRANT: "invalid_grant";
|
|
23
24
|
readonly OAUTH_INVALID_REQUEST: "invalid_request";
|
|
24
25
|
readonly OAUTH_INVALID_SCOPE: "invalid_scope";
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export interface CreateOAuth2TokenWithIAMRequest {
|
|
|
151
151
|
*/
|
|
152
152
|
export interface CreateOAuth2TokenWithIAMResponse {
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* The access token containing principal identity, resource scope, and session metadata.
|
|
155
155
|
* @public
|
|
156
156
|
*/
|
|
157
157
|
accessToken: string | undefined;
|
|
@@ -161,7 +161,7 @@ export interface CreateOAuth2TokenWithIAMResponse {
|
|
|
161
161
|
*/
|
|
162
162
|
tokenType: string | undefined;
|
|
163
163
|
/**
|
|
164
|
-
*
|
|
164
|
+
* The token lifetime in seconds. Value is the minimum of the caller's session validity and 1 hour (3600 seconds).
|
|
165
165
|
* @public
|
|
166
166
|
*/
|
|
167
167
|
expiresIn: number | undefined;
|
|
@@ -182,19 +182,24 @@ declare const AssumeRoleCommand_base: {
|
|
|
182
182
|
* <p>The web identity token that was passed is expired or is not valid. Get a new identity
|
|
183
183
|
* token from the identity provider and then retry the request.</p>
|
|
184
184
|
*
|
|
185
|
+
* @throws {@link InvalidContextAssertionException} (client fault)
|
|
186
|
+
* <p>The request was rejected because the context assertion that was provided is invalid.
|
|
187
|
+
* This can happen if the context assertion supplied in the <code>ProvidedContexts</code>
|
|
188
|
+
* parameter is malformed, has expired, or does not match a trusted context provider.</p>
|
|
189
|
+
*
|
|
185
190
|
* @throws {@link MalformedPolicyDocumentException} (client fault)
|
|
186
191
|
* <p>The request was rejected because the policy document was malformed. The error message
|
|
187
192
|
* describes the specific error.</p>
|
|
188
193
|
*
|
|
189
194
|
* @throws {@link PackedPolicyTooLargeException} (client fault)
|
|
190
|
-
* <p>The request was rejected because the
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
195
|
+
* <p>The request was rejected because the session token exceeded the maximum allowed size.
|
|
196
|
+
* The error message reports the session token size and the maximum allowed size, both in
|
|
197
|
+
* bytes. Session policies and session tags add to the session token size. For more
|
|
198
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
195
199
|
* the <i>IAM User Guide</i>.</p>
|
|
196
|
-
* <p>You
|
|
197
|
-
* session tag limits.
|
|
200
|
+
* <p>You might receive this error even though you meet the individual session policy and
|
|
201
|
+
* session tag limits. Monitor <code>SessionTokenUtilization</code> to track how close the
|
|
202
|
+
* session token is to the maximum allowed size. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
|
|
198
203
|
* Guide</i>.</p>
|
|
199
204
|
*
|
|
200
205
|
* @throws {@link RegionDisabledException} (client fault)
|
|
@@ -94,13 +94,6 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
94
94
|
* characters and the values can’t exceed 256 characters. For these and additional limits, see
|
|
95
95
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
96
96
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
97
|
-
* <note>
|
|
98
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
99
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
100
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
101
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
102
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
103
|
-
* </note>
|
|
104
97
|
* <p>You can pass a session tag with the same key as a tag that is attached to the role. When
|
|
105
98
|
* you do, the session tag overrides the role tag with the same key.</p>
|
|
106
99
|
* <p>An administrator must grant you the permissions necessary to pass session tags. The
|
|
@@ -184,6 +177,19 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
184
177
|
* // SourceIdentity: "STRING_VALUE",
|
|
185
178
|
* // SessionTokenUtilization: Number("int"),
|
|
186
179
|
* // SessionTokenSize: Number("int"),
|
|
180
|
+
* // TrustedIdentityPropagationContext: { // TrustedIdentityPropagationContext
|
|
181
|
+
* // OriginIdentity: { // OriginIdentity
|
|
182
|
+
* // Subject: "STRING_VALUE",
|
|
183
|
+
* // SubjectType: "STRING_VALUE",
|
|
184
|
+
* // Issuer: "STRING_VALUE",
|
|
185
|
+
* // FederatedProviderArn: "STRING_VALUE",
|
|
186
|
+
* // },
|
|
187
|
+
* // TransactionContext: { // TransactionContext
|
|
188
|
+
* // IdentityProvider: { // transactionContextIdentityProviderMapType
|
|
189
|
+
* // "<keys>": "STRING_VALUE",
|
|
190
|
+
* // },
|
|
191
|
+
* // },
|
|
192
|
+
* // },
|
|
187
193
|
* // };
|
|
188
194
|
*
|
|
189
195
|
* ```
|
|
@@ -220,14 +226,14 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
|
|
|
220
226
|
* describes the specific error.</p>
|
|
221
227
|
*
|
|
222
228
|
* @throws {@link PackedPolicyTooLargeException} (client fault)
|
|
223
|
-
* <p>The request was rejected because the
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
* tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
229
|
+
* <p>The request was rejected because the session token exceeded the maximum allowed size.
|
|
230
|
+
* The error message reports the session token size and the maximum allowed size, both in
|
|
231
|
+
* bytes. Session policies and session tags add to the session token size. For more
|
|
232
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
228
233
|
* the <i>IAM User Guide</i>.</p>
|
|
229
|
-
* <p>You
|
|
230
|
-
* session tag limits.
|
|
234
|
+
* <p>You might receive this error even though you meet the individual session policy and
|
|
235
|
+
* session tag limits. Monitor <code>SessionTokenUtilization</code> to track how close the
|
|
236
|
+
* session token is to the maximum allowed size. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
|
|
231
237
|
* Guide</i>.</p>
|
|
232
238
|
*
|
|
233
239
|
* @throws {@link RegionDisabledException} (client fault)
|
|
@@ -14,6 +14,21 @@ export declare class ExpiredTokenException extends __BaseException {
|
|
|
14
14
|
*/
|
|
15
15
|
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request was rejected because the context assertion that was provided is invalid.
|
|
19
|
+
* This can happen if the context assertion supplied in the <code>ProvidedContexts</code>
|
|
20
|
+
* parameter is malformed, has expired, or does not match a trusted context provider.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare class InvalidContextAssertionException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
25
|
+
readonly name: "InvalidContextAssertionException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<InvalidContextAssertionException, __BaseException>);
|
|
31
|
+
}
|
|
17
32
|
/**
|
|
18
33
|
* <p>The request was rejected because the policy document was malformed. The error message
|
|
19
34
|
* describes the specific error.</p>
|
|
@@ -29,14 +44,14 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
29
44
|
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
30
45
|
}
|
|
31
46
|
/**
|
|
32
|
-
* <p>The request was rejected because the
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
47
|
+
* <p>The request was rejected because the session token exceeded the maximum allowed size.
|
|
48
|
+
* The error message reports the session token size and the maximum allowed size, both in
|
|
49
|
+
* bytes. Session policies and session tags add to the session token size. For more
|
|
50
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
|
|
37
51
|
* the <i>IAM User Guide</i>.</p>
|
|
38
|
-
* <p>You
|
|
39
|
-
* session tag limits.
|
|
52
|
+
* <p>You might receive this error even though you meet the individual session policy and
|
|
53
|
+
* session tag limits. Monitor <code>SessionTokenUtilization</code> to track how close the
|
|
54
|
+
* session token is to the maximum allowed size. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity Character Limits</a> in the <i>IAM User
|
|
40
55
|
* Guide</i>.</p>
|
|
41
56
|
* @public
|
|
42
57
|
*/
|
|
@@ -111,13 +111,6 @@ export interface AssumeRoleRequest {
|
|
|
111
111
|
* plaintext that you use for both inline and managed session policies can't exceed 2,048
|
|
112
112
|
* characters. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
113
113
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
114
|
-
* <note>
|
|
115
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
116
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
117
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
118
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
119
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
120
|
-
* </note>
|
|
121
114
|
* <p>Passing policies to this operation returns new
|
|
122
115
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
123
116
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
@@ -144,13 +137,6 @@ export interface AssumeRoleRequest {
|
|
|
144
137
|
* character to the end of the valid character list (\u0020 through \u00FF). It can also
|
|
145
138
|
* include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
|
|
146
139
|
* characters.</p>
|
|
147
|
-
* <note>
|
|
148
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
149
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
150
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
151
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
152
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
153
|
-
* </note>
|
|
154
140
|
* <p>For more information about role session permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
|
|
155
141
|
* policies</a>.</p>
|
|
156
142
|
* @public
|
|
@@ -191,13 +177,6 @@ export interface AssumeRoleRequest {
|
|
|
191
177
|
* tag keys can’t exceed 128 characters, and the values can’t exceed 256 characters. For these
|
|
192
178
|
* and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
|
|
193
179
|
* and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
|
|
194
|
-
* <note>
|
|
195
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
196
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
197
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
198
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
199
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
200
|
-
* </note>
|
|
201
180
|
* <p>You can pass a session tag with the same key as a tag that is already attached to the
|
|
202
181
|
* role. When you do, session tags override a role tag with the same key. </p>
|
|
203
182
|
* <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
|
|
@@ -299,9 +278,10 @@ export interface AssumeRoleRequest {
|
|
|
299
278
|
*/
|
|
300
279
|
ProvidedContexts?: ProvidedContext[] | undefined;
|
|
301
280
|
/**
|
|
302
|
-
* The minimum size, in bytes, of the session token that STS issues for the request. STS
|
|
303
|
-
*
|
|
304
|
-
*
|
|
281
|
+
* <p>The minimum size, in bytes, of the session token that STS issues for the request. STS
|
|
282
|
+
* increases the session token to at least this size, regardless of its actual content. The
|
|
283
|
+
* value must not exceed 4,096 bytes. When set to 0 or not specified, the session token size is
|
|
284
|
+
* unchanged.</p>
|
|
305
285
|
* @public
|
|
306
286
|
*/
|
|
307
287
|
MinimumSessionTokenSize?: number | undefined;
|
|
@@ -359,9 +339,9 @@ export interface AssumeRoleResponse {
|
|
|
359
339
|
*/
|
|
360
340
|
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
361
341
|
/**
|
|
362
|
-
* <p>
|
|
363
|
-
*
|
|
364
|
-
*
|
|
342
|
+
* <p>The percentage (0-100) of the maximum allowed session token size that the returned
|
|
343
|
+
* session token consumes.</p>
|
|
344
|
+
* <p>This field is deprecated. Use <code>SessionTokenUtilization</code> instead.</p>
|
|
365
345
|
*
|
|
366
346
|
* @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
|
|
367
347
|
* @public
|
|
@@ -385,17 +365,90 @@ export interface AssumeRoleResponse {
|
|
|
385
365
|
*/
|
|
386
366
|
SourceIdentity?: string | undefined;
|
|
387
367
|
/**
|
|
388
|
-
* The percentage (0-100) of the maximum allowed session token size that the returned
|
|
389
|
-
*
|
|
368
|
+
* <p>The percentage (0-100) of the maximum allowed session token size that the returned
|
|
369
|
+
* session token consumes.</p>
|
|
390
370
|
* @public
|
|
391
371
|
*/
|
|
392
372
|
SessionTokenUtilization?: number | undefined;
|
|
393
373
|
/**
|
|
394
|
-
* The size, in bytes, of the session token returned in the Credentials for this
|
|
374
|
+
* <p>The size, in bytes, of the session token returned in the Credentials for this
|
|
375
|
+
* response.</p>
|
|
395
376
|
* @public
|
|
396
377
|
*/
|
|
397
378
|
SessionTokenSize?: number | undefined;
|
|
398
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* <p>The session's <code>aws:OriginIdentity/Subject</code>,
|
|
382
|
+
* <code>aws:OriginIdentity/SubjectType</code>, <code>aws:OriginIdentity/Issuer</code> and
|
|
383
|
+
* <code>aws:OriginIdentity/FederatedProviderArn</code> keys. A member is absent when the
|
|
384
|
+
* session does not have the key.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
export interface OriginIdentity {
|
|
388
|
+
/**
|
|
389
|
+
* <p>The value of the <code>aws:OriginIdentity/Subject</code> key: the end user's identifier,
|
|
390
|
+
* taken from the token claim that the context provider maps as the subject.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
Subject?: string | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>The value of the <code>aws:OriginIdentity/SubjectType</code> key, which indicates whether
|
|
396
|
+
* the end user is a person (<code>user</code>) or a non-human caller such as an application
|
|
397
|
+
* or service (<code>workload</code>).</p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
SubjectType?: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* <p>The value of the <code>aws:OriginIdentity/Issuer</code> key. For
|
|
403
|
+
* <code>AssumeRoleWithWebIdentity</code>, this is the <code>iss</code> claim of the token
|
|
404
|
+
* without the <code>https://</code> prefix. For <code>AssumeRoleWithSAML</code>, this is a
|
|
405
|
+
* hash of the key that signed the SAML assertion, not the <code>Issuer</code> element of the
|
|
406
|
+
* assertion.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
Issuer?: string | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* <p>The value of the <code>aws:OriginIdentity/FederatedProviderArn</code> key: the ARN of
|
|
412
|
+
* the IAM identity provider that the request federated through.</p>
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
FederatedProviderArn?: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* <p>The session's <code>aws:TransactionContext/IdentityProvider/*</code> keys.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
export interface TransactionContext {
|
|
422
|
+
/**
|
|
423
|
+
* <p>The session's <code>aws:TransactionContext/IdentityProvider/*</code> keys, keyed by the
|
|
424
|
+
* part of the key name after <code>aws:TransactionContext/IdentityProvider/</code>. Each
|
|
425
|
+
* value is up to 128 characters.</p>
|
|
426
|
+
* <p>The number of entries is bounded twice. IAM limits how many keys a context provider
|
|
427
|
+
* maps when you configure it on the identity provider, and Amazon Web Services STS rejects a
|
|
428
|
+
* session whose session token exceeds the maximum size with
|
|
429
|
+
* <code>PackedPolicyTooLarge</code>.</p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
IdentityProvider?: Record<string, string> | undefined;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* <p>The trusted identity propagation context that Amazon Web Services STS set in a session
|
|
436
|
+
* from the identity provider's token. A member is absent when the session has none of its
|
|
437
|
+
* keys.</p>
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
export interface TrustedIdentityPropagationContext {
|
|
441
|
+
/**
|
|
442
|
+
* <p>The identity of the end user on whose behalf the session acts.</p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
OriginIdentity?: OriginIdentity | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* <p>Additional claims about the request that the identity provider asserted.</p>
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
TransactionContext?: TransactionContext | undefined;
|
|
451
|
+
}
|
|
399
452
|
/**
|
|
400
453
|
* @public
|
|
401
454
|
*/
|
|
@@ -459,13 +512,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
459
512
|
* plaintext that you use for both inline and managed session policies can't exceed 2,048
|
|
460
513
|
* characters. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services
|
|
461
514
|
* Service Namespaces</a> in the Amazon Web Services General Reference.</p>
|
|
462
|
-
* <note>
|
|
463
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
464
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
465
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
466
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
467
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
468
|
-
* </note>
|
|
469
515
|
* <p>Passing policies to this operation returns new
|
|
470
516
|
* temporary credentials. The resulting session's permissions are the intersection of the
|
|
471
517
|
* role's identity-based policy and the session policies. You can use the role's temporary
|
|
@@ -494,13 +540,6 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
494
540
|
* characters.</p>
|
|
495
541
|
* <p>For more information about role session permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
|
|
496
542
|
* policies</a>.</p>
|
|
497
|
-
* <note>
|
|
498
|
-
* <p>An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs,
|
|
499
|
-
* and session tags into a packed binary format that has a separate limit. Your request can
|
|
500
|
-
* fail for this limit even if your plaintext meets the other requirements. The
|
|
501
|
-
* <code>PackedPolicySize</code> response element indicates by percentage how close the
|
|
502
|
-
* policies and tags for your request are to the upper size limit.</p>
|
|
503
|
-
* </note>
|
|
504
543
|
* @public
|
|
505
544
|
*/
|
|
506
545
|
Policy?: string | undefined;
|
|
@@ -527,9 +566,10 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
|
527
566
|
*/
|
|
528
567
|
DurationSeconds?: number | undefined;
|
|
529
568
|
/**
|
|
530
|
-
* The minimum size, in bytes, of the session token that STS issues for the request. STS
|
|
531
|
-
*
|
|
532
|
-
*
|
|
569
|
+
* <p>The minimum size, in bytes, of the session token that STS issues for the request. STS
|
|
570
|
+
* increases the session token to at least this size, regardless of its actual content. The
|
|
571
|
+
* value must not exceed 4,096 bytes. When set to 0 or not specified, the session token size is
|
|
572
|
+
* unchanged.</p>
|
|
533
573
|
* @public
|
|
534
574
|
*/
|
|
535
575
|
MinimumSessionTokenSize?: number | undefined;
|
|
@@ -570,9 +610,9 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
570
610
|
*/
|
|
571
611
|
AssumedRoleUser?: AssumedRoleUser | undefined;
|
|
572
612
|
/**
|
|
573
|
-
* <p>
|
|
574
|
-
*
|
|
575
|
-
*
|
|
613
|
+
* <p>The percentage (0-100) of the maximum allowed session token size that the returned
|
|
614
|
+
* session token consumes.</p>
|
|
615
|
+
* <p>This field is deprecated. Use <code>SessionTokenUtilization</code> instead.</p>
|
|
576
616
|
*
|
|
577
617
|
* @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
|
|
578
618
|
* @public
|
|
@@ -615,14 +655,30 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
615
655
|
*/
|
|
616
656
|
SourceIdentity?: string | undefined;
|
|
617
657
|
/**
|
|
618
|
-
* The percentage (0-100) of the maximum allowed session token size that the returned
|
|
619
|
-
*
|
|
658
|
+
* <p>The percentage (0-100) of the maximum allowed session token size that the returned
|
|
659
|
+
* session token consumes.</p>
|
|
620
660
|
* @public
|
|
621
661
|
*/
|
|
622
662
|
SessionTokenUtilization?: number | undefined;
|
|
623
663
|
/**
|
|
624
|
-
* The size, in bytes, of the session token returned in the Credentials for this
|
|
664
|
+
* <p>The size, in bytes, of the session token returned in the Credentials for this
|
|
665
|
+
* response.</p>
|
|
625
666
|
* @public
|
|
626
667
|
*/
|
|
627
668
|
SessionTokenSize?: number | undefined;
|
|
669
|
+
/**
|
|
670
|
+
* <p>The trusted identity propagation context that Amazon Web Services STS set in the
|
|
671
|
+
* session from the web identity token, through the context provider attached to the OpenID
|
|
672
|
+
* Connect identity provider. It is present only when Amazon Web Services STS set such
|
|
673
|
+
* context in the session. It contains the <code>aws:OriginIdentity/Subject</code>,
|
|
674
|
+
* <code>aws:OriginIdentity/SubjectType</code>, <code>aws:OriginIdentity/Issuer</code> and
|
|
675
|
+
* <code>aws:OriginIdentity/FederatedProviderArn</code> keys and the
|
|
676
|
+
* <code>aws:TransactionContext/IdentityProvider/*</code> keys that Amazon Web Services STS
|
|
677
|
+
* set in the session. Other keys in the session, such as
|
|
678
|
+
* <code>aws:IdentityCenterInstanceArn</code> and <code>aws:IdentityStoreArn</code> for an
|
|
679
|
+
* identity provider with an Identity Center instance attached, are not returned.</p>
|
|
680
|
+
* <p>This element contains information about the end user. Do not log it.</p>
|
|
681
|
+
* @public
|
|
682
|
+
*/
|
|
683
|
+
TrustedIdentityPropagationContext?: TrustedIdentityPropagationContext | undefined;
|
|
628
684
|
}
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare var STSServiceException$: StaticErrorSchema;
|
|
|
4
4
|
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
5
5
|
export declare var IDPCommunicationErrorException$: StaticErrorSchema;
|
|
6
6
|
export declare var IDPRejectedClaimException$: StaticErrorSchema;
|
|
7
|
+
export declare var InvalidContextAssertionException$: StaticErrorSchema;
|
|
7
8
|
export declare var InvalidIdentityTokenException$: StaticErrorSchema;
|
|
8
9
|
export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
|
|
9
10
|
export declare var PackedPolicyTooLargeException$: StaticErrorSchema;
|
|
@@ -20,8 +21,11 @@ export declare var AssumeRoleResponse$: StaticStructureSchema;
|
|
|
20
21
|
export declare var AssumeRoleWithWebIdentityRequest$: StaticStructureSchema;
|
|
21
22
|
export declare var AssumeRoleWithWebIdentityResponse$: StaticStructureSchema;
|
|
22
23
|
export declare var Credentials$: StaticStructureSchema;
|
|
24
|
+
export declare var OriginIdentity$: StaticStructureSchema;
|
|
23
25
|
export declare var PolicyDescriptorType$: StaticStructureSchema;
|
|
24
26
|
export declare var ProvidedContext$: StaticStructureSchema;
|
|
25
27
|
export declare var Tag$: StaticStructureSchema;
|
|
28
|
+
export declare var TransactionContext$: StaticStructureSchema;
|
|
29
|
+
export declare var TrustedIdentityPropagationContext$: StaticStructureSchema;
|
|
26
30
|
export declare var AssumeRole$: StaticOperationSchema;
|
|
27
31
|
export declare var AssumeRoleWithWebIdentity$: StaticOperationSchema;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const OAuth2ErrorCode: {
|
|
|
3
3
|
readonly CONFLICT: "CONFLICT";
|
|
4
4
|
readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
|
|
5
5
|
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
6
|
+
readonly OAUTH_INVALID_CLIENT: "invalid_client";
|
|
6
7
|
readonly OAUTH_INVALID_GRANT: "invalid_grant";
|
|
7
8
|
readonly OAUTH_INVALID_REQUEST: "invalid_request";
|
|
8
9
|
readonly OAUTH_INVALID_SCOPE: "invalid_scope";
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ export declare class ExpiredTokenException extends __BaseException {
|
|
|
6
6
|
readonly $fault: "client";
|
|
7
7
|
constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
|
|
8
8
|
}
|
|
9
|
+
export declare class InvalidContextAssertionException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
11
|
+
readonly name: "InvalidContextAssertionException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InvalidContextAssertionException, __BaseException>);
|
|
14
|
+
}
|
|
9
15
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
10
16
|
static readonly shapeId: string;
|
|
11
17
|
readonly name: "MalformedPolicyDocumentException";
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts
CHANGED
|
@@ -42,6 +42,19 @@ export interface AssumeRoleResponse {
|
|
|
42
42
|
SessionTokenUtilization?: number | undefined;
|
|
43
43
|
SessionTokenSize?: number | undefined;
|
|
44
44
|
}
|
|
45
|
+
export interface OriginIdentity {
|
|
46
|
+
Subject?: string | undefined;
|
|
47
|
+
SubjectType?: string | undefined;
|
|
48
|
+
Issuer?: string | undefined;
|
|
49
|
+
FederatedProviderArn?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface TransactionContext {
|
|
52
|
+
IdentityProvider?: Record<string, string> | undefined;
|
|
53
|
+
}
|
|
54
|
+
export interface TrustedIdentityPropagationContext {
|
|
55
|
+
OriginIdentity?: OriginIdentity | undefined;
|
|
56
|
+
TransactionContext?: TransactionContext | undefined;
|
|
57
|
+
}
|
|
45
58
|
export interface AssumeRoleWithWebIdentityRequest {
|
|
46
59
|
RoleArn: string | undefined;
|
|
47
60
|
RoleSessionName: string | undefined;
|
|
@@ -62,4 +75,5 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
|
62
75
|
SourceIdentity?: string | undefined;
|
|
63
76
|
SessionTokenUtilization?: number | undefined;
|
|
64
77
|
SessionTokenSize?: number | undefined;
|
|
78
|
+
TrustedIdentityPropagationContext?: TrustedIdentityPropagationContext | undefined;
|
|
65
79
|
}
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare var STSServiceException$: StaticErrorSchema;
|
|
|
4
4
|
export declare var ExpiredTokenException$: StaticErrorSchema;
|
|
5
5
|
export declare var IDPCommunicationErrorException$: StaticErrorSchema;
|
|
6
6
|
export declare var IDPRejectedClaimException$: StaticErrorSchema;
|
|
7
|
+
export declare var InvalidContextAssertionException$: StaticErrorSchema;
|
|
7
8
|
export declare var InvalidIdentityTokenException$: StaticErrorSchema;
|
|
8
9
|
export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
|
|
9
10
|
export declare var PackedPolicyTooLargeException$: StaticErrorSchema;
|
|
@@ -15,8 +16,11 @@ export declare var AssumeRoleResponse$: StaticStructureSchema;
|
|
|
15
16
|
export declare var AssumeRoleWithWebIdentityRequest$: StaticStructureSchema;
|
|
16
17
|
export declare var AssumeRoleWithWebIdentityResponse$: StaticStructureSchema;
|
|
17
18
|
export declare var Credentials$: StaticStructureSchema;
|
|
19
|
+
export declare var OriginIdentity$: StaticStructureSchema;
|
|
18
20
|
export declare var PolicyDescriptorType$: StaticStructureSchema;
|
|
19
21
|
export declare var ProvidedContext$: StaticStructureSchema;
|
|
20
22
|
export declare var Tag$: StaticStructureSchema;
|
|
23
|
+
export declare var TransactionContext$: StaticStructureSchema;
|
|
24
|
+
export declare var TrustedIdentityPropagationContext$: StaticStructureSchema;
|
|
21
25
|
export declare var AssumeRole$: StaticOperationSchema;
|
|
22
26
|
export declare var AssumeRoleWithWebIdentity$: StaticOperationSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.998.
|
|
3
|
+
"version": "3.998.5",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.981.
|
|
103
|
+
"@aws-sdk/core": "^3.981.2",
|
|
104
104
|
"@aws-sdk/signature-v4-multi-region": "^3.996.52",
|
|
105
105
|
"@aws-sdk/types": "^3.975.1",
|
|
106
|
-
"@smithy/core": "^3.
|
|
106
|
+
"@smithy/core": "^3.41.1",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.1",
|
|
108
108
|
"@smithy/node-http-handler": "^4.14.2",
|
|
109
109
|
"@smithy/types": "^4.20.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1177.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.981.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.998.
|
|
51
|
+
"@aws-sdk/core": "^3.981.2",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.998.5",
|
|
53
53
|
"@aws-sdk/types": "^3.975.1",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.41.1",
|
|
55
55
|
"@smithy/types": "^4.20.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
package/package.json
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"organization": false
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@cdk8s/projen-common": "0.1.
|
|
46
|
+
"@cdk8s/projen-common": "0.1.55",
|
|
47
47
|
"@stylistic/eslint-plugin": "^2",
|
|
48
48
|
"@types/fs-extra": "^11.0.4",
|
|
49
49
|
"@types/jest": "^27",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"jsii-docgen": "^10.5.0",
|
|
68
68
|
"jsii-pacmak": "^1.143.0",
|
|
69
69
|
"jsii-rosetta": "^5",
|
|
70
|
-
"projen": "^0.105.
|
|
70
|
+
"projen": "^0.105.10",
|
|
71
71
|
"ts-jest": "^27",
|
|
72
72
|
"ts-node": "^10.9.2",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"constructs": "^10.3.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
+
"@aws-sdk/client-cloudformation": "^3.1177.0"
|
|
82
82
|
},
|
|
83
83
|
"bundledDependencies": [
|
|
84
84
|
"@aws-sdk/client-cloudformation"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "0.0.
|
|
95
|
+
"version": "0.0.750",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|