@aws-sdk/nested-clients 3.995.0 → 3.996.1
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/signin/index.js +17 -18
- 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/sso-oidc/index.js +17 -18
- package/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/dist-cjs/submodules/sts/index.js +23 -17
- 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,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
DefaultsMode as __DefaultsMode,
|
|
24
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
25
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import { Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
29
|
+
import {
|
|
30
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
StreamCollector as __StreamCollector,
|
|
40
|
+
UrlParser as __UrlParser,
|
|
41
|
+
} from "@smithy/types";
|
|
42
|
+
import {
|
|
43
|
+
HttpAuthSchemeInputConfig,
|
|
44
|
+
HttpAuthSchemeResolvedConfig,
|
|
45
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
46
|
+
import {
|
|
47
|
+
GetCredentialsForIdentityCommandInput,
|
|
48
|
+
GetCredentialsForIdentityCommandOutput,
|
|
49
|
+
} from "./commands/GetCredentialsForIdentityCommand";
|
|
50
|
+
import { GetIdCommandInput, GetIdCommandOutput } from "./commands/GetIdCommand";
|
|
51
|
+
import {
|
|
52
|
+
ClientInputEndpointParameters,
|
|
53
|
+
ClientResolvedEndpointParameters,
|
|
54
|
+
EndpointParameters,
|
|
55
|
+
} from "./endpoint/EndpointParameters";
|
|
56
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
57
|
+
export { __Client };
|
|
58
|
+
export type ServiceInputTypes =
|
|
59
|
+
| GetCredentialsForIdentityCommandInput
|
|
60
|
+
| GetIdCommandInput;
|
|
61
|
+
export type ServiceOutputTypes =
|
|
62
|
+
| GetCredentialsForIdentityCommandOutput
|
|
63
|
+
| GetIdCommandOutput;
|
|
64
|
+
export interface ClientDefaults
|
|
65
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
66
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
67
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
68
|
+
urlParser?: __UrlParser;
|
|
69
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
70
|
+
streamCollector?: __StreamCollector;
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
base64Encoder?: __Encoder;
|
|
73
|
+
utf8Decoder?: __Decoder;
|
|
74
|
+
utf8Encoder?: __Encoder;
|
|
75
|
+
runtime?: string;
|
|
76
|
+
disableHostPrefix?: boolean;
|
|
77
|
+
serviceId?: string;
|
|
78
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
79
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
80
|
+
region?: string | __Provider<string>;
|
|
81
|
+
profile?: string;
|
|
82
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
83
|
+
maxAttempts?: number | __Provider<number>;
|
|
84
|
+
retryMode?: string | __Provider<string>;
|
|
85
|
+
logger?: __Logger;
|
|
86
|
+
extensions?: RuntimeExtension[];
|
|
87
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
88
|
+
}
|
|
89
|
+
export type CognitoIdentityClientConfigType = Partial<
|
|
90
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
91
|
+
> &
|
|
92
|
+
ClientDefaults &
|
|
93
|
+
UserAgentInputConfig &
|
|
94
|
+
RetryInputConfig &
|
|
95
|
+
RegionInputConfig &
|
|
96
|
+
HostHeaderInputConfig &
|
|
97
|
+
EndpointInputConfig<EndpointParameters> &
|
|
98
|
+
HttpAuthSchemeInputConfig &
|
|
99
|
+
ClientInputEndpointParameters;
|
|
100
|
+
export interface CognitoIdentityClientConfig
|
|
101
|
+
extends CognitoIdentityClientConfigType {}
|
|
102
|
+
export type CognitoIdentityClientResolvedConfigType =
|
|
103
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
104
|
+
Required<ClientDefaults> &
|
|
105
|
+
RuntimeExtensionsConfig &
|
|
106
|
+
UserAgentResolvedConfig &
|
|
107
|
+
RetryResolvedConfig &
|
|
108
|
+
RegionResolvedConfig &
|
|
109
|
+
HostHeaderResolvedConfig &
|
|
110
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
111
|
+
HttpAuthSchemeResolvedConfig &
|
|
112
|
+
ClientResolvedEndpointParameters;
|
|
113
|
+
export interface CognitoIdentityClientResolvedConfig
|
|
114
|
+
extends CognitoIdentityClientResolvedConfigType {}
|
|
115
|
+
export declare class CognitoIdentityClient extends __Client<
|
|
116
|
+
__HttpHandlerOptions,
|
|
117
|
+
ServiceInputTypes,
|
|
118
|
+
ServiceOutputTypes,
|
|
119
|
+
CognitoIdentityClientResolvedConfig
|
|
120
|
+
> {
|
|
121
|
+
readonly config: CognitoIdentityClientResolvedConfig;
|
|
122
|
+
constructor(
|
|
123
|
+
...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>
|
|
124
|
+
);
|
|
125
|
+
destroy(): void;
|
|
126
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
} from "@smithy/types";
|
|
5
|
+
import { HttpAuthScheme } from "@smithy/types";
|
|
6
|
+
import { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
Provider,
|
|
13
|
+
} from "@smithy/types";
|
|
14
|
+
import { CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient";
|
|
15
|
+
export interface CognitoIdentityHttpAuthSchemeParameters
|
|
16
|
+
extends HttpAuthSchemeParameters {
|
|
17
|
+
region?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface CognitoIdentityHttpAuthSchemeParametersProvider
|
|
20
|
+
extends HttpAuthSchemeParametersProvider<
|
|
21
|
+
CognitoIdentityClientResolvedConfig,
|
|
22
|
+
HandlerExecutionContext,
|
|
23
|
+
CognitoIdentityHttpAuthSchemeParameters,
|
|
24
|
+
object
|
|
25
|
+
> {}
|
|
26
|
+
export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: (
|
|
27
|
+
config: CognitoIdentityClientResolvedConfig,
|
|
28
|
+
context: HandlerExecutionContext,
|
|
29
|
+
input: object
|
|
30
|
+
) => Promise<CognitoIdentityHttpAuthSchemeParameters>;
|
|
31
|
+
export interface CognitoIdentityHttpAuthSchemeProvider
|
|
32
|
+
extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {}
|
|
33
|
+
export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
34
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider;
|
|
38
|
+
}
|
|
39
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
42
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
|
+
readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
44
|
+
}
|
|
45
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
47
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
package/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CognitoIdentityClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CognitoIdentityClient";
|
|
8
|
+
import {
|
|
9
|
+
GetCredentialsForIdentityInput,
|
|
10
|
+
GetCredentialsForIdentityResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetCredentialsForIdentityCommandInput
|
|
15
|
+
extends GetCredentialsForIdentityInput {}
|
|
16
|
+
export interface GetCredentialsForIdentityCommandOutput
|
|
17
|
+
extends GetCredentialsForIdentityResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetCredentialsForIdentityCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetCredentialsForIdentityCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetCredentialsForIdentityCommandInput,
|
|
24
|
+
GetCredentialsForIdentityCommandOutput,
|
|
25
|
+
CognitoIdentityClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetCredentialsForIdentityCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetCredentialsForIdentityCommandInput,
|
|
33
|
+
GetCredentialsForIdentityCommandOutput,
|
|
34
|
+
CognitoIdentityClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetCredentialsForIdentityCommand extends GetCredentialsForIdentityCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetCredentialsForIdentityInput;
|
|
44
|
+
output: GetCredentialsForIdentityResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetCredentialsForIdentityCommandInput;
|
|
48
|
+
output: GetCredentialsForIdentityCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CognitoIdentityClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CognitoIdentityClient";
|
|
8
|
+
import { GetIdInput, GetIdResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetIdCommandInput extends GetIdInput {}
|
|
12
|
+
export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {}
|
|
13
|
+
declare const GetIdCommand_base: {
|
|
14
|
+
new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
15
|
+
GetIdCommandInput,
|
|
16
|
+
GetIdCommandOutput,
|
|
17
|
+
CognitoIdentityClientResolvedConfig,
|
|
18
|
+
ServiceInputTypes,
|
|
19
|
+
ServiceOutputTypes
|
|
20
|
+
>;
|
|
21
|
+
new (input: GetIdCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetIdCommandInput,
|
|
23
|
+
GetIdCommandOutput,
|
|
24
|
+
CognitoIdentityClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetIdCommand extends GetIdCommand_base {
|
|
31
|
+
protected static __types: {
|
|
32
|
+
api: {
|
|
33
|
+
input: GetIdInput;
|
|
34
|
+
output: GetIdResponse;
|
|
35
|
+
};
|
|
36
|
+
sdk: {
|
|
37
|
+
input: GetIdCommandInput;
|
|
38
|
+
output: GetIdCommandOutput;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
10
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
23
|
+
defaultSigningName: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
+
options: T & ClientInputEndpointParameters
|
|
27
|
+
) => T & ClientResolvedEndpointParameters;
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
Region?: string | undefined;
|
|
48
|
+
UseDualStack?: boolean | undefined;
|
|
49
|
+
UseFIPS?: boolean | undefined;
|
|
50
|
+
Endpoint?: string | undefined;
|
|
51
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface CognitoIdentityExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./CognitoIdentityClient";
|
|
2
|
+
export * from "./CognitoIdentity";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { CognitoIdentityExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
10
|
+
export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException";
|
package/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
|
+
ServiceException as __ServiceException,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class CognitoIdentityServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
|
|
3
|
+
export declare class ExternalServiceException extends __BaseException {
|
|
4
|
+
readonly name: "ExternalServiceException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<ExternalServiceException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InternalErrorException extends __BaseException {
|
|
11
|
+
readonly name: "InternalErrorException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<InternalErrorException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
|
|
18
|
+
readonly name: "InvalidIdentityPoolConfigurationException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<
|
|
22
|
+
InvalidIdentityPoolConfigurationException,
|
|
23
|
+
__BaseException
|
|
24
|
+
>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
28
|
+
readonly name: "InvalidParameterException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
35
|
+
readonly name: "NotAuthorizedException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
42
|
+
readonly name: "ResourceConflictException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
readonly name: "ResourceNotFoundException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
56
|
+
readonly name: "TooManyRequestsException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
constructor(
|
|
59
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export declare class LimitExceededException extends __BaseException {
|
|
63
|
+
readonly name: "LimitExceededException";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
constructor(
|
|
66
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface GetCredentialsForIdentityInput {
|
|
2
|
+
IdentityId: string | undefined;
|
|
3
|
+
Logins?: Record<string, string> | undefined;
|
|
4
|
+
CustomRoleArn?: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface Credentials {
|
|
7
|
+
AccessKeyId?: string | undefined;
|
|
8
|
+
SecretKey?: string | undefined;
|
|
9
|
+
SessionToken?: string | undefined;
|
|
10
|
+
Expiration?: Date | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface GetCredentialsForIdentityResponse {
|
|
13
|
+
IdentityId?: string | undefined;
|
|
14
|
+
Credentials?: Credentials | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface GetIdInput {
|
|
17
|
+
AccountId?: string | undefined;
|
|
18
|
+
IdentityPoolId: string | undefined;
|
|
19
|
+
Logins?: Record<string, string> | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface GetIdResponse {
|
|
22
|
+
IdentityId?: string | undefined;
|
|
23
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { CognitoIdentityClientConfig } from "./CognitoIdentityClient";
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: CognitoIdentityClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
|
+
>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
defaultUserAgentProvider: (
|
|
12
|
+
config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
13
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
14
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
16
|
+
requestHandler:
|
|
17
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
18
|
+
| RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
22
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
23
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
24
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
25
|
+
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
27
|
+
protocol:
|
|
28
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
29
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
30
|
+
| typeof import("@aws-sdk/core").AwsJson1_1Protocol;
|
|
31
|
+
protocolSettings: {
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
[setting: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
apiVersion: string;
|
|
36
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
37
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
39
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
40
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
41
|
+
disableHostPrefix: boolean;
|
|
42
|
+
serviceId: string;
|
|
43
|
+
profile?: string;
|
|
44
|
+
logger: import("@smithy/types").Logger;
|
|
45
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
46
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
47
|
+
userAgentAppId?:
|
|
48
|
+
| string
|
|
49
|
+
| undefined
|
|
50
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
51
|
+
retryStrategy?:
|
|
52
|
+
| import("@smithy/types").RetryStrategy
|
|
53
|
+
| import("@smithy/types").RetryStrategyV2;
|
|
54
|
+
endpoint?:
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
70
|
+
| undefined;
|
|
71
|
+
endpointProvider: (
|
|
72
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
73
|
+
context?: {
|
|
74
|
+
logger?: import("@smithy/types").Logger;
|
|
75
|
+
}
|
|
76
|
+
) => import("@smithy/types").EndpointV2;
|
|
77
|
+
tls?: boolean;
|
|
78
|
+
serviceConfiguredEndpoint?: never;
|
|
79
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
80
|
+
httpAuthSchemes:
|
|
81
|
+
| import("@smithy/types").HttpAuthScheme[]
|
|
82
|
+
| (
|
|
83
|
+
| {
|
|
84
|
+
schemeId: string;
|
|
85
|
+
identityProvider: (
|
|
86
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
87
|
+
) =>
|
|
88
|
+
| import("@smithy/types").IdentityProvider<
|
|
89
|
+
import("@smithy/types").Identity
|
|
90
|
+
>
|
|
91
|
+
| undefined;
|
|
92
|
+
signer: import("@aws-sdk/core").AwsSdkSigV4Signer;
|
|
93
|
+
}
|
|
94
|
+
| {
|
|
95
|
+
schemeId: string;
|
|
96
|
+
identityProvider: (
|
|
97
|
+
ipc: import("@smithy/types").IdentityProviderConfig
|
|
98
|
+
) =>
|
|
99
|
+
| import("@smithy/types").IdentityProvider<
|
|
100
|
+
import("@smithy/types").Identity
|
|
101
|
+
>
|
|
102
|
+
| (() => Promise<{}>);
|
|
103
|
+
signer: import("@smithy/core").NoAuthSigner;
|
|
104
|
+
}
|
|
105
|
+
)[];
|
|
106
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CognitoIdentityHttpAuthSchemeProvider;
|
|
107
|
+
credentials?:
|
|
108
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
109
|
+
| import("@smithy/types").AwsCredentialIdentityProvider;
|
|
110
|
+
signer?:
|
|
111
|
+
| import("@smithy/types").RequestSigner
|
|
112
|
+
| ((
|
|
113
|
+
authScheme?: import("@smithy/types").AuthScheme
|
|
114
|
+
) => Promise<import("@smithy/types").RequestSigner>);
|
|
115
|
+
signingEscapePath?: boolean;
|
|
116
|
+
systemClockOffset?: number;
|
|
117
|
+
signingRegion?: string;
|
|
118
|
+
signerConstructor?: new (
|
|
119
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
120
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
121
|
+
) => import("@smithy/types").RequestSigner;
|
|
122
|
+
};
|