@aws-sdk/client-sts 3.362.0 → 3.369.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 (75) hide show
  1. package/dist-cjs/STS.js +1 -1
  2. package/dist-cjs/STSClient.js +5 -5
  3. package/dist-cjs/commands/AssumeRoleCommand.js +3 -3
  4. package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +3 -3
  5. package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
  6. package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +3 -3
  7. package/dist-cjs/commands/GetAccessKeyInfoCommand.js +3 -3
  8. package/dist-cjs/commands/GetCallerIdentityCommand.js +3 -3
  9. package/dist-cjs/commands/GetFederationTokenCommand.js +3 -3
  10. package/dist-cjs/commands/GetSessionTokenCommand.js +3 -3
  11. package/dist-cjs/models/STSServiceException.js +1 -1
  12. package/dist-cjs/models/models_0.js +1 -1
  13. package/dist-cjs/protocols/Aws_query.js +1 -1
  14. package/dist-cjs/runtimeConfig.browser.js +7 -7
  15. package/dist-cjs/runtimeConfig.js +10 -10
  16. package/dist-cjs/runtimeConfig.shared.js +4 -4
  17. package/dist-es/STS.js +1 -1
  18. package/dist-es/STSClient.js +5 -5
  19. package/dist-es/commands/AssumeRoleCommand.js +3 -3
  20. package/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -3
  21. package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
  22. package/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -3
  23. package/dist-es/commands/GetAccessKeyInfoCommand.js +3 -3
  24. package/dist-es/commands/GetCallerIdentityCommand.js +3 -3
  25. package/dist-es/commands/GetFederationTokenCommand.js +3 -3
  26. package/dist-es/commands/GetSessionTokenCommand.js +3 -3
  27. package/dist-es/models/STSServiceException.js +1 -1
  28. package/dist-es/models/models_0.js +1 -1
  29. package/dist-es/protocols/Aws_query.js +1 -1
  30. package/dist-es/runtimeConfig.browser.js +7 -7
  31. package/dist-es/runtimeConfig.js +10 -10
  32. package/dist-es/runtimeConfig.shared.js +4 -4
  33. package/dist-types/STS.d.ts +1 -1
  34. package/dist-types/STSClient.d.ts +8 -8
  35. package/dist-types/commands/AssumeRoleCommand.d.ts +3 -3
  36. package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
  37. package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
  38. package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +3 -3
  39. package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +3 -3
  40. package/dist-types/commands/GetCallerIdentityCommand.d.ts +3 -3
  41. package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -3
  42. package/dist-types/commands/GetSessionTokenCommand.d.ts +3 -3
  43. package/dist-types/defaultRoleAssumers.d.ts +1 -1
  44. package/dist-types/defaultStsRoleAssumers.d.ts +2 -1
  45. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  46. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  47. package/dist-types/endpoint/ruleset.d.ts +1 -1
  48. package/dist-types/models/STSServiceException.d.ts +1 -1
  49. package/dist-types/models/models_0.d.ts +1 -1
  50. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  51. package/dist-types/runtimeConfig.d.ts +20 -20
  52. package/dist-types/runtimeConfig.native.d.ts +19 -19
  53. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  54. package/dist-types/ts3.4/STS.d.ts +1 -1
  55. package/dist-types/ts3.4/STSClient.d.ts +19 -21
  56. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +3 -3
  57. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +3 -3
  58. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -3
  59. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +3 -3
  60. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +3 -3
  61. package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +3 -3
  62. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +3 -3
  63. package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +3 -3
  64. package/dist-types/ts3.4/defaultRoleAssumers.d.ts +1 -1
  65. package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +2 -1
  66. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  67. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  68. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  69. package/dist-types/ts3.4/models/STSServiceException.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  71. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  72. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  73. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  74. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  75. package/package.json +35 -34
package/dist-cjs/STS.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.STS = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const AssumeRoleCommand_1 = require("./commands/AssumeRoleCommand");
6
6
  const AssumeRoleWithSAMLCommand_1 = require("./commands/AssumeRoleWithSAMLCommand");
7
7
  const AssumeRoleWithWebIdentityCommand_1 = require("./commands/AssumeRoleWithWebIdentityCommand");
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.STSClient = exports.__Client = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
7
4
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
8
5
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
9
6
  const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
7
  const middleware_sdk_sts_1 = require("@aws-sdk/middleware-sdk-sts");
12
8
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
- const smithy_client_1 = require("@aws-sdk/smithy-client");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
+ const middleware_retry_1 = require("@smithy/middleware-retry");
13
+ const smithy_client_1 = require("@smithy/smithy-client");
14
14
  Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
16
  const runtimeConfig_1 = require("./runtimeConfig");
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssumeRoleCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_query_1 = require("../protocols/Aws_query");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssumeRoleWithSAMLCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssumeRoleWithWebIdentityCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
8
  const models_0_1 = require("../models/models_0");
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DecodeAuthorizationMessageCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
10
  class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAccessKeyInfoCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
10
  class GetAccessKeyInfoCommand extends smithy_client_1.Command {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCallerIdentityCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const Aws_query_1 = require("../protocols/Aws_query");
10
10
  class GetCallerIdentityCommand extends smithy_client_1.Command {
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetFederationTokenCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_query_1 = require("../protocols/Aws_query");
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetSessionTokenCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
4
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
7
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
+ const middleware_serde_1 = require("@smithy/middleware-serde");
7
+ const smithy_client_1 = require("@smithy/smithy-client");
8
8
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_query_1 = require("../protocols/Aws_query");
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.STSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
6
  class STSServiceException extends smithy_client_1.ServiceException {
7
7
  constructor(options) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetSessionTokenResponseFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityResponseFilterSensitiveLog = exports.AssumeRoleWithWebIdentityRequestFilterSensitiveLog = exports.AssumeRoleWithSAMLResponseFilterSensitiveLog = exports.AssumeRoleWithSAMLRequestFilterSensitiveLog = exports.AssumeRoleResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.InvalidAuthorizationMessageException = exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const STSServiceException_1 = require("./STSServiceException");
6
6
  class ExpiredTokenException extends STSServiceException_1.STSServiceException {
7
7
  constructor(opts) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_GetSessionTokenCommand = exports.de_GetFederationTokenCommand = exports.de_GetCallerIdentityCommand = exports.de_GetAccessKeyInfoCommand = exports.de_DecodeAuthorizationMessageCommand = exports.de_AssumeRoleWithWebIdentityCommand = exports.de_AssumeRoleWithSAMLCommand = exports.de_AssumeRoleCommand = exports.se_GetSessionTokenCommand = exports.se_GetFederationTokenCommand = exports.se_GetCallerIdentityCommand = exports.se_GetAccessKeyInfoCommand = exports.se_DecodeAuthorizationMessageCommand = exports.se_AssumeRoleWithWebIdentityCommand = exports.se_AssumeRoleWithSAMLCommand = exports.se_AssumeRoleCommand = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
4
  const protocol_http_1 = require("@smithy/protocol-http");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const fast_xml_parser_1 = require("fast-xml-parser");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const STSServiceException_1 = require("../models/STSServiceException");
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
- const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
- const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
- const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
- const util_retry_1 = require("@aws-sdk/util-retry");
12
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@aws-sdk/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
15
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -4,19 +4,19 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const defaultStsRoleAssumers_1 = require("./defaultStsRoleAssumers");
7
- const config_resolver_1 = require("@aws-sdk/config-resolver");
8
7
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const hash_node_1 = require("@aws-sdk/hash-node");
10
- const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
- const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
- const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
- const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
14
- const util_retry_1 = require("@aws-sdk/util-retry");
15
8
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
16
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@aws-sdk/smithy-client");
18
- const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
- const smithy_client_2 = require("@aws-sdk/smithy-client");
17
+ const smithy_client_1 = require("@smithy/smithy-client");
18
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
+ const smithy_client_2 = require("@smithy/smithy-client");
20
20
  const getRuntimeConfig = (config) => {
21
21
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
22
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const smithy_client_1 = require("@aws-sdk/smithy-client");
5
- const url_parser_1 = require("@aws-sdk/url-parser");
6
- const util_base64_1 = require("@aws-sdk/util-base64");
7
- const util_utf8_1 = require("@aws-sdk/util-utf8");
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const url_parser_1 = require("@smithy/url-parser");
6
+ const util_base64_1 = require("@smithy/util-base64");
7
+ const util_utf8_1 = require("@smithy/util-utf8");
8
8
  const endpointResolver_1 = require("./endpoint/endpointResolver");
9
9
  const getRuntimeConfig = (config) => ({
10
10
  apiVersion: "2011-06-15",
package/dist-es/STS.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";
3
3
  import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand";
4
4
  import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand";
@@ -1,13 +1,13 @@
1
- import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
- import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
4
1
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
7
- import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
4
  import { resolveStsAuthConfig } from "@aws-sdk/middleware-sdk-sts";
9
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
- import { Client as __Client, } from "@aws-sdk/smithy-client";
6
+ import { resolveRegionConfig } from "@smithy/config-resolver";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
11
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
13
  export { __Client };
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
6
6
  import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
7
7
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
7
  export class DecodeAuthorizationMessageCommand extends $Command {
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
7
  export class GetAccessKeyInfoCommand extends $Command {
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
7
  export class GetCallerIdentityCommand extends $Command {
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
7
7
  export { $Command };
@@ -1,7 +1,7 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
1
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
+ import { getSerdePlugin } from "@smithy/middleware-serde";
4
+ import { Command as $Command } from "@smithy/smithy-client";
5
5
  import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
7
7
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
2
  export { __ServiceException };
3
3
  export class STSServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,4 +1,4 @@
1
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { STSServiceException as __BaseException } from "./STSServiceException";
3
3
  export class ExpiredTokenException extends __BaseException {
4
4
  constructor(opts) {
@@ -1,5 +1,5 @@
1
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getValueFromTextNode as __getValueFromTextNode, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getValueFromTextNode as __getValueFromTextNode, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { ExpiredTokenException, IDPCommunicationErrorException, IDPRejectedClaimException, InvalidAuthorizationMessageException, InvalidIdentityTokenException, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, } from "../models/models_0";
5
5
  import { STSServiceException as __BaseException } from "../models/STSServiceException";
@@ -1,14 +1,14 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
- import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
3
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -1,18 +1,18 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "./defaultStsRoleAssumers";
3
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { Hash } from "@aws-sdk/hash-node";
6
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
- import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
- import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
- import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
11
4
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ 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";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
16
  export const getRuntimeConfig = (config) => {
17
17
  emitWarningIfUnsupportedVersion(process.version);
18
18
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -1,7 +1,7 @@
1
- import { NoOpLogger } from "@aws-sdk/smithy-client";
2
- import { parseUrl } from "@aws-sdk/url-parser";
3
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
- import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
1
+ import { NoOpLogger } from "@smithy/smithy-client";
2
+ import { parseUrl } from "@smithy/url-parser";
3
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
4
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
6
  export const getRuntimeConfig = (config) => ({
7
7
  apiVersion: "2011-06-15",
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
3
3
  import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
4
4
  import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
@@ -1,13 +1,13 @@
1
- import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
2
  import { StsAuthInputConfig, StsAuthResolvedConfig } from "@aws-sdk/middleware-sdk-sts";
6
3
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
9
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
- import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { AssumeRoleCommandInput, AssumeRoleCommandOutput } from "./commands/AssumeRoleCommand";
12
12
  import { AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput } from "./commands/AssumeRoleWithSAMLCommand";
13
13
  import { AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput } from "./commands/AssumeRoleWithWebIdentityCommand";
@@ -35,7 +35,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
35
35
  */
36
36
  requestHandler?: __HttpHandler;
37
37
  /**
38
- * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
38
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
39
39
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
40
40
  * @internal
41
41
  */
@@ -125,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
125
125
  */
126
126
  logger?: __Logger;
127
127
  /**
128
- * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
128
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
129
129
  */
130
130
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
131
131
  }
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
6
6
  /**