@aws-sdk/nested-clients 3.996.0 → 3.996.2
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/cognito-identity.d.ts +7 -0
- package/cognito-identity.js +5 -0
- package/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +38 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.js +53 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/dist-cjs/submodules/sso/index.js +160 -0
- package/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/dist-es/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +16 -0
- package/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +16 -0
- package/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/dist-es/submodules/cognito-identity/extensionConfiguration.js +1 -0
- package/dist-es/submodules/cognito-identity/index.js +7 -0
- package/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/dist-es/submodules/cognito-identity/models/models_0.js +1 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +33 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.js +48 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/dist-es/submodules/cognito-identity/runtimeExtensions.js +9 -0
- package/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/dist-es/submodules/signin/Signin.js +1 -1
- package/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/dist-es/submodules/sso/SSO.js +9 -0
- package/dist-es/submodules/sso/SSOClient.js +50 -0
- package/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +50 -0
- package/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +16 -0
- package/dist-es/submodules/sso/commands/index.js +1 -0
- package/dist-es/submodules/sso/endpoint/EndpointParameters.js +13 -0
- package/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/dist-es/submodules/sso/extensionConfiguration.js +1 -0
- package/dist-es/submodules/sso/index.js +7 -0
- package/dist-es/submodules/sso/models/SSOServiceException.js +8 -0
- package/dist-es/submodules/sso/models/errors.js +49 -0
- package/dist-es/submodules/sso/models/models_0.js +1 -0
- package/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/dist-es/submodules/sso/runtimeConfig.shared.js +45 -0
- package/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/dist-types/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/dist-types/submodules/sso/SSOClient.d.ts +198 -0
- package/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +97 -0
- package/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/dist-types/submodules/sso/extensionConfiguration.d.ts +9 -0
- package/dist-types/submodules/sso/index.d.ts +30 -0
- package/dist-types/submodules/sso/models/SSOServiceException.d.ts +14 -0
- package/dist-types/submodules/sso/models/errors.d.ts +53 -0
- package/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/dist-types/submodules/sso/runtimeConfig.browser.d.ts +62 -0
- package/dist-types/submodules/sso/runtimeConfig.d.ts +62 -0
- package/dist-types/submodules/sso/runtimeConfig.native.d.ts +61 -0
- package/dist-types/submodules/sso/runtimeConfig.shared.d.ts +38 -0
- package/dist-types/submodules/sso/runtimeExtensions.d.ts +17 -0
- package/dist-types/submodules/sso/schemas/schemas_0.d.ts +17 -0
- package/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +117 -0
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +47 -0
- package/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/submodules/sso/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso/index.d.ts +10 -0
- package/dist-types/ts3.4/submodules/sso/models/SSOServiceException.d.ts +9 -0
- package/dist-types/ts3.4/submodules/sso/models/errors.d.ts +30 -0
- package/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +120 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +115 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +124 -0
- package/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +58 -0
- package/dist-types/ts3.4/submodules/sso/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/package.json +54 -36
- package/sso.d.ts +7 -0
- package/sso.js +5 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { SSOClientConfig } from "./SSOClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (
|
|
11
|
+
config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
12
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
+
requestHandler:
|
|
16
|
+
| RequestHandler
|
|
17
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
18
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
|
+
cacheMiddleware?: boolean | undefined;
|
|
25
|
+
protocol:
|
|
26
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
27
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
28
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
29
|
+
protocolSettings: {
|
|
30
|
+
defaultNamespace?: string;
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
apiVersion: string;
|
|
34
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
39
|
+
disableHostPrefix: boolean;
|
|
40
|
+
serviceId: string;
|
|
41
|
+
profile?: string;
|
|
42
|
+
logger: import("@smithy/types").Logger;
|
|
43
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
44
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
45
|
+
retryStrategy?:
|
|
46
|
+
| import("@smithy/types").RetryStrategy
|
|
47
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
endpoint?:
|
|
49
|
+
| ((
|
|
50
|
+
| string
|
|
51
|
+
| import("@smithy/types").Endpoint
|
|
52
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
53
|
+
| import("@smithy/types").EndpointV2
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
55
|
+
) &
|
|
56
|
+
(
|
|
57
|
+
| string
|
|
58
|
+
| import("@smithy/types").Provider<string>
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
))
|
|
64
|
+
| undefined;
|
|
65
|
+
endpointProvider: (
|
|
66
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
67
|
+
context?: {
|
|
68
|
+
logger?: import("@smithy/types").Logger;
|
|
69
|
+
}
|
|
70
|
+
) => import("@smithy/types").EndpointV2;
|
|
71
|
+
tls?: boolean;
|
|
72
|
+
serviceConfiguredEndpoint?: never;
|
|
73
|
+
httpAuthSchemes:
|
|
74
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
75
|
+
| (
|
|
76
|
+
| {
|
|
77
|
+
schemeId: string;
|
|
78
|
+
identityProvider: (
|
|
79
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
80
|
+
) =>
|
|
81
|
+
| import("@smithy/types").IdentityProvider<
|
|
82
|
+
import("@smithy/types").Identity
|
|
83
|
+
>
|
|
84
|
+
| undefined;
|
|
85
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
86
|
+
}
|
|
87
|
+
| {
|
|
88
|
+
schemeId: string;
|
|
89
|
+
identityProvider: (
|
|
90
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
91
|
+
) =>
|
|
92
|
+
| import("@smithy/types").IdentityProvider<
|
|
93
|
+
import("@smithy/types").Identity
|
|
94
|
+
>
|
|
95
|
+
| (() => Promise<{}>);
|
|
96
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
97
|
+
}
|
|
98
|
+
)[];
|
|
99
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
100
|
+
credentials?:
|
|
101
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
102
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
103
|
+
signer?:
|
|
104
|
+
| import("@smithy/types").RequestSigner
|
|
105
|
+
| ((
|
|
106
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
107
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
108
|
+
signingEscapePath?: boolean;
|
|
109
|
+
systemClockOffset?: number;
|
|
110
|
+
signingRegion?: string;
|
|
111
|
+
signerConstructor?: new (
|
|
112
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
113
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
114
|
+
) => import("@smithy/types").RequestSigner;
|
|
115
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { SSOClientConfig } from "./SSOClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
32
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
34
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
35
|
+
profile?: string;
|
|
36
|
+
defaultUserAgentProvider: (
|
|
37
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
38
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
40
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
|
+
logger: import("@smithy/types").Logger;
|
|
42
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
defaultsMode:
|
|
44
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
45
|
+
| import("@smithy/types").Provider<
|
|
46
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
47
|
+
>;
|
|
48
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
49
|
+
userAgentAppId?:
|
|
50
|
+
| string
|
|
51
|
+
| undefined
|
|
52
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?:
|
|
54
|
+
| import("@smithy/types").RetryStrategy
|
|
55
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
56
|
+
endpoint?:
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
72
|
+
| undefined;
|
|
73
|
+
endpointProvider: (
|
|
74
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
75
|
+
context?: {
|
|
76
|
+
logger?: import("@smithy/types").Logger;
|
|
77
|
+
}
|
|
78
|
+
) => import("@smithy/types").EndpointV2;
|
|
79
|
+
tls?: boolean;
|
|
80
|
+
serviceConfiguredEndpoint?: never;
|
|
81
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
82
|
+
httpAuthSchemes:
|
|
83
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
84
|
+
| (
|
|
85
|
+
| {
|
|
86
|
+
schemeId: string;
|
|
87
|
+
identityProvider: (
|
|
88
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
89
|
+
) =>
|
|
90
|
+
| import("@smithy/types").IdentityProvider<
|
|
91
|
+
import("@smithy/types").Identity
|
|
92
|
+
>
|
|
93
|
+
| undefined;
|
|
94
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
95
|
+
}
|
|
96
|
+
| {
|
|
97
|
+
schemeId: string;
|
|
98
|
+
identityProvider: (
|
|
99
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
100
|
+
) =>
|
|
101
|
+
| import("@smithy/types").IdentityProvider<
|
|
102
|
+
import("@smithy/types").Identity
|
|
103
|
+
>
|
|
104
|
+
| (() => Promise<{}>);
|
|
105
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
106
|
+
}
|
|
107
|
+
)[];
|
|
108
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
109
|
+
credentials?:
|
|
110
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
111
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
112
|
+
signer?:
|
|
113
|
+
| import("@smithy/types").RequestSigner
|
|
114
|
+
| ((
|
|
115
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
116
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
117
|
+
signingEscapePath?: boolean;
|
|
118
|
+
systemClockOffset?: number;
|
|
119
|
+
signingRegion?: string;
|
|
120
|
+
signerConstructor?: new (
|
|
121
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
122
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
123
|
+
) => import("@smithy/types").RequestSigner;
|
|
124
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { NoAuthSigner } from "@smithy/core";
|
|
4
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
5
|
+
import { SSOClientConfig } from "./SSOClient";
|
|
6
|
+
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
9
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
10
|
+
disableHostPrefix: boolean;
|
|
11
|
+
endpointProvider: (
|
|
12
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
13
|
+
context?: {
|
|
14
|
+
logger?: import("@smithy/types").Logger;
|
|
15
|
+
}
|
|
16
|
+
) => import("@smithy/types").EndpointV2;
|
|
17
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
18
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SSOHttpAuthSchemeProvider;
|
|
19
|
+
httpAuthSchemes:
|
|
20
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
21
|
+
| (
|
|
22
|
+
| {
|
|
23
|
+
schemeId: string;
|
|
24
|
+
identityProvider: (
|
|
25
|
+
ipc: IdentityProviderConfig
|
|
26
|
+
) =>
|
|
27
|
+
| import("@smithy/types").IdentityProvider<
|
|
28
|
+
import("@smithy/types").Identity
|
|
29
|
+
>
|
|
30
|
+
| undefined;
|
|
31
|
+
signer: AwsSdkSigV4Signer;
|
|
32
|
+
}
|
|
33
|
+
| {
|
|
34
|
+
schemeId: string;
|
|
35
|
+
identityProvider: (
|
|
36
|
+
ipc: IdentityProviderConfig
|
|
37
|
+
) =>
|
|
38
|
+
| import("@smithy/types").IdentityProvider<
|
|
39
|
+
import("@smithy/types").Identity
|
|
40
|
+
>
|
|
41
|
+
| (() => Promise<{}>);
|
|
42
|
+
signer: NoAuthSigner;
|
|
43
|
+
}
|
|
44
|
+
)[];
|
|
45
|
+
logger: import("@smithy/types").Logger;
|
|
46
|
+
protocol:
|
|
47
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
48
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
49
|
+
| typeof AwsRestJsonProtocol;
|
|
50
|
+
protocolSettings: {
|
|
51
|
+
[setting: string]: unknown;
|
|
52
|
+
defaultNamespace?: string;
|
|
53
|
+
};
|
|
54
|
+
serviceId: string;
|
|
55
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
56
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
57
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
58
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: SSOExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export declare var SSOServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
9
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
10
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
11
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
12
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
13
|
+
export declare var GetRoleCredentialsRequest$: StaticStructureSchema;
|
|
14
|
+
export declare var GetRoleCredentialsResponse$: StaticStructureSchema;
|
|
15
|
+
export declare var RoleCredentials$: StaticStructureSchema;
|
|
16
|
+
export declare var GetRoleCredentials$: StaticOperationSchema;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
HttpAuthScheme,
|
|
3
2
|
AwsCredentialIdentity,
|
|
4
3
|
AwsCredentialIdentityProvider,
|
|
5
4
|
} from "@smithy/types";
|
|
5
|
+
import { HttpAuthScheme } from "@smithy/types";
|
|
6
6
|
import { SSOOIDCHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
HttpAuthScheme,
|
|
3
2
|
AwsCredentialIdentity,
|
|
4
3
|
AwsCredentialIdentityProvider,
|
|
5
4
|
} from "@smithy/types";
|
|
5
|
+
import { HttpAuthScheme } from "@smithy/types";
|
|
6
6
|
import { STSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.2",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,41 +29,41 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
32
|
-
"@aws-sdk/core": "^3.973.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
38
|
-
"@aws-sdk/types": "^3.973.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.996.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
42
|
-
"@smithy/config-resolver": "^4.4.
|
|
43
|
-
"@smithy/core": "^3.23.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
45
|
-
"@smithy/hash-node": "^4.2.
|
|
46
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
47
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
48
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
50
|
-
"@smithy/middleware-serde": "^4.2.
|
|
51
|
-
"@smithy/middleware-stack": "^4.2.
|
|
52
|
-
"@smithy/node-config-provider": "^4.3.
|
|
53
|
-
"@smithy/node-http-handler": "^4.4.
|
|
54
|
-
"@smithy/protocol-http": "^5.3.
|
|
55
|
-
"@smithy/smithy-client": "^4.
|
|
56
|
-
"@smithy/types": "^4.
|
|
57
|
-
"@smithy/url-parser": "^4.2.
|
|
58
|
-
"@smithy/util-base64": "^4.3.
|
|
59
|
-
"@smithy/util-body-length-browser": "^4.2.
|
|
60
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
63
|
-
"@smithy/util-endpoints": "^3.
|
|
64
|
-
"@smithy/util-middleware": "^4.2.
|
|
65
|
-
"@smithy/util-retry": "^4.2.
|
|
66
|
-
"@smithy/util-utf8": "^4.2.
|
|
32
|
+
"@aws-sdk/core": "^3.973.14",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "^3.972.5",
|
|
34
|
+
"@aws-sdk/middleware-logger": "^3.972.5",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.5",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "^3.972.14",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "^3.972.5",
|
|
38
|
+
"@aws-sdk/types": "^3.973.3",
|
|
39
|
+
"@aws-sdk/util-endpoints": "^3.996.2",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.5",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.972.13",
|
|
42
|
+
"@smithy/config-resolver": "^4.4.9",
|
|
43
|
+
"@smithy/core": "^3.23.6",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.3.11",
|
|
45
|
+
"@smithy/hash-node": "^4.2.10",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.2.10",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.2.10",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.4.20",
|
|
49
|
+
"@smithy/middleware-retry": "^4.4.37",
|
|
50
|
+
"@smithy/middleware-serde": "^4.2.11",
|
|
51
|
+
"@smithy/middleware-stack": "^4.2.10",
|
|
52
|
+
"@smithy/node-config-provider": "^4.3.10",
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.12",
|
|
54
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
55
|
+
"@smithy/smithy-client": "^4.12.0",
|
|
56
|
+
"@smithy/types": "^4.13.0",
|
|
57
|
+
"@smithy/url-parser": "^4.2.10",
|
|
58
|
+
"@smithy/util-base64": "^4.3.1",
|
|
59
|
+
"@smithy/util-body-length-browser": "^4.2.1",
|
|
60
|
+
"@smithy/util-body-length-node": "^4.2.2",
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.3.36",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.2.39",
|
|
63
|
+
"@smithy/util-endpoints": "^3.3.1",
|
|
64
|
+
"@smithy/util-middleware": "^4.2.10",
|
|
65
|
+
"@smithy/util-retry": "^4.2.10",
|
|
66
|
+
"@smithy/util-utf8": "^4.2.1",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
@@ -80,10 +80,14 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"files": [
|
|
83
|
+
"./cognito-identity.d.ts",
|
|
84
|
+
"./cognito-identity.js",
|
|
83
85
|
"./signin.d.ts",
|
|
84
86
|
"./signin.js",
|
|
85
87
|
"./sso-oidc.d.ts",
|
|
86
88
|
"./sso-oidc.js",
|
|
89
|
+
"./sso.d.ts",
|
|
90
|
+
"./sso.js",
|
|
87
91
|
"./sts.d.ts",
|
|
88
92
|
"./sts.js",
|
|
89
93
|
"dist-*/**"
|
|
@@ -122,6 +126,20 @@
|
|
|
122
126
|
"node": "./dist-cjs/submodules/signin/index.js",
|
|
123
127
|
"import": "./dist-es/submodules/signin/index.js",
|
|
124
128
|
"require": "./dist-cjs/submodules/signin/index.js"
|
|
129
|
+
},
|
|
130
|
+
"./cognito-identity": {
|
|
131
|
+
"types": "./dist-types/submodules/cognito-identity/index.d.ts",
|
|
132
|
+
"module": "./dist-es/submodules/cognito-identity/index.js",
|
|
133
|
+
"node": "./dist-cjs/submodules/cognito-identity/index.js",
|
|
134
|
+
"import": "./dist-es/submodules/cognito-identity/index.js",
|
|
135
|
+
"require": "./dist-cjs/submodules/cognito-identity/index.js"
|
|
136
|
+
},
|
|
137
|
+
"./sso": {
|
|
138
|
+
"types": "./dist-types/submodules/sso/index.d.ts",
|
|
139
|
+
"module": "./dist-es/submodules/sso/index.js",
|
|
140
|
+
"node": "./dist-cjs/submodules/sso/index.js",
|
|
141
|
+
"import": "./dist-es/submodules/sso/index.js",
|
|
142
|
+
"require": "./dist-cjs/submodules/sso/index.js"
|
|
125
143
|
}
|
|
126
144
|
}
|
|
127
145
|
}
|
package/sso.d.ts
ADDED