@aws-sdk/client-sts 3.1045.0 → 3.1047.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.
Files changed (79) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +11 -17
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +155 -57
  5. package/dist-cjs/models/STSServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +19 -23
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/STS.js +1 -1
  10. package/dist-es/STSClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +5 -10
  12. package/dist-es/commands/AssumeRoleCommand.js +2 -2
  13. package/dist-es/commands/AssumeRoleWithSAMLCommand.js +2 -2
  14. package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  15. package/dist-es/commands/AssumeRootCommand.js +2 -2
  16. package/dist-es/commands/DecodeAuthorizationMessageCommand.js +2 -2
  17. package/dist-es/commands/GetAccessKeyInfoCommand.js +2 -2
  18. package/dist-es/commands/GetCallerIdentityCommand.js +2 -2
  19. package/dist-es/commands/GetDelegatedAccessTokenCommand.js +2 -2
  20. package/dist-es/commands/GetFederationTokenCommand.js +2 -2
  21. package/dist-es/commands/GetSessionTokenCommand.js +2 -2
  22. package/dist-es/commands/GetWebIdentityTokenCommand.js +2 -2
  23. package/dist-es/defaultStsRoleAssumers.js +0 -5
  24. package/dist-es/endpoint/bdd.js +1 -1
  25. package/dist-es/endpoint/endpointResolver.js +1 -1
  26. package/dist-es/models/STSServiceException.js +1 -1
  27. package/dist-es/runtimeConfig.browser.js +4 -6
  28. package/dist-es/runtimeConfig.js +4 -8
  29. package/dist-es/runtimeConfig.shared.js +3 -4
  30. package/dist-es/runtimeExtensions.js +2 -2
  31. package/dist-types/STSClient.d.ts +5 -5
  32. package/dist-types/auth/httpAuthSchemeProvider.d.ts +3 -13
  33. package/dist-types/commands/AssumeRoleCommand.d.ts +6 -4
  34. package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +6 -4
  35. package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  36. package/dist-types/commands/AssumeRootCommand.d.ts +6 -4
  37. package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -4
  38. package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -4
  39. package/dist-types/commands/GetCallerIdentityCommand.d.ts +6 -4
  40. package/dist-types/commands/GetDelegatedAccessTokenCommand.d.ts +6 -4
  41. package/dist-types/commands/GetFederationTokenCommand.d.ts +6 -4
  42. package/dist-types/commands/GetSessionTokenCommand.d.ts +6 -4
  43. package/dist-types/commands/GetWebIdentityTokenCommand.d.ts +6 -4
  44. package/dist-types/defaultStsRoleAssumers.d.ts +0 -9
  45. package/dist-types/endpoint/bdd.d.ts +1 -1
  46. package/dist-types/extensionConfiguration.d.ts +1 -1
  47. package/dist-types/models/STSServiceException.d.ts +1 -1
  48. package/dist-types/models/errors.d.ts +1 -1
  49. package/dist-types/runtimeConfig.browser.d.ts +3 -3
  50. package/dist-types/runtimeConfig.d.ts +3 -3
  51. package/dist-types/runtimeConfig.native.d.ts +3 -3
  52. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  53. package/dist-types/ts3.4/STSClient.d.ts +8 -14
  54. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +2 -12
  55. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +6 -4
  56. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +6 -4
  57. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
  58. package/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +6 -4
  59. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +6 -4
  60. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +6 -4
  61. package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +6 -4
  62. package/dist-types/ts3.4/commands/GetDelegatedAccessTokenCommand.d.ts +6 -4
  63. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +6 -4
  64. package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +6 -4
  65. package/dist-types/ts3.4/commands/GetWebIdentityTokenCommand.d.ts +6 -4
  66. package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +0 -3
  67. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  68. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  69. package/dist-types/ts3.4/models/STSServiceException.d.ts +1 -1
  70. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  71. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -4
  72. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
  73. package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  74. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  75. package/package.json +15 -36
  76. package/dist-cjs/STSClient.js +0 -55
  77. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  78. package/dist-cjs/endpoint/EndpointParameters.js +0 -19
  79. package/dist-cjs/runtimeExtensions.js +0 -13
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
11
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
- import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultSTSHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,9 +1,8 @@
1
1
  import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
- import { resolveParams } from "@smithy/middleware-endpoint";
4
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
4
+ import { resolveParams } from "@smithy/core/endpoints";
5
5
  import { defaultEndpointResolver } from "../endpoint/endpointResolver";
6
- import { STSClient } from "../STSClient";
7
6
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
8
7
  if (!input) {
9
8
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
@@ -130,14 +129,10 @@ export const defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSch
130
129
  "aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
131
130
  "smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption,
132
131
  });
133
- export const resolveStsAuthConfig = (input) => Object.assign(input, {
134
- stsClientCtor: STSClient,
135
- });
136
132
  export const resolveHttpAuthSchemeConfig = (config) => {
137
- const config_0 = resolveStsAuthConfig(config);
138
- const config_1 = resolveAwsSdkSigV4Config(config_0);
139
- const config_2 = resolveAwsSdkSigV4AConfig(config_1);
140
- return Object.assign(config_2, {
133
+ const config_0 = resolveAwsSdkSigV4Config(config);
134
+ const config_1 = resolveAwsSdkSigV4AConfig(config_0);
135
+ return Object.assign(config_1, {
141
136
  authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
142
137
  });
143
138
  };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { AssumeRole$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { AssumeRoleWithSAML$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { AssumeRoleWithWebIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { AssumeRoot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DecodeAuthorizationMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetAccessKeyInfo$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetCallerIdentity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetDelegatedAccessToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetFederationToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetSessionToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetWebIdentityToken$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -97,11 +97,6 @@ export const getDefaultRoleAssumerWithWebIdentity = (stsOptions, STSClient) => {
97
97
  return credentials;
98
98
  };
99
99
  };
100
- export const decorateDefaultCredentialProvider = (provider) => (input) => provider({
101
- roleAssumer: getDefaultRoleAssumer(input, input.stsClientCtor),
102
- roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input, input.stsClientCtor),
103
- ...input,
104
- });
105
100
  const isH2 = (requestHandler) => {
106
101
  return requestHandler?.metadata?.handlerProtocol === "h2";
107
102
  };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const q = "ref";
3
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "stringEquals", g = "getAttr", h = "us-east-1", i = "sigv4", j = "sts", k = "https://sts.{Region}.{PartitionResult#dnsSuffix}", l = { [q]: "Endpoint" }, m = { [q]: "Region" }, n = { [q]: d }, o = {}, p = [m];
4
4
  const _data = {
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class STSServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,16 +3,12 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
6
  import { NoAuthSigner } from "@smithy/core";
8
- import { Hash } from "@smithy/hash-node";
9
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
10
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
7
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
8
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
9
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
10
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
11
11
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
12
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
13
- import { calculateBodyLength } from "@smithy/util-body-length-node";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
16
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
17
13
  export const getRuntimeConfig = (config) => {
18
14
  emitWarningIfUnsupportedVersion(process.version);
@@ -2,10 +2,9 @@ import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSch
2
2
  import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
3
3
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
4
4
  import { NoAuthSigner } from "@smithy/core";
5
- import { NoOpLogger } from "@smithy/smithy-client";
6
- import { parseUrl } from "@smithy/url-parser";
7
- import { fromBase64, toBase64 } from "@smithy/util-base64";
8
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
+ import { NoOpLogger } from "@smithy/core/client";
6
+ import { parseUrl } from "@smithy/core/protocols";
7
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
9
8
  import { defaultSTSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
10
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
11
10
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
@@ -1,5 +1,5 @@
1
1
  import { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
- import type { Client, HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
3
  import { EndpointParameters } from "../endpoint/EndpointParameters";
4
4
  import { STSClientResolvedConfig } from "../STSClient";
5
5
  /**
@@ -32,20 +32,10 @@ export interface STSHttpAuthSchemeProvider extends HttpAuthSchemeProvider<STSHtt
32
32
  * @internal
33
33
  */
34
34
  export declare const defaultSTSHttpAuthSchemeProvider: STSHttpAuthSchemeProvider;
35
- export interface StsAuthInputConfig {
36
- }
37
- export interface StsAuthResolvedConfig {
38
- /**
39
- * Reference to STSClient class constructor.
40
- * @internal
41
- */
42
- stsClientCtor: new (clientConfig: any) => Client<any, any, any>;
43
- }
44
- export declare const resolveStsAuthConfig: <T>(input: T & StsAuthInputConfig) => T & StsAuthResolvedConfig;
45
35
  /**
46
36
  * @public
47
37
  */
48
- export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
38
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AAuthInputConfig {
49
39
  /**
50
40
  * A comma-separated list of case-sensitive auth scheme names.
51
41
  * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
@@ -67,7 +57,7 @@ export interface HttpAuthSchemeInputConfig extends StsAuthInputConfig, AwsSdkSig
67
57
  /**
68
58
  * @internal
69
59
  */
70
- export interface HttpAuthSchemeResolvedConfig extends StsAuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
60
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig {
71
61
  /**
72
62
  * A comma-separated list of case-sensitive auth scheme names.
73
63
  * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface AssumeRoleCommandInput extends AssumeRoleRequest {
22
22
  export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AssumeRoleCommand_base: {
25
- new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of temporary security credentials that you can use to access Amazon Web Services
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface AssumeRoleWithSAMLCommandInput extends AssumeRoleWithSAMLReques
22
22
  export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AssumeRoleWithSAMLCommand_base: {
25
- new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of temporary security credentials for users who have been authenticated
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface AssumeRoleWithWebIdentityCommandInput extends AssumeRoleWithWeb
22
22
  export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWebIdentityResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AssumeRoleWithWebIdentityCommand_base: {
25
- new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/core/client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of temporary security credentials for users who have been authenticated in
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { AssumeRootRequest, AssumeRootResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface AssumeRootCommandInput extends AssumeRootRequest {
22
22
  export interface AssumeRootCommandOutput extends AssumeRootResponse, __MetadataBearer {
23
23
  }
24
24
  declare const AssumeRootCommand_base: {
25
- new (input: AssumeRootCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssumeRootCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: AssumeRootCommandInput): import("@smithy/core/client").CommandImpl<AssumeRootCommandInput, AssumeRootCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of short term credentials you can use to perform privileged tasks on a
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface DecodeAuthorizationMessageCommandInput extends DecodeAuthorizat
22
22
  export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthorizationMessageResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DecodeAuthorizationMessageCommand_base: {
25
- new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/core/client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Decodes additional information about the authorization status of a request from an
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {
22
22
  export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetAccessKeyInfoCommand_base: {
25
- new (input: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAccessKeyInfoCommandInput): import("@smithy/core/client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns the account identifier for the specified access key ID.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetCallerIdentityCommandInput extends GetCallerIdentityRequest
22
22
  export interface GetCallerIdentityCommandOutput extends GetCallerIdentityResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetCallerIdentityCommand_base: {
25
- new (input: GetCallerIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetCallerIdentityCommandInput]): import("@smithy/smithy-client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetCallerIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetCallerIdentityCommandInput]): import("@smithy/core/client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns details about the IAM user or role whose credentials are used to
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetDelegatedAccessTokenRequest, GetDelegatedAccessTokenResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetDelegatedAccessTokenCommandInput extends GetDelegatedAccessT
22
22
  export interface GetDelegatedAccessTokenCommandOutput extends GetDelegatedAccessTokenResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetDelegatedAccessTokenCommand_base: {
25
- new (input: GetDelegatedAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetDelegatedAccessTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetDelegatedAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDelegatedAccessTokenCommandInput): import("@smithy/core/client").CommandImpl<GetDelegatedAccessTokenCommandInput, GetDelegatedAccessTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Exchanges a trade-in token for temporary Amazon Web Services credentials with the permissions
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetFederationTokenCommandInput extends GetFederationTokenReques
22
22
  export interface GetFederationTokenCommandOutput extends GetFederationTokenResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetFederationTokenCommand_base: {
25
- new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetFederationTokenCommandInput): import("@smithy/core/client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetFederationTokenCommandInput): import("@smithy/core/client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of temporary security credentials (consisting of an access key ID, a
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {
22
22
  export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetSessionTokenCommand_base: {
25
- new (input: GetSessionTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetSessionTokenCommandInput]): import("@smithy/smithy-client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetSessionTokenCommandInput): import("@smithy/core/client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [GetSessionTokenCommandInput]): import("@smithy/core/client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a set of temporary credentials for an Amazon Web Services account or IAM user.
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { GetWebIdentityTokenRequest, GetWebIdentityTokenResponse } from "../models/models_0";
4
4
  import type { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
@@ -22,9 +22,11 @@ export interface GetWebIdentityTokenCommandInput extends GetWebIdentityTokenRequ
22
22
  export interface GetWebIdentityTokenCommandOutput extends GetWebIdentityTokenResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetWebIdentityTokenCommand_base: {
25
- new (input: GetWebIdentityTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetWebIdentityTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetWebIdentityTokenCommandInput): import("@smithy/core/client").CommandImpl<GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetWebIdentityTokenCommandInput): import("@smithy/core/client").CommandImpl<GetWebIdentityTokenCommandInput, GetWebIdentityTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Returns a signed JSON Web Token (JWT) that represents the calling Amazon Web Services identity.
@@ -32,12 +32,3 @@ export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: STSRoleA
32
32
  * @internal
33
33
  */
34
34
  export type DefaultCredentialProvider = (input: any) => Provider<AwsCredentialIdentity>;
35
- /**
36
- * The default credential providers depend STS client to assume role with desired API: sts:assumeRole,
37
- * sts:assumeRoleWithWebIdentity, etc. This function decorates the default credential provider with role assumers which
38
- * encapsulates the process of calling STS commands. This can only be imported by AWS client packages to avoid circular
39
- * dependencies.
40
- *
41
- * @internal
42
- */
43
- export declare const decorateDefaultCredentialProvider: (provider: DefaultCredentialProvider) => DefaultCredentialProvider;
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**