@cdk8s/awscdk-resolver 0.0.690 → 0.0.692

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 (77) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +3 -3
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +2 -2
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +187 -181
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +184 -180
  7. package/node_modules/@aws-sdk/client-cloudformation/package.json +8 -8
  8. package/node_modules/@aws-sdk/core/package.json +6 -6
  9. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  10. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  11. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  12. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  13. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  14. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  15. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  16. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -3
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -3
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -3
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -3
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +14 -11
  22. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +2 -2
  23. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +2 -2
  24. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +2 -2
  25. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +2 -2
  26. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +13 -10
  27. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +11 -5
  28. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +11 -5
  29. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +9 -3
  30. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  31. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +33 -8
  32. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +22 -3
  33. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -0
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -0
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +22 -3
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/models_0.d.ts +40 -0
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +14 -5
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/Signin.d.ts +11 -5
  39. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +9 -3
  40. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDC.d.ts +9 -3
  41. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STS.d.ts +11 -5
  42. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/models_0.d.ts +6 -0
  43. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  44. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  45. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  46. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +1 -0
  47. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +1 -0
  48. package/node_modules/@aws-sdk/types/package.json +2 -2
  49. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  50. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -37
  51. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +26 -4
  52. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +49 -8
  53. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +12 -7
  54. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +22 -22
  55. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +0 -15
  56. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -1
  57. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +8 -1
  58. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +18 -3
  59. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +49 -8
  60. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -7
  61. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +3 -0
  62. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -1
  63. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client.d.ts +11 -3
  64. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +17 -7
  65. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +2 -2
  66. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +3 -0
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -1
  68. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +11 -3
  69. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +21 -7
  70. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +2 -2
  71. package/node_modules/@smithy/core/package.json +2 -2
  72. package/node_modules/@smithy/types/dist-types/metrics.d.ts +8 -7
  73. package/node_modules/@smithy/types/dist-types/middleware.d.ts +5 -0
  74. package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +8 -7
  75. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +5 -0
  76. package/node_modules/@smithy/types/package.json +1 -1
  77. package/package.json +4 -4
@@ -1,13 +1,19 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type GetRoleCredentialsCommandInput, type GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
3
3
  import { SSOClient } from "./SSOClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface SSORequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface SSO {
5
11
  /**
6
12
  * @see {@link GetRoleCredentialsCommand}
7
13
  */
8
- getRoleCredentials(args: GetRoleCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<GetRoleCredentialsCommandOutput>;
14
+ getRoleCredentials(args: GetRoleCredentialsCommandInput, options?: SSORequestOptions): Promise<GetRoleCredentialsCommandOutput>;
9
15
  getRoleCredentials(args: GetRoleCredentialsCommandInput, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void;
10
- getRoleCredentials(args: GetRoleCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void;
16
+ getRoleCredentials(args: GetRoleCredentialsCommandInput, options: SSORequestOptions, cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
@@ -1,13 +1,19 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type CreateTokenCommandInput, type CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
3
3
  import { SSOOIDCClient } from "./SSOOIDCClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface SSOOIDCRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface SSOOIDC {
5
11
  /**
6
12
  * @see {@link CreateTokenCommand}
7
13
  */
8
- createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateTokenCommandOutput>;
14
+ createToken(args: CreateTokenCommandInput, options?: SSOOIDCRequestOptions): Promise<CreateTokenCommandOutput>;
9
15
  createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
10
- createToken(args: CreateTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
16
+ createToken(args: CreateTokenCommandInput, options: SSOOIDCRequestOptions, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>IAM Identity Center OpenID Connect (OIDC) is a web service that enables a client (such as CLI or a
@@ -1,26 +1,51 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type AssumeRoleCommandInput, type AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
3
  import { type AssumeRoleWithWebIdentityCommandInput, type AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
4
4
  import { STSClient } from "./STSClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface STSRequestOptions extends __HttpHandlerOptions {
9
+ metricsRecorder?: __MetricsRecorder<unknown>;
10
+ }
5
11
  export interface STS {
6
12
  /**
7
13
  * @see {@link AssumeRoleCommand}
8
14
  */
9
- assumeRole(args: AssumeRoleCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleCommandOutput>;
15
+ assumeRole(args: AssumeRoleCommandInput, options?: STSRequestOptions): Promise<AssumeRoleCommandOutput>;
10
16
  assumeRole(args: AssumeRoleCommandInput, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
11
- assumeRole(args: AssumeRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
17
+ assumeRole(args: AssumeRoleCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRoleCommandOutput) => void): void;
12
18
  /**
13
19
  * @see {@link AssumeRoleWithWebIdentityCommand}
14
20
  */
15
- assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: __HttpHandlerOptions): Promise<AssumeRoleWithWebIdentityCommandOutput>;
21
+ assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options?: STSRequestOptions): Promise<AssumeRoleWithWebIdentityCommandOutput>;
16
22
  assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
17
- assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
23
+ assumeRoleWithWebIdentity(args: AssumeRoleWithWebIdentityCommandInput, options: STSRequestOptions, cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void): void;
18
24
  }
19
25
  /**
20
26
  * <fullname>Security Token Service</fullname>
21
- * <p>Security Token Service (STS) enables you to request temporary, limited-privilege
22
- * credentials for users. This guide provides descriptions of the STS API. For
23
- * more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
27
+ * <p>Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary,
28
+ * limited-privilege credentials for users. This guide describes the STS API. For more
29
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>
30
+ * in the <i>IAM User Guide</i>.</p>
31
+ * <note>
32
+ * <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
33
+ * libraries and sample code for various programming languages and platforms such as Java,
34
+ * Ruby, .NET, iOS, Android, and others. The SDKs provide a convenient way to create
35
+ * programmatic access to STS. For example, the SDKs can cryptographically sign requests,
36
+ * manage errors, and retry requests automatically. For information about the Amazon Web Services SDKs, see
37
+ * <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
38
+ * </note>
39
+ * <p>For information about setting up signatures and authorization through the API, see <a href="https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html">Signing Amazon Web Services
40
+ * API Requests</a> in the <i>Amazon Web Services General Reference</i>. For general information
41
+ * about the Query API, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making Query Requests</a> in the
42
+ * <i>IAM User Guide</i>. For information about using security tokens with
43
+ * other Amazon Web Services products, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html">Amazon Web Services Services
44
+ * That Work with IAM</a> in the <i>IAM User Guide</i>.</p>
45
+ * <p>For information about STS endpoints, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_region-endpoints.html">STS Regions and
46
+ * endpoints</a> in the <i>IAM User Guide</i>. For information about
47
+ * logging STS API calls, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM and STS API calls
48
+ * with CloudTrail</a> in the <i>IAM User Guide</i>.</p>
24
49
  * @public
25
50
  */
26
51
  export declare class STS extends STSClient implements STS {
@@ -171,9 +171,28 @@ export interface STSClientResolvedConfig extends STSClientResolvedConfigType {
171
171
  }
172
172
  /**
173
173
  * <fullname>Security Token Service</fullname>
174
- * <p>Security Token Service (STS) enables you to request temporary, limited-privilege
175
- * credentials for users. This guide provides descriptions of the STS API. For
176
- * more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
174
+ * <p>Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary,
175
+ * limited-privilege credentials for users. This guide describes the STS API. For more
176
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>
177
+ * in the <i>IAM User Guide</i>.</p>
178
+ * <note>
179
+ * <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
180
+ * libraries and sample code for various programming languages and platforms such as Java,
181
+ * Ruby, .NET, iOS, Android, and others. The SDKs provide a convenient way to create
182
+ * programmatic access to STS. For example, the SDKs can cryptographically sign requests,
183
+ * manage errors, and retry requests automatically. For information about the Amazon Web Services SDKs, see
184
+ * <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
185
+ * </note>
186
+ * <p>For information about setting up signatures and authorization through the API, see <a href="https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html">Signing Amazon Web Services
187
+ * API Requests</a> in the <i>Amazon Web Services General Reference</i>. For general information
188
+ * about the Query API, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making Query Requests</a> in the
189
+ * <i>IAM User Guide</i>. For information about using security tokens with
190
+ * other Amazon Web Services products, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html">Amazon Web Services Services
191
+ * That Work with IAM</a> in the <i>IAM User Guide</i>.</p>
192
+ * <p>For information about STS endpoints, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_region-endpoints.html">STS Regions and
193
+ * endpoints</a> in the <i>IAM User Guide</i>. For information about
194
+ * logging STS API calls, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM and STS API calls
195
+ * with CloudTrail</a> in the <i>IAM User Guide</i>.</p>
177
196
  * @public
178
197
  */
179
198
  export declare class STSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig> {
@@ -149,6 +149,7 @@ declare const AssumeRoleCommand_base: {
149
149
  * ContextAssertion: "STRING_VALUE",
150
150
  * },
151
151
  * ],
152
+ * MinimumSessionTokenSize: Number("int"),
152
153
  * };
153
154
  * const command = new AssumeRoleCommand(input);
154
155
  * const response = await client.send(command);
@@ -165,6 +166,8 @@ declare const AssumeRoleCommand_base: {
165
166
  * // },
166
167
  * // PackedPolicySize: Number("int"),
167
168
  * // SourceIdentity: "STRING_VALUE",
169
+ * // SessionTokenUtilization: Number("int"),
170
+ * // SessionTokenSize: Number("int"),
168
171
  * // };
169
172
  *
170
173
  * ```
@@ -162,6 +162,7 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
162
162
  * ],
163
163
  * Policy: "STRING_VALUE",
164
164
  * DurationSeconds: Number("int"),
165
+ * MinimumSessionTokenSize: Number("int"),
165
166
  * };
166
167
  * const command = new AssumeRoleWithWebIdentityCommand(input);
167
168
  * const response = await client.send(command);
@@ -181,6 +182,8 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
181
182
  * // Provider: "STRING_VALUE",
182
183
  * // Audience: "STRING_VALUE",
183
184
  * // SourceIdentity: "STRING_VALUE",
185
+ * // SessionTokenUtilization: Number("int"),
186
+ * // SessionTokenSize: Number("int"),
184
187
  * // };
185
188
  *
186
189
  * ```
@@ -1,8 +1,27 @@
1
1
  /**
2
2
  * <fullname>Security Token Service</fullname>
3
- * <p>Security Token Service (STS) enables you to request temporary, limited-privilege
4
- * credentials for users. This guide provides descriptions of the STS API. For
5
- * more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
3
+ * <p>Amazon Web Services provides Security Token Service (STS) as a web service that enables you to request temporary,
4
+ * limited-privilege credentials for users. This guide describes the STS API. For more
5
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>
6
+ * in the <i>IAM User Guide</i>.</p>
7
+ * <note>
8
+ * <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
9
+ * libraries and sample code for various programming languages and platforms such as Java,
10
+ * Ruby, .NET, iOS, Android, and others. The SDKs provide a convenient way to create
11
+ * programmatic access to STS. For example, the SDKs can cryptographically sign requests,
12
+ * manage errors, and retry requests automatically. For information about the Amazon Web Services SDKs, see
13
+ * <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
14
+ * </note>
15
+ * <p>For information about setting up signatures and authorization through the API, see <a href="https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html">Signing Amazon Web Services
16
+ * API Requests</a> in the <i>Amazon Web Services General Reference</i>. For general information
17
+ * about the Query API, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making Query Requests</a> in the
18
+ * <i>IAM User Guide</i>. For information about using security tokens with
19
+ * other Amazon Web Services products, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html">Amazon Web Services Services
20
+ * That Work with IAM</a> in the <i>IAM User Guide</i>.</p>
21
+ * <p>For information about STS endpoints, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_region-endpoints.html">STS Regions and
22
+ * endpoints</a> in the <i>IAM User Guide</i>. For information about
23
+ * logging STS API calls, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM and STS API calls
24
+ * with CloudTrail</a> in the <i>IAM User Guide</i>.</p>
6
25
  *
7
26
  * @packageDocumentation
8
27
  */
@@ -298,6 +298,13 @@ export interface AssumeRoleRequest {
298
298
  * @public
299
299
  */
300
300
  ProvidedContexts?: ProvidedContext[] | undefined;
301
+ /**
302
+ * The minimum size, in bytes, of the session token that STS issues for the request. STS increases
303
+ * the session token to at least this size, regardless of its actual content. The value must not
304
+ * exceed 4,096 bytes. When set to 0 or not specified, the session token size is unchanged.
305
+ * @public
306
+ */
307
+ MinimumSessionTokenSize?: number | undefined;
301
308
  }
302
309
  /**
303
310
  * <p>Amazon Web Services credentials for API authentication.</p>
@@ -355,6 +362,8 @@ export interface AssumeRoleResponse {
355
362
  * <p>A percentage value that indicates the packed size of the session policies and session
356
363
  * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
357
364
  * which means the policies and tags exceeded the allowed space.</p>
365
+ *
366
+ * @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
358
367
  * @public
359
368
  */
360
369
  PackedPolicySize?: number | undefined;
@@ -375,6 +384,17 @@ export interface AssumeRoleResponse {
375
384
  * @public
376
385
  */
377
386
  SourceIdentity?: string | undefined;
387
+ /**
388
+ * The percentage (0-100) of the maximum allowed session token size that the returned session
389
+ * token consumes.
390
+ * @public
391
+ */
392
+ SessionTokenUtilization?: number | undefined;
393
+ /**
394
+ * The size, in bytes, of the session token returned in the Credentials for this response.
395
+ * @public
396
+ */
397
+ SessionTokenSize?: number | undefined;
378
398
  }
379
399
  /**
380
400
  * @public
@@ -506,6 +526,13 @@ export interface AssumeRoleWithWebIdentityRequest {
506
526
  * @public
507
527
  */
508
528
  DurationSeconds?: number | undefined;
529
+ /**
530
+ * The minimum size, in bytes, of the session token that STS issues for the request. STS increases
531
+ * the session token to at least this size, regardless of its actual content. The value must not
532
+ * exceed 4,096 bytes. When set to 0 or not specified, the session token size is unchanged.
533
+ * @public
534
+ */
535
+ MinimumSessionTokenSize?: number | undefined;
509
536
  }
510
537
  /**
511
538
  * <p>Contains the response to a successful <a>AssumeRoleWithWebIdentity</a>
@@ -546,6 +573,8 @@ export interface AssumeRoleWithWebIdentityResponse {
546
573
  * <p>A percentage value that indicates the packed size of the session policies and session
547
574
  * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
548
575
  * which means the policies and tags exceeded the allowed space.</p>
576
+ *
577
+ * @deprecated (since 2026-06-17) Deprecated. Replaced by SessionTokenUtilization.
549
578
  * @public
550
579
  */
551
580
  PackedPolicySize?: number | undefined;
@@ -585,4 +614,15 @@ export interface AssumeRoleWithWebIdentityResponse {
585
614
  * @public
586
615
  */
587
616
  SourceIdentity?: string | undefined;
617
+ /**
618
+ * The percentage (0-100) of the maximum allowed session token size that the returned session
619
+ * token consumes.
620
+ * @public
621
+ */
622
+ SessionTokenUtilization?: number | undefined;
623
+ /**
624
+ * The size, in bytes, of the session token returned in the Credentials for this response.
625
+ * @public
626
+ */
627
+ SessionTokenSize?: number | undefined;
588
628
  }
@@ -1,14 +1,20 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CognitoIdentityClient } from "./CognitoIdentityClient";
3
6
  import {
4
7
  GetCredentialsForIdentityCommandInput,
5
8
  GetCredentialsForIdentityCommandOutput,
6
9
  } from "./commands/GetCredentialsForIdentityCommand";
7
10
  import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
11
+ export interface CognitoIdentityRequestOptions extends __HttpHandlerOptions {
12
+ metricsRecorder?: __MetricsRecorder<unknown>;
13
+ }
8
14
  export interface CognitoIdentity {
9
15
  getCredentialsForIdentity(
10
16
  args: GetCredentialsForIdentityCommandInput,
11
- options?: __HttpHandlerOptions,
17
+ options?: CognitoIdentityRequestOptions,
12
18
  ): Promise<GetCredentialsForIdentityCommandOutput>;
13
19
  getCredentialsForIdentity(
14
20
  args: GetCredentialsForIdentityCommandInput,
@@ -16,14 +22,17 @@ export interface CognitoIdentity {
16
22
  ): void;
17
23
  getCredentialsForIdentity(
18
24
  args: GetCredentialsForIdentityCommandInput,
19
- options: __HttpHandlerOptions,
25
+ options: CognitoIdentityRequestOptions,
20
26
  cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void,
21
27
  ): void;
22
- getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise<GetIdCommandOutput>;
28
+ getId(
29
+ args: GetIdCommandInput,
30
+ options?: CognitoIdentityRequestOptions,
31
+ ): Promise<GetIdCommandOutput>;
23
32
  getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void;
24
33
  getId(
25
34
  args: GetIdCommandInput,
26
- options: __HttpHandlerOptions,
35
+ options: CognitoIdentityRequestOptions,
27
36
  cb: (err: any, data?: GetIdCommandOutput) => void,
28
37
  ): void;
29
38
  }
@@ -1,4 +1,7 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  CreateOAuth2TokenCommandInput,
4
7
  CreateOAuth2TokenCommandOutput,
@@ -8,10 +11,13 @@ import {
8
11
  CreateOAuth2TokenWithIAMCommandOutput,
9
12
  } from "./commands/CreateOAuth2TokenWithIAMCommand";
10
13
  import { SigninClient } from "./SigninClient";
14
+ export interface SigninRequestOptions extends __HttpHandlerOptions {
15
+ metricsRecorder?: __MetricsRecorder<unknown>;
16
+ }
11
17
  export interface Signin {
12
18
  createOAuth2Token(
13
19
  args: CreateOAuth2TokenCommandInput,
14
- options?: __HttpHandlerOptions,
20
+ options?: SigninRequestOptions,
15
21
  ): Promise<CreateOAuth2TokenCommandOutput>;
16
22
  createOAuth2Token(
17
23
  args: CreateOAuth2TokenCommandInput,
@@ -19,12 +25,12 @@ export interface Signin {
19
25
  ): void;
20
26
  createOAuth2Token(
21
27
  args: CreateOAuth2TokenCommandInput,
22
- options: __HttpHandlerOptions,
28
+ options: SigninRequestOptions,
23
29
  cb: (err: any, data?: CreateOAuth2TokenCommandOutput) => void,
24
30
  ): void;
25
31
  createOAuth2TokenWithIAM(
26
32
  args: CreateOAuth2TokenWithIAMCommandInput,
27
- options?: __HttpHandlerOptions,
33
+ options?: SigninRequestOptions,
28
34
  ): Promise<CreateOAuth2TokenWithIAMCommandOutput>;
29
35
  createOAuth2TokenWithIAM(
30
36
  args: CreateOAuth2TokenWithIAMCommandInput,
@@ -32,7 +38,7 @@ export interface Signin {
32
38
  ): void;
33
39
  createOAuth2TokenWithIAM(
34
40
  args: CreateOAuth2TokenWithIAMCommandInput,
35
- options: __HttpHandlerOptions,
41
+ options: SigninRequestOptions,
36
42
  cb: (err: any, data?: CreateOAuth2TokenWithIAMCommandOutput) => void,
37
43
  ): void;
38
44
  }
@@ -1,13 +1,19 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  GetRoleCredentialsCommandInput,
4
7
  GetRoleCredentialsCommandOutput,
5
8
  } from "./commands/GetRoleCredentialsCommand";
6
9
  import { SSOClient } from "./SSOClient";
10
+ export interface SSORequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface SSO {
8
14
  getRoleCredentials(
9
15
  args: GetRoleCredentialsCommandInput,
10
- options?: __HttpHandlerOptions,
16
+ options?: SSORequestOptions,
11
17
  ): Promise<GetRoleCredentialsCommandOutput>;
12
18
  getRoleCredentials(
13
19
  args: GetRoleCredentialsCommandInput,
@@ -15,7 +21,7 @@ export interface SSO {
15
21
  ): void;
16
22
  getRoleCredentials(
17
23
  args: GetRoleCredentialsCommandInput,
18
- options: __HttpHandlerOptions,
24
+ options: SSORequestOptions,
19
25
  cb: (err: any, data?: GetRoleCredentialsCommandOutput) => void,
20
26
  ): void;
21
27
  }
@@ -1,10 +1,16 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
3
6
  import { SSOOIDCClient } from "./SSOOIDCClient";
7
+ export interface SSOOIDCRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface SSOOIDC {
5
11
  createToken(
6
12
  args: CreateTokenCommandInput,
7
- options?: __HttpHandlerOptions,
13
+ options?: SSOOIDCRequestOptions,
8
14
  ): Promise<CreateTokenCommandOutput>;
9
15
  createToken(
10
16
  args: CreateTokenCommandInput,
@@ -12,7 +18,7 @@ export interface SSOOIDC {
12
18
  ): void;
13
19
  createToken(
14
20
  args: CreateTokenCommandInput,
15
- options: __HttpHandlerOptions,
21
+ options: SSOOIDCRequestOptions,
16
22
  cb: (err: any, data?: CreateTokenCommandOutput) => void,
17
23
  ): void;
18
24
  }
@@ -1,14 +1,20 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
6
  import {
4
7
  AssumeRoleWithWebIdentityCommandInput,
5
8
  AssumeRoleWithWebIdentityCommandOutput,
6
9
  } from "./commands/AssumeRoleWithWebIdentityCommand";
7
10
  import { STSClient } from "./STSClient";
11
+ export interface STSRequestOptions extends __HttpHandlerOptions {
12
+ metricsRecorder?: __MetricsRecorder<unknown>;
13
+ }
8
14
  export interface STS {
9
15
  assumeRole(
10
16
  args: AssumeRoleCommandInput,
11
- options?: __HttpHandlerOptions,
17
+ options?: STSRequestOptions,
12
18
  ): Promise<AssumeRoleCommandOutput>;
13
19
  assumeRole(
14
20
  args: AssumeRoleCommandInput,
@@ -16,12 +22,12 @@ export interface STS {
16
22
  ): void;
17
23
  assumeRole(
18
24
  args: AssumeRoleCommandInput,
19
- options: __HttpHandlerOptions,
25
+ options: STSRequestOptions,
20
26
  cb: (err: any, data?: AssumeRoleCommandOutput) => void,
21
27
  ): void;
22
28
  assumeRoleWithWebIdentity(
23
29
  args: AssumeRoleWithWebIdentityCommandInput,
24
- options?: __HttpHandlerOptions,
30
+ options?: STSRequestOptions,
25
31
  ): Promise<AssumeRoleWithWebIdentityCommandOutput>;
26
32
  assumeRoleWithWebIdentity(
27
33
  args: AssumeRoleWithWebIdentityCommandInput,
@@ -29,7 +35,7 @@ export interface STS {
29
35
  ): void;
30
36
  assumeRoleWithWebIdentity(
31
37
  args: AssumeRoleWithWebIdentityCommandInput,
32
- options: __HttpHandlerOptions,
38
+ options: STSRequestOptions,
33
39
  cb: (err: any, data?: AssumeRoleWithWebIdentityCommandOutput) => void,
34
40
  ): void;
35
41
  }
@@ -26,6 +26,7 @@ export interface AssumeRoleRequest {
26
26
  TokenCode?: string | undefined;
27
27
  SourceIdentity?: string | undefined;
28
28
  ProvidedContexts?: ProvidedContext[] | undefined;
29
+ MinimumSessionTokenSize?: number | undefined;
29
30
  }
30
31
  export interface Credentials {
31
32
  AccessKeyId: string | undefined;
@@ -38,6 +39,8 @@ export interface AssumeRoleResponse {
38
39
  AssumedRoleUser?: AssumedRoleUser | undefined;
39
40
  PackedPolicySize?: number | undefined;
40
41
  SourceIdentity?: string | undefined;
42
+ SessionTokenUtilization?: number | undefined;
43
+ SessionTokenSize?: number | undefined;
41
44
  }
42
45
  export interface AssumeRoleWithWebIdentityRequest {
43
46
  RoleArn: string | undefined;
@@ -47,6 +50,7 @@ export interface AssumeRoleWithWebIdentityRequest {
47
50
  PolicyArns?: PolicyDescriptorType[] | undefined;
48
51
  Policy?: string | undefined;
49
52
  DurationSeconds?: number | undefined;
53
+ MinimumSessionTokenSize?: number | undefined;
50
54
  }
51
55
  export interface AssumeRoleWithWebIdentityResponse {
52
56
  Credentials?: Credentials | undefined;
@@ -56,4 +60,6 @@ export interface AssumeRoleWithWebIdentityResponse {
56
60
  Provider?: string | undefined;
57
61
  Audience?: string | undefined;
58
62
  SourceIdentity?: string | undefined;
63
+ SessionTokenUtilization?: number | undefined;
64
+ SessionTokenSize?: number | undefined;
59
65
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.45",
3
+ "version": "3.997.46",
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,13 +100,13 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.978.0",
104
- "@aws-sdk/signature-v4-multi-region": "^3.996.46",
105
- "@aws-sdk/types": "^3.974.5",
106
- "@smithy/core": "^3.33.3",
107
- "@smithy/fetch-http-handler": "^5.7.2",
108
- "@smithy/node-http-handler": "^4.11.3",
109
- "@smithy/types": "^4.17.2",
103
+ "@aws-sdk/core": "^3.978.1",
104
+ "@aws-sdk/signature-v4-multi-region": "^3.996.47",
105
+ "@aws-sdk/types": "^3.974.6",
106
+ "@smithy/core": "^3.35.0",
107
+ "@smithy/fetch-http-handler": "^5.8.0",
108
+ "@smithy/node-http-handler": "^4.12.1",
109
+ "@smithy/types": "^4.19.0",
110
110
  "tslib": "^2.6.2"
111
111
  },
112
112
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.46",
3
+ "version": "3.996.47",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -42,9 +42,9 @@
42
42
  "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@aws-sdk/types": "^3.974.5",
46
- "@smithy/signature-v4": "^5.6.12",
47
- "@smithy/types": "^4.17.2",
45
+ "@aws-sdk/types": "^3.974.6",
46
+ "@smithy/signature-v4": "^5.7.3",
47
+ "@smithy/types": "^4.19.0",
48
48
  "tslib": "^2.6.2"
49
49
  },
50
50
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1129.0",
3
+ "version": "3.1138.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,11 +48,11 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.0",
52
- "@aws-sdk/nested-clients": "^3.997.45",
53
- "@aws-sdk/types": "^3.974.5",
54
- "@smithy/core": "^3.33.3",
55
- "@smithy/types": "^4.17.2",
51
+ "@aws-sdk/core": "^3.978.1",
52
+ "@aws-sdk/nested-clients": "^3.997.46",
53
+ "@aws-sdk/types": "^3.974.6",
54
+ "@smithy/core": "^3.35.0",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {
@@ -28,6 +28,7 @@ export type AwsSdkFeatures = Partial<{
28
28
  FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
29
29
  FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
30
30
  DDB_MAPPER: "d";
31
+ S3_REGION_REDIRECT: "Ah";
31
32
  }> & AwsSdkCredentialsFeatures & AwsSdkTokenFeatures;
32
33
  /**
33
34
  * @internal
@@ -25,6 +25,7 @@ export type AwsSdkFeatures = Partial<{
25
25
  FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
26
26
  FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
27
27
  DDB_MAPPER: "d";
28
+ S3_REGION_REDIRECT: "Ah";
28
29
  }> &
29
30
  AwsSdkCredentialsFeatures &
30
31
  AwsSdkTokenFeatures;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.974.5",
3
+ "version": "3.974.6",
4
4
  "description": "Types for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "test": "tsc -p tsconfig.test.json"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^4.17.2",
44
+ "@smithy/types": "^4.19.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {