@aws-sdk/nested-clients 3.997.6 → 3.997.7
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.
- package/dist-cjs/submodules/cognito-identity/index.js +520 -52
- package/dist-cjs/submodules/signin/index.js +454 -49
- package/dist-cjs/submodules/sso/index.js +399 -49
- package/dist-cjs/submodules/sso-oidc/index.js +593 -49
- package/dist-cjs/submodules/sts/index.js +835 -55
- package/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +5 -5
- package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
- package/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
- package/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
- package/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
- package/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +4 -6
- package/dist-es/submodules/cognito-identity/runtimeConfig.js +4 -8
- package/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
- package/dist-es/submodules/cognito-identity/runtimeExtensions.js +2 -2
- package/dist-es/submodules/signin/Signin.js +1 -1
- package/dist-es/submodules/signin/SigninClient.js +5 -5
- package/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
- package/dist-es/submodules/signin/endpoint/bdd.js +1 -1
- package/dist-es/submodules/signin/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
- package/dist-es/submodules/signin/runtimeConfig.browser.js +4 -6
- package/dist-es/submodules/signin/runtimeConfig.js +4 -8
- package/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
- package/dist-es/submodules/signin/runtimeExtensions.js +2 -2
- package/dist-es/submodules/sso/SSO.js +1 -1
- package/dist-es/submodules/sso/SSOClient.js +5 -5
- package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
- package/dist-es/submodules/sso/endpoint/bdd.js +1 -1
- package/dist-es/submodules/sso/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
- package/dist-es/submodules/sso/runtimeConfig.browser.js +4 -6
- package/dist-es/submodules/sso/runtimeConfig.js +4 -8
- package/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
- package/dist-es/submodules/sso/runtimeExtensions.js +2 -2
- package/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
- package/dist-es/submodules/sso-oidc/SSOOIDCClient.js +5 -5
- package/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
- package/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
- package/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
- package/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +4 -6
- package/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -8
- package/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
- package/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -2
- package/dist-es/submodules/sts/STS.js +1 -1
- package/dist-es/submodules/sts/STSClient.js +5 -5
- package/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
- package/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
- package/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +0 -5
- package/dist-es/submodules/sts/endpoint/bdd.js +1 -1
- package/dist-es/submodules/sts/endpoint/endpointResolver.js +1 -1
- package/dist-es/submodules/sts/models/STSServiceException.js +1 -1
- package/dist-es/submodules/sts/runtimeConfig.browser.js +4 -6
- package/dist-es/submodules/sts/runtimeConfig.js +4 -8
- package/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
- package/dist-es/submodules/sts/runtimeExtensions.js +2 -2
- package/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +5 -5
- package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
- package/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
- package/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
- package/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
- package/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
- package/dist-types/submodules/cognito-identity/models/errors.d.ts +1 -1
- package/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
- package/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +4 -4
- package/dist-types/submodules/signin/SigninClient.d.ts +5 -5
- package/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
- package/dist-types/submodules/signin/endpoint/bdd.d.ts +1 -1
- package/dist-types/submodules/signin/extensionConfiguration.d.ts +1 -1
- package/dist-types/submodules/signin/models/SigninServiceException.d.ts +1 -1
- package/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/dist-types/submodules/signin/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/submodules/signin/runtimeConfig.d.ts +3 -3
- package/dist-types/submodules/signin/runtimeConfig.native.d.ts +4 -4
- package/dist-types/submodules/sso/SSOClient.d.ts +5 -5
- package/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
- package/dist-types/submodules/sso/endpoint/bdd.d.ts +1 -1
- package/dist-types/submodules/sso/extensionConfiguration.d.ts +1 -1
- package/dist-types/submodules/sso/models/SSOServiceException.d.ts +1 -1
- package/dist-types/submodules/sso/models/errors.d.ts +1 -1
- package/dist-types/submodules/sso/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/submodules/sso/runtimeConfig.d.ts +3 -3
- package/dist-types/submodules/sso/runtimeConfig.native.d.ts +4 -4
- package/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +5 -5
- package/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
- package/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
- package/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -4
- package/dist-types/submodules/sts/STSClient.d.ts +5 -5
- package/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -13
- package/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
- package/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +0 -9
- package/dist-types/submodules/sts/endpoint/bdd.d.ts +1 -1
- package/dist-types/submodules/sts/extensionConfiguration.d.ts +1 -1
- package/dist-types/submodules/sts/models/STSServiceException.d.ts +1 -1
- package/dist-types/submodules/sts/models/errors.d.ts +1 -1
- package/dist-types/submodules/sts/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/submodules/sts/runtimeConfig.d.ts +3 -3
- package/dist-types/submodules/sts/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +8 -14
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +8 -14
- package/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/models/SigninServiceException.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +8 -14
- package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +8 -14
- package/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/models/SSOOIDCServiceException.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/submodules/sts/STSClient.d.ts +8 -14
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -12
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +0 -3
- package/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/models/STSServiceException.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +5 -5
- package/package.json +13 -34
- package/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
- package/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
- package/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
- package/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
- package/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
- package/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
- package/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
- package/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
- package/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
- package/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
- package/dist-cjs/submodules/signin/models/errors.js +0 -64
- package/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
- package/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
- package/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
- package/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
- package/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
- package/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
- package/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
- package/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
- package/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
- package/dist-cjs/submodules/sso/models/errors.js +0 -56
- package/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
- package/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
- package/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
- package/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
- package/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
- package/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
- package/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
- package/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
- package/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
- package/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
- package/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
- package/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
- package/dist-cjs/submodules/sts/STSClient.js +0 -55
- package/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
- package/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
- package/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
- package/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
- package/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
- package/dist-cjs/submodules/sts/models/errors.js +0 -96
- package/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
- package/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
- package/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
- package/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
- package/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
- package/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
|
@@ -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 {
|
|
4
|
-
import {
|
|
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`");
|
|
@@ -126,14 +125,10 @@ export const defaultSTSHttpAuthSchemeProvider = createEndpointRuleSetHttpAuthSch
|
|
|
126
125
|
"aws.auth#sigv4a": createAwsAuthSigv4aHttpAuthOption,
|
|
127
126
|
"smithy.api#noAuth": createSmithyApiNoAuthHttpAuthOption,
|
|
128
127
|
});
|
|
129
|
-
export const resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
130
|
-
stsClientCtor: STSClient,
|
|
131
|
-
});
|
|
132
128
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
133
|
-
const config_0 =
|
|
134
|
-
const config_1 =
|
|
135
|
-
|
|
136
|
-
return Object.assign(config_2, {
|
|
129
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
130
|
+
const config_1 = resolveAwsSdkSigV4AConfig(config_0);
|
|
131
|
+
return Object.assign(config_1, {
|
|
137
132
|
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
138
133
|
});
|
|
139
134
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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 };
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
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 {
|
|
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);
|
|
@@ -2,16 +2,12 @@ import packageInfo from "../../../package.json";
|
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
3
|
import { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } 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
5
|
import { NoAuthSigner } from "@smithy/core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
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";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
14
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
15
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
12
|
export const getRuntimeConfig = (config) => {
|
|
17
13
|
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/
|
|
6
|
-
import { parseUrl } from "@smithy/
|
|
7
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
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 {
|
|
3
|
-
import {
|
|
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
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
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 { 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 { GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput } from "./commands/GetCredentialsForIdentityCommand";
|
package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetCredentialsForIdentityInput, GetCredentialsForIdentityResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetCredentialsForIdentityCommandInput extends GetCredentialsFor
|
|
|
22
22
|
export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsForIdentityResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetCredentialsForIdentityCommand_base: {
|
|
25
|
-
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
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
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Returns credentials for the provided identity ID. Any provided logins will be
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetIdInput, GetIdResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetIdCommandInput extends GetIdInput {
|
|
|
22
22
|
export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetIdCommand_base: {
|
|
25
|
-
new (input: GetIdCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetIdCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
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
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Generates (or retrieves) IdentityID. Supplying multiple logins will create an
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
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/
|
|
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
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>An exception thrown when a dependent service such as Facebook or Twitter is not
|
|
@@ -5,19 +5,19 @@ import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
region: string | import("@smithy/types").Provider<any>;
|
|
13
|
-
requestHandler: import("@smithy/
|
|
13
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
14
14
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
18
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
cacheMiddleware?: boolean | undefined;
|
|
20
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
20
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
21
21
|
protocolSettings: {
|
|
22
22
|
defaultNamespace?: string;
|
|
23
23
|
[setting: string]: unknown;
|
|
@@ -46,7 +46,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
46
46
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
47
47
|
schemeId: string;
|
|
48
48
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
49
|
-
signer: import("@aws-sdk/core/
|
|
49
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
50
50
|
} | {
|
|
51
51
|
schemeId: string;
|
|
52
52
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
@@ -5,13 +5,13 @@ import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -5,9 +5,9 @@ import type { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
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
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_1Protocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
31
31
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
defaultsMode: import("@smithy/
|
|
34
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
35
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
36
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
37
37
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -45,7 +45,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityClientConfig) =>
|
|
|
45
45
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
46
46
|
schemeId: string;
|
|
47
47
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
48
|
-
signer: import("@aws-sdk/core/
|
|
48
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
49
49
|
} | {
|
|
50
50
|
schemeId: string;
|
|
51
51
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
@@ -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
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
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 { CreateOAuth2TokenCommandInput, CreateOAuth2TokenCommandOutput } from "./commands/CreateOAuth2TokenCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CreateOAuth2TokenRequest, CreateOAuth2TokenResponse } from "../models/models_0";
|
|
4
4
|
import type { SigninClientResolvedConfig } from "../SigninClient";
|
|
@@ -22,9 +22,11 @@ export interface CreateOAuth2TokenCommandInput extends CreateOAuth2TokenRequest
|
|
|
22
22
|
export interface CreateOAuth2TokenCommandOutput extends CreateOAuth2TokenResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateOAuth2TokenCommand_base: {
|
|
25
|
-
new (input: CreateOAuth2TokenCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateOAuth2TokenCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
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
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* CreateOAuth2Token API
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
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/
|
|
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
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import type { OAuth2ErrorCode } from "./enums";
|
|
3
3
|
import { SigninServiceException as __BaseException } from "./SigninServiceException";
|
|
4
4
|
/**
|
|
@@ -5,20 +5,20 @@ import type { SigninClientConfig } from "./SigninClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: import("@smithy/
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
22
22
|
protocolSettings: {
|
|
23
23
|
defaultNamespace?: string;
|
|
24
24
|
[setting: string]: unknown;
|
|
@@ -47,7 +47,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
47
47
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
48
48
|
schemeId: string;
|
|
49
49
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
50
|
-
signer: import("@aws-sdk/core/
|
|
50
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
51
51
|
} | {
|
|
52
52
|
schemeId: string;
|
|
53
53
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
@@ -5,13 +5,13 @@ import type { SigninClientConfig } from "./SigninClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
14
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -5,9 +5,9 @@ import type { SigninClientConfig } from "./SigninClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
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
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/
|
|
35
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -46,7 +46,7 @@ export declare const getRuntimeConfig: (config: SigninClientConfig) => {
|
|
|
46
46
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
47
47
|
schemeId: string;
|
|
48
48
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
49
|
-
signer: import("@aws-sdk/core/
|
|
49
|
+
signer: import("@aws-sdk/core/httpAuthSchemes").AwsSdkSigV4Signer;
|
|
50
50
|
} | {
|
|
51
51
|
schemeId: string;
|
|
52
52
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | (() => Promise<{}>);
|
|
@@ -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
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
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 { 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 { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
|
|
4
4
|
import type { SSOClientResolvedConfig } from "../SSOClient";
|
|
@@ -22,9 +22,11 @@ export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsReques
|
|
|
22
22
|
export interface GetRoleCredentialsCommandOutput extends GetRoleCredentialsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetRoleCredentialsCommand_base: {
|
|
25
|
-
new (input: GetRoleCredentialsCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetRoleCredentialsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput>;
|
|
26
|
+
new (input: GetRoleCredentialsCommandInput): import("@smithy/core/client").CommandImpl<GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput, SSOClientResolvedConfig, GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Returns the STS short-term credentials for a given role name that is assigned to the
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
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/
|
|
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
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SSOServiceException as __BaseException } from "./SSOServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Indicates that a problem occurred with the input to the request. For example, a required
|