@aws-sdk/client-sts 3.919.0 → 3.921.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.
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
5
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
5
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
6
6
  const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -8,6 +8,7 @@ var EndpointParameters = require('./endpoint/EndpointParameters');
8
8
  var core = require('@aws-sdk/core');
9
9
  var protocolHttp = require('@smithy/protocol-http');
10
10
  var client = require('@aws-sdk/core/client');
11
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
11
12
 
12
13
  class STSServiceException extends smithyClient.ServiceException {
13
14
  constructor(options) {
@@ -1247,7 +1248,6 @@ class STS extends STSClient.STSClient {
1247
1248
  }
1248
1249
  smithyClient.createAggregatedClient(commands, STS);
1249
1250
 
1250
- const ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
1251
1251
  const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
1252
1252
  if (typeof assumedRoleUser?.Arn === "string") {
1253
1253
  const arnComponents = assumedRoleUser.Arn.split(":");
@@ -1257,11 +1257,12 @@ const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
1257
1257
  }
1258
1258
  return undefined;
1259
1259
  };
1260
- const resolveRegion = async (_region, _parentRegion, credentialProviderLogger) => {
1260
+ const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
1261
1261
  const region = typeof _region === "function" ? await _region() : _region;
1262
1262
  const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
1263
- credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (provider)`, `${parentRegion} (parent client)`, `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`);
1264
- return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
1263
+ const stsDefaultRegion = await regionConfigResolver.stsRegionDefaultResolver(loaderConfig)();
1264
+ credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
1265
+ return region ?? parentRegion ?? stsDefaultRegion;
1265
1266
  };
1266
1267
  const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
1267
1268
  let stsClient;
@@ -1270,7 +1271,10 @@ const getDefaultRoleAssumer$1 = (stsOptions, STSClient) => {
1270
1271
  closureSourceCreds = sourceCreds;
1271
1272
  if (!stsClient) {
1272
1273
  const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
1273
- const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
1274
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
1275
+ logger,
1276
+ profile,
1277
+ });
1274
1278
  const isCompatibleRequestHandler = !isH2(requestHandler);
1275
1279
  stsClient = new STSClient({
1276
1280
  ...stsOptions,
@@ -1303,7 +1307,10 @@ const getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient) => {
1303
1307
  return async (params) => {
1304
1308
  if (!stsClient) {
1305
1309
  const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
1306
- const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
1310
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
1311
+ logger,
1312
+ profile,
1313
+ });
1307
1314
  const isCompatibleRequestHandler = !isH2(requestHandler);
1308
1315
  stsClient = new STSClient({
1309
1316
  ...stsOptions,
@@ -1,7 +1,7 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
+ import { stsRegionDefaultResolver } from "@aws-sdk/region-config-resolver";
2
3
  import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
3
4
  import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
4
- const ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
5
5
  const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
6
6
  if (typeof assumedRoleUser?.Arn === "string") {
7
7
  const arnComponents = assumedRoleUser.Arn.split(":");
@@ -11,11 +11,12 @@ const getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
11
11
  }
12
12
  return undefined;
13
13
  };
14
- const resolveRegion = async (_region, _parentRegion, credentialProviderLogger) => {
14
+ const resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
15
15
  const region = typeof _region === "function" ? await _region() : _region;
16
16
  const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
17
- credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (provider)`, `${parentRegion} (parent client)`, `${ASSUME_ROLE_DEFAULT_REGION} (STS default)`);
18
- return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION;
17
+ const stsDefaultRegion = await stsRegionDefaultResolver(loaderConfig)();
18
+ credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
19
+ return region ?? parentRegion ?? stsDefaultRegion;
19
20
  };
20
21
  export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
21
22
  let stsClient;
@@ -24,7 +25,10 @@ export const getDefaultRoleAssumer = (stsOptions, STSClient) => {
24
25
  closureSourceCreds = sourceCreds;
25
26
  if (!stsClient) {
26
27
  const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
27
- const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
28
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
29
+ logger,
30
+ profile,
31
+ });
28
32
  const isCompatibleRequestHandler = !isH2(requestHandler);
29
33
  stsClient = new STSClient({
30
34
  ...stsOptions,
@@ -57,7 +61,10 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
57
61
  return async (params) => {
58
62
  if (!stsClient) {
59
63
  const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, } = stsOptions;
60
- const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
64
+ const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
65
+ logger,
66
+ profile,
67
+ });
61
68
  const isCompatibleRequestHandler = !isH2(requestHandler);
62
69
  stsClient = new STSClient({
63
70
  ...stsOptions,
@@ -1,4 +1,4 @@
1
1
  const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
2
- const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
2
+ const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "string" }, n = { [F]: true, "default": false, [G]: "boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
3
3
  const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
4
4
  export const ruleSet = _data;
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
10
10
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
11
11
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
12
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
- credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
13
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
14
14
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
16
16
  schemeId: string;
@@ -13,9 +13,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
13
13
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
14
  | ((
15
15
  init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
- ) => import("@smithy/types").MemoizedProvider<
17
- import("@smithy/types").AwsCredentialIdentity
18
- >);
16
+ ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
19
17
  defaultUserAgentProvider: (
20
18
  config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
19
  ) => Promise<import("@smithy/types").UserAgent>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.919.0",
4
+ "version": "3.921.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -22,41 +22,41 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.916.0",
26
- "@aws-sdk/credential-provider-node": "3.919.0",
27
- "@aws-sdk/middleware-host-header": "3.914.0",
28
- "@aws-sdk/middleware-logger": "3.914.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.919.0",
30
- "@aws-sdk/middleware-user-agent": "3.916.0",
31
- "@aws-sdk/region-config-resolver": "3.914.0",
32
- "@aws-sdk/types": "3.914.0",
33
- "@aws-sdk/util-endpoints": "3.916.0",
34
- "@aws-sdk/util-user-agent-browser": "3.914.0",
35
- "@aws-sdk/util-user-agent-node": "3.916.0",
36
- "@smithy/config-resolver": "^4.4.0",
37
- "@smithy/core": "^3.17.1",
38
- "@smithy/fetch-http-handler": "^5.3.4",
39
- "@smithy/hash-node": "^4.2.3",
40
- "@smithy/invalid-dependency": "^4.2.3",
41
- "@smithy/middleware-content-length": "^4.2.3",
42
- "@smithy/middleware-endpoint": "^4.3.5",
43
- "@smithy/middleware-retry": "^4.4.5",
44
- "@smithy/middleware-serde": "^4.2.3",
45
- "@smithy/middleware-stack": "^4.2.3",
46
- "@smithy/node-config-provider": "^4.3.3",
47
- "@smithy/node-http-handler": "^4.4.3",
48
- "@smithy/protocol-http": "^5.3.3",
49
- "@smithy/smithy-client": "^4.9.1",
50
- "@smithy/types": "^4.8.0",
51
- "@smithy/url-parser": "^4.2.3",
25
+ "@aws-sdk/core": "3.921.0",
26
+ "@aws-sdk/credential-provider-node": "3.921.0",
27
+ "@aws-sdk/middleware-host-header": "3.921.0",
28
+ "@aws-sdk/middleware-logger": "3.921.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.921.0",
30
+ "@aws-sdk/middleware-user-agent": "3.921.0",
31
+ "@aws-sdk/region-config-resolver": "3.921.0",
32
+ "@aws-sdk/types": "3.921.0",
33
+ "@aws-sdk/util-endpoints": "3.921.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.921.0",
35
+ "@aws-sdk/util-user-agent-node": "3.921.0",
36
+ "@smithy/config-resolver": "^4.4.1",
37
+ "@smithy/core": "^3.17.2",
38
+ "@smithy/fetch-http-handler": "^5.3.5",
39
+ "@smithy/hash-node": "^4.2.4",
40
+ "@smithy/invalid-dependency": "^4.2.4",
41
+ "@smithy/middleware-content-length": "^4.2.4",
42
+ "@smithy/middleware-endpoint": "^4.3.6",
43
+ "@smithy/middleware-retry": "^4.4.6",
44
+ "@smithy/middleware-serde": "^4.2.4",
45
+ "@smithy/middleware-stack": "^4.2.4",
46
+ "@smithy/node-config-provider": "^4.3.4",
47
+ "@smithy/node-http-handler": "^4.4.4",
48
+ "@smithy/protocol-http": "^5.3.4",
49
+ "@smithy/smithy-client": "^4.9.2",
50
+ "@smithy/types": "^4.8.1",
51
+ "@smithy/url-parser": "^4.2.4",
52
52
  "@smithy/util-base64": "^4.3.0",
53
53
  "@smithy/util-body-length-browser": "^4.2.0",
54
54
  "@smithy/util-body-length-node": "^4.2.1",
55
- "@smithy/util-defaults-mode-browser": "^4.3.4",
56
- "@smithy/util-defaults-mode-node": "^4.2.6",
57
- "@smithy/util-endpoints": "^3.2.3",
58
- "@smithy/util-middleware": "^4.2.3",
59
- "@smithy/util-retry": "^4.2.3",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.5",
56
+ "@smithy/util-defaults-mode-node": "^4.2.7",
57
+ "@smithy/util-endpoints": "^3.2.4",
58
+ "@smithy/util-middleware": "^4.2.4",
59
+ "@smithy/util-retry": "^4.2.4",
60
60
  "@smithy/util-utf8": "^4.2.0",
61
61
  "tslib": "^2.6.2"
62
62
  },