@aws-sdk/nested-clients 3.997.24 → 3.997.26

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 (117) hide show
  1. package/dist-cjs/submodules/cognito-identity/index.js +13 -25
  2. package/dist-cjs/submodules/signin/index.js +13 -17
  3. package/dist-cjs/submodules/sso/index.js +12 -15
  4. package/dist-cjs/submodules/sso-oidc/index.js +12 -15
  5. package/dist-cjs/submodules/sts/index.js +13 -25
  6. package/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
  7. package/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
  8. package/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
  9. package/dist-es/submodules/cognito-identity/index.js +1 -0
  10. package/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
  11. package/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
  12. package/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
  13. package/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
  14. package/dist-es/submodules/signin/commandBuilder.js +8 -0
  15. package/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
  16. package/dist-es/submodules/signin/index.js +1 -0
  17. package/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
  18. package/dist-es/submodules/signin/runtimeConfig.js +1 -2
  19. package/dist-es/submodules/signin/runtimeConfig.native.js +0 -2
  20. package/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  21. package/dist-es/submodules/sso/commandBuilder.js +6 -0
  22. package/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
  23. package/dist-es/submodules/sso/index.js +1 -0
  24. package/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
  25. package/dist-es/submodules/sso/runtimeConfig.js +1 -2
  26. package/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
  27. package/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
  28. package/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
  29. package/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
  30. package/dist-es/submodules/sso-oidc/index.js +1 -0
  31. package/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
  32. package/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
  33. package/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -2
  34. package/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  35. package/dist-es/submodules/sts/commandBuilder.js +6 -0
  36. package/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
  37. package/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
  38. package/dist-es/submodules/sts/index.js +1 -0
  39. package/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
  40. package/dist-es/submodules/sts/runtimeConfig.js +1 -2
  41. package/dist-es/submodules/sts/runtimeConfig.native.js +0 -2
  42. package/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  43. package/dist-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
  44. package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  45. package/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
  46. package/dist-types/submodules/cognito-identity/index.d.ts +1 -0
  47. package/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
  48. package/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
  49. package/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
  50. package/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
  52. package/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  53. package/dist-types/submodules/signin/index.d.ts +1 -0
  54. package/dist-types/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/submodules/signin/runtimeConfig.d.ts +1 -1
  56. package/dist-types/submodules/signin/runtimeConfig.native.d.ts +1 -1
  57. package/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  58. package/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
  59. package/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  60. package/dist-types/submodules/sso/index.d.ts +1 -0
  61. package/dist-types/submodules/sso/runtimeConfig.browser.d.ts +1 -1
  62. package/dist-types/submodules/sso/runtimeConfig.d.ts +1 -1
  63. package/dist-types/submodules/sso/runtimeConfig.native.d.ts +1 -1
  64. package/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  65. package/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
  66. package/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  67. package/dist-types/submodules/sso-oidc/index.d.ts +1 -0
  68. package/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  69. package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  70. package/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  71. package/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  72. package/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
  73. package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
  74. package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
  75. package/dist-types/submodules/sts/index.d.ts +1 -0
  76. package/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
  78. package/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  80. package/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
  84. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +1 -1
  85. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -1
  86. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +1 -1
  87. package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  88. package/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
  89. package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  90. package/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
  91. package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +1 -1
  94. package/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  95. package/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
  96. package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  97. package/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
  98. package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +1 -1
  99. package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -1
  100. package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +1 -1
  101. package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  102. package/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
  103. package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  104. package/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
  105. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -1
  106. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
  107. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -1
  108. package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  109. package/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
  110. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
  113. package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +1 -1
  114. package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -1
  115. package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +1 -1
  116. package/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  117. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRoleCredentials$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRoleCredentialsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SWBPortalService", "GetRoleCredentials", {})
13
- .n("SSOClient", "GetRoleCredentialsCommand")
14
- .sc(GetRoleCredentials$)
15
- .build() {
3
+ export class GetRoleCredentialsCommand extends command(_ep0, _mw0, "GetRoleCredentials", GetRoleCredentials$) {
16
4
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./SSOClient";
2
2
  export * from "./SSO";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/errors";
6
7
  export * from "./models/models_0";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../../../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -22,7 +21,6 @@ export const getRuntimeConfig = (config) => {
22
21
  region: config?.region ?? invalidProvider("Region is missing"),
23
22
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
24
23
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
25
- sha256: config?.sha256 ?? Sha256,
26
24
  streamCollector: config?.streamCollector ?? streamCollector,
27
25
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
28
26
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -4,7 +4,7 @@ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchem
4
4
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
5
5
  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";
6
6
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
7
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
8
8
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
10
  export const getRuntimeConfig = (config) => {
@@ -33,7 +33,6 @@ export const getRuntimeConfig = (config) => {
33
33
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
34
34
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
35
35
  }, config),
36
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
37
36
  streamCollector: config?.streamCollector ?? streamCollector,
38
37
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
39
38
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,6 +1,7 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
3
  import { NoAuthSigner } from "@smithy/core";
4
+ import { Sha256 } from "@smithy/core/checksum";
4
5
  import { NoOpLogger } from "@smithy/core/client";
5
6
  import { parseUrl } from "@smithy/core/protocols";
6
7
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -37,6 +38,7 @@ export const getRuntimeConfig = (config) => {
37
38
  serviceTarget: "SWBPortalService",
38
39
  },
39
40
  serviceId: config?.serviceId ?? "SSO",
41
+ sha256: config?.sha256 ?? Sha256,
40
42
  urlParser: config?.urlParser ?? parseUrl,
41
43
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
42
44
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSSSOOIDCService", "SSOOIDCClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSSOOIDCService", "CreateToken", {})
13
- .n("SSOOIDCClient", "CreateTokenCommand")
14
- .sc(CreateToken$)
15
- .build() {
3
+ export class CreateTokenCommand extends command(_ep0, _mw0, "CreateToken", CreateToken$) {
16
4
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./SSOOIDCClient";
2
2
  export * from "./SSOOIDC";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../../../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -22,7 +21,6 @@ export const getRuntimeConfig = (config) => {
22
21
  region: config?.region ?? invalidProvider("Region is missing"),
23
22
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
24
23
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
25
- sha256: config?.sha256 ?? Sha256,
26
24
  streamCollector: config?.streamCollector ?? streamCollector,
27
25
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
28
26
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -4,7 +4,7 @@ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchem
4
4
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
5
5
  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";
6
6
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
7
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
8
8
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
10
  export const getRuntimeConfig = (config) => {
@@ -33,7 +33,6 @@ export const getRuntimeConfig = (config) => {
33
33
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
34
34
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
35
35
  }, config),
36
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
37
36
  streamCollector: config?.streamCollector ?? streamCollector,
38
37
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
39
38
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,6 +1,7 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
3
  import { NoAuthSigner } from "@smithy/core";
4
+ import { Sha256 } from "@smithy/core/checksum";
4
5
  import { NoOpLogger } from "@smithy/core/client";
5
6
  import { parseUrl } from "@smithy/core/protocols";
6
7
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -37,6 +38,7 @@ export const getRuntimeConfig = (config) => {
37
38
  serviceTarget: "AWSSSOOIDCService",
38
39
  },
39
40
  serviceId: config?.serviceId ?? "SSO OIDC",
41
+ sha256: config?.sha256 ?? Sha256,
40
42
  urlParser: config?.urlParser ?? parseUrl,
41
43
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
42
44
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSSecurityTokenServiceV20110615", "STSClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssumeRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssumeRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSecurityTokenServiceV20110615", "AssumeRole", {})
13
- .n("STSClient", "AssumeRoleCommand")
14
- .sc(AssumeRole$)
15
- .build() {
3
+ export class AssumeRoleCommand extends command(_ep0, _mw0, "AssumeRole", AssumeRole$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssumeRoleWithWebIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssumeRoleWithWebIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {})
13
- .n("STSClient", "AssumeRoleWithWebIdentityCommand")
14
- .sc(AssumeRoleWithWebIdentity$)
15
- .build() {
3
+ export class AssumeRoleWithWebIdentityCommand extends command(_ep0, _mw0, "AssumeRoleWithWebIdentity", AssumeRoleWithWebIdentity$) {
16
4
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./STSClient";
2
2
  export * from "./STS";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/errors";
6
7
  export * from "./models/models_0";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../../../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { NoAuthSigner } from "@smithy/core";
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  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";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -51,7 +51,6 @@ export const getRuntimeConfig = (config) => {
51
51
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
52
52
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
53
53
  }, config),
54
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
55
54
  sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? loadNodeConfig(NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
56
55
  streamCollector: config?.streamCollector ?? streamCollector,
57
56
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -2,6 +2,7 @@ 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 { Sha256 } from "@smithy/core/checksum";
5
6
  import { NoOpLogger } from "@smithy/core/client";
6
7
  import { parseUrl } from "@smithy/core/protocols";
7
8
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -44,6 +45,7 @@ export const getRuntimeConfig = (config) => {
44
45
  serviceTarget: "AWSSecurityTokenServiceV20110615",
45
46
  },
46
47
  serviceId: config?.serviceId ?? "STS",
48
+ sha256: config?.sha256 ?? Sha256,
47
49
  signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
48
50
  urlParser: config?.urlParser ?? parseUrl,
49
51
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CognitoIdentityClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
4
2
  import type { GetCredentialsForIdentityInput, GetCredentialsForIdentityResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetCredentialsForIdentityCommandInput extends GetCredentialsFor
22
19
  export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsForIdentityResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetCredentialsForIdentityCommand_base: {
25
- new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, import("..").CognitoIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, import("..").CognitoIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns credentials for the provided identity ID. Any provided logins will be
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
4
2
  import type { GetIdInput, GetIdResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetIdCommandInput extends GetIdInput {
22
19
  export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetIdCommand_base: {
25
- new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, import("..").CognitoIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, import("..").CognitoIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Generates (or retrieves) IdentityID. Supplying multiple logins will create an
@@ -23,6 +23,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
23
23
  export type { RuntimeExtension } from "./runtimeExtensions";
24
24
  export type { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration";
25
25
  export * from "./commands";
26
+ export { Command as $Command } from "@smithy/core/client";
26
27
  export * from "./schemas/schemas_0";
27
28
  export * from "./models/errors";
28
29
  export * from "./models/models_0";
@@ -12,7 +12,6 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
12
12
  region: string | import("@smithy/types").Provider<any>;
13
13
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
14
14
  retryMode: string | import("@smithy/types").Provider<string>;
15
- sha256: import("@smithy/types").HashConstructor;
16
15
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
16
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
17
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -23,6 +22,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
23
22
  [setting: string]: unknown;
24
23
  };
25
24
  apiVersion: string;
25
+ sha256: import("@smithy/types").HashConstructor;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
28
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
18
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -25,6 +24,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
25
24
  [setting: string]: unknown;
26
25
  };
27
26
  apiVersion: string;
27
+ sha256: import("@smithy/types").HashConstructor;
28
28
  urlParser: import("@smithy/types").UrlParser;
29
29
  base64Decoder: import("@smithy/types").Decoder;
30
30
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
32
32
  defaultNamespace?: string;
33
33
  };
34
34
  serviceId: string;
35
+ sha256: import("@smithy/types").HashConstructor;
35
36
  urlParser: import("@smithy/types").UrlParser;
36
37
  utf8Decoder: import("@smithy/types").Decoder;
37
38
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { SigninClientResolvedConfig } from "./SigninClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends import("./commands").CreateOAuth2TokenCommandInput, O extends import("./commands").CreateOAuth2TokenCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SigninClientResolvedConfig, import("./commands").CreateOAuth2TokenCommandInput, import("./commands").CreateOAuth2TokenCommandOutput>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SigninClientResolvedConfig, import("./commands").CreateOAuth2TokenCommandInput, import("./commands").CreateOAuth2TokenCommandOutput>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0";
4
- import type { SigninClientResolvedConfig } from "../SigninClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest
22
19
  export interface CreateOAuth2TokenCommandOutput extends CreateOAuth2TokenResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateOAuth2TokenCommand_base: {
25
- new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
26
- new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, import("..").SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
23
+ new (input: CreateOAuth2TokenCommandInput): import("@smithy/core/client").CommandImpl<CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput, import("..").SigninClientResolvedConfig, CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * CreateOAuth2Token API
@@ -10,6 +10,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
10
10
  export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { SigninExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
+ export { Command as $Command } from "@smithy/core/client";
13
14
  export * from "./schemas/schemas_0";
14
15
  export * from "./models/enums";
15
16
  export * from "./models/errors";
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
18
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -25,6 +24,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
25
24
  [setting: string]: unknown;
26
25
  };
27
26
  apiVersion: string;
27
+ sha256: import("@smithy/types").HashConstructor;
28
28
  urlParser: import("@smithy/types").UrlParser;
29
29
  base64Decoder: import("@smithy/types").Decoder;
30
30
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { SigninClientConfig } from "./SigninClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: SigninClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -32,6 +32,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
32
32
  defaultNamespace?: string;
33
33
  };
34
34
  serviceId: string;
35
+ sha256: import("@smithy/types").HashConstructor;
35
36
  urlParser: import("@smithy/types").UrlParser;
36
37
  utf8Decoder: import("@smithy/types").Decoder;
37
38
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { SSOClientResolvedConfig } from "./SSOClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends import("./commands").GetRoleCredentialsCommandInput, O extends import("./commands").GetRoleCredentialsCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SSOClientResolvedConfig, import("./commands").GetRoleCredentialsCommandInput, import("./commands").GetRoleCredentialsCommandOutput>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SSOClientResolvedConfig, import("./commands").GetRoleCredentialsCommandInput, import("./commands").GetRoleCredentialsCommandOutput>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];